Keep real-time scanning tools active to intercept malicious scripts before they execute.