Optimizely Supply Chain Attack: 188 Poisoned Scripts, One CDN
On Monday, visitors to the BBC, CNN, Zoom, HSBC, Salesforce, IKEA and GitLab received a little extra JavaScript with their page loads. Not from a compromised origin, not from a poisoned DNS record — but from Optimizely's own content delivery network, wearing the vendor's certificate and riding its reputation. The Register counted at least 178 affected organizations caught in the blast radius of what researchers have dubbed OPTIMJACK, and the final tally is still moving.
We have argued for years that the hard part of any attack is not bandwidth — it is getting your code to execute somewhere trusted. This week, somebody proved it for us, and they did it through a marketing tool.
One vendor, 188 scripts, and a very familiar failure mode
Scott Helme of Report URI examined 1,611 Optimizely scripts and found 188 carrying malicious code, including the ones loaded by Optimizely's own website and login portal. The attackers abused a feature that lets customers inject custom JavaScript into their experiments, then found a way through the sign-up process to get their own project into the pipeline. Everything else looked legitimate: same CDN, same cache headers, same origin. Optimizely patched the flaw, revoked tokens and notified customers — no CVE, no coordinated disclosure, just a very long Monday.
The payload was revised several times during the day. First a clipboard hijack that swapped copied wallet addresses for attacker-controlled ones. Then a card skimmer harvesting numbers, expiry dates and security codes from payment forms, though fields inside a third-party payment iframe stayed out of reach. Later, exploit kits aimed at older iOS versions on iPhone and iPad. Helme traced roughly $7,000 in crypto to the operators' wallets by the evening; the card data is worth considerably more.

What this hands a DDoS operator
Consider what a compromised experimentation platform actually provides: a script tag on hundreds of high-traffic domains, served over TLS from a vendor CDN, cached at the edge and allowlisted by every content security policy written before this week. That is payload hosting and a command-and-control channel that survives takedowns, because the operator never has to host a thing. No cloudflare bypass, no header smuggling — just a vendor's own infrastructure, doing exactly what it was paid to do. For anyone running a ddos service or an ip stresser, that is the dream: capacity you do not own and cannot be seized.
It also hands over a target list. The same telemetry that tells a marketer which variant converts tells an operator which properties carry the most traffic and the least tolerance for downtime. When a botnet is pointed at those names, reputation buys nothing. A layer 7 assault built on browser emulation, headless browser fleets, JA3 and HTTP/2 fingerprint spoofing and user-agent rotation looks like ordinary traffic until the origin folds. Whether the pressure arrives as a UDP flood at line rate, an http flood against a search endpoint, or an HTTP/2 Rapid Reset burst, the ddos protection stack has to inspect behaviour rather than packets.

Treat vendor scripts as untrusted code
Any third-party script is remote code execution in your users' browsers and deserves the same scrutiny as a dependency in your build. Subresource integrity where the vendor supports it, a strict CSP with hash pinning, and alerting on unexpected DOM mutation or new outbound endpoints will catch the next OPTIMJACK in minutes rather than hours. Most of the 178 found out from a tweet.
Availability deserves the same paranoia. If a vendor can inject code into your pages, your origin is already compromised in ways no scrubbing centre can repair. Layer the rest anyway: anycast absorption, per-fingerprint rate limiting, and challenge pages that do not leak timing. We have written before about what a properly defended edge looks like — the records we hold were set against targets that had all of it.

Supply chain attacks are not a new class of failure. They are the same failure, repeated at a scale that happens to include the BBC: one vendor, one feature, one sign-up form, and 178 brands serving somebody else's JavaScript. The organisations that walk away intact will be the ones that assumed the script tag was hostile from the start.
If you want to know how your own edge behaves under pressure, our free stress test is the cheapest audit you will run this quarter. No sales call, no slide deck — just traffic, and an honest report on what fell over first.