Home / News / Optimizely Attack

SECURITY

178 of the world's biggest websites served malware on Monday — through a tool they trusted

On Nov 16, a breach at Optimizely put card-skimming, crypto-stealing code on 178 organizations' websites, including the BBC, CNN, Zoom and HSBC. The sites themselves were never hacked.

A hand typing on a laptop showing green code on a dark screen
Photo: Sora Shimazaki / Pexels

On Monday, November 16, visitors to some of the most visited websites in the world were served malware — and the sites themselves were never hacked. The code arrived through Optimizely Web, the A/B testing tool those sites pay to run experiments on their pages. One supplier’s breach became 178 organizations’ problem in a single morning, and it is the cleanest demonstration yet of a risk every business with a website already carries: your site loads other companies’ code, and you inherit their security.

What happened

Security firm Report URI, which monitors websites for exactly this kind of script tampering, checked 1,611 Optimizely snippets and found 188 of them infected, belonging to 178 organisations. Its published list includes Zoom, the BBC, CNN, Salesforce, GitLab, IKEA, HSBC, Equifax, Air France-KLM, Ledger and Peacock. The attacker had written their own code into the "Project JavaScript" field of customer projects — a field meant for each customer’s own custom code. The rest of each file was untouched, and it was still served from Optimizely’s own CDN, under Optimizely’s certificate, from an address every affected site already trusted.

The payload was a multi-purpose kit, and every part of it ran at once. It swapped cryptocurrency wallet addresses for the attacker’s — in page text, form fields and the clipboard, so a copied address could paste out wrong. It skimmed payment cards: watching for a card number, expiry and CVV typed into a site’s own form fields (cards entered in hosted payment iframes, such as Stripe’s, were out of its reach). It sent cookies and screenshots of pages back to the attacker. And on iPhones and iPads it delivered the Coruna and DarkSword iOS exploit kits. Money moved: as of 19:25 UTC on November 16, Report URI had verified about $7,040 in cryptocurrency received by the attacker’s wallets. It cannot see how many cards or cookies were taken. By 21:52 UTC that evening, only 1 of the 188 infected snippets still carried the code.

What Optimizely says

Optimizely’s status page, updated November 18, says an unauthorized third party exploited a flaw in the Web Experimentation account signup flow and used it to impersonate users on targeted customer accounts and insert the malicious JavaScript. The company says it detected the activity the same day, blocked delivery of the malicious code and closed the vulnerability within three hours of detection, and removed the injected code from all affected projects. It states plainly that this was not a credentials breach, that the incident was limited to Web Experimentation, and that less than 5% of its customers were impacted. It says it has contacted every Web Experimentation customer directly to confirm whether they were affected.

A different event the same day — and the difference matters

You may have seen these two stories welded into one headline this week. They are not one story. The same day, November 16, Google’s Threat Intelligence Group (GTIG) published its quarterly AI Threat Tracker and reported something separate: for the first time, it identified threat actors using an AI framework to fully automate vulnerability discovery and exploitation "without a human in the loop." Google’s own summary of the report is headlined "The era of autonomous attacks has arrived."

The framework, which GTIG calls exploit_agent, was found on an exposed staging server. It continuously compares popular web application software before and after security patches are announced, works out what each patch fixed, drafts an exploit, and executes it automatically. Victim data on the server pointed at French websites in the media and entertainment industries and the education sector. The same report notes attackers using open-source multi-agent frameworks — ARTEX, CAIRN and PentAGI among them — in live intrusions. Neither Google nor Optimizely connects the two events, and neither do we: one is a supplier compromise that put malware on big websites; the other is a research finding about where attack automation has reached. Both are worth knowing. They are not the same fact.

The game plan

Start with the audit this story is really about. List every piece of third-party code running on your website — the chat widget, the review app, the A/B testing tool, the analytics tags, the popup, the booking embed — and remove anything nobody can explain or nobody uses anymore. Every script on your site runs with your visitors’ trust and your name on the door.

If you use Optimizely Web, check today: Optimizely says it has written to every Web Experimentation customer, so check the inbox of whoever owns that account, review your projects for code nobody on your team wrote, and review who has account access. Then ask your web person, in writing, one question: what third-party code loads on our checkout and contact pages — the pages where your customers type card numbers and personal details? Get the answer in writing, with a name next to each script.

For the Google finding, there is nothing to patch and no product to buy — the honest takeaway is a habit. These automated attacks mostly target flaws that already have a fix; Google’s word for the effect is a shrinking patch window. Where you safely can, turn on automatic updates for your website platform, plugins and business software, so the gap between a fix existing and you running it is days, not months.

Not sure what this means for your website?

Run our free Website Health Check — it checks the things that quietly cost local businesses customers, from your Google profile to your contact forms.

Run the free Health Check →