Key points
- The attackers injected code into Optimizely Experimentation’s “Project JavaScript” field — custom code that runs on every page; the rest of each snippet was untouched.
- The tampered file was still served from Optimizely’s own CDN, carrying Optimizely’s own certificate — browsers and users had no reason to suspect it.
- The payload was rebuilt 26 times during the day: swapping victims’ crypto wallet addresses for the attackers’, skimming card numbers typed into the site’s own payment forms, stealing cookies and screenshots.
- On older iPhones and iPads, the malware also pushed “Coruna” and “DarkSword” exploit kits — zero-click exploits that take full control of the device without the user tapping anything.
- The first injection was seen at 04:21 UTC on Nov 16; all infected files were cleaned by 23:11 UTC the same day. The attackers’ wallet received about $7,040 in crypto before being drained on the morning of Nov 17.
The flaw was in Optimizely’s account sign-up flow, according to the company’s statement to Gizmodo and StepSecurity’s analysis. Optimizely confirmed the incident on Nov 17 and published a full report (PDF) on Nov 18: it had patched the flaw, removed the malware from the affected projects, ended login sessions, revoked tokens and reset access for the accounts involved. The company says it notified all customers using Optimizely Web. The attackers’ identity is still unknown — one of their wallets has been active since March 2026, and Report URI believes the same actor may be behind an earlier injection via a third-party script.
The biggest lesson lies in an old technology few sites use properly: Content Security Policy (CSP) — rules telling the browser which domains content may be loaded from. According to Report URI, only 24 of the 178 affected sites (15%) had a CSP that fully blocked the payload; 68 had no CSP at all, and 50 had a CSP that still let the payload run. Across the web, only about 10% of the biggest sites have an effective CSP. As researcher Scott Helme put it: “Trusted JavaScript doesn’t always stay trustworthy” — a site can be compromised through third-party software without its own code or infrastructure ever being touched.

The money stolen — about $7,500 in crypto by Report URI’s estimate — is small compared with the scale of the incident, but how many card numbers were taken is unknown. More worrying is the attack model: instead of hacking each site, the attackers needed only one flaw in a provider that hundreds of sites trust. Experts warn the same model will repeat with AI tools — today an A/B testing script, tomorrow the tool definitions of a customer-support agent.
Why it matters
This is one of the largest supply-chain attacks via JavaScript ever recorded: 178 major brands were never hacked directly, yet their visitors were served malware for a full day — because the code ran the moment the page loaded, without any click or consent. For users, the most practical defence remains an ad/script blocker; for site owners, the answer is a strict CSP — which 85% of the affected sites did not have.

