We found four malicious JavaScript operations involving eight payloads, including scripts that manipulated affiliate attribution, loaded code remotely, or suppressed monitoring on mobile devices.
The detail I keep coming back to is how much these behaviors depended on context. A script might act only for a certain device or under certain conditions, so a one-time page check could miss it. As the article puts it:
“Pages load, products appear, and checkout works — yet the browser may be quietly doing something the site owner never authorized.”
Purpose-built machine-learning models matter for identifying malicious JavaScript like the scripts described here. If your zone is eligible, consider using Malicious Script Detection; it requires Client-Side Security Advanced.