Tech · AI · Cybersecurity · Gadgets | Tech news from the USA & the world

Optimizely Hack Turned 178 Big Brand Websites Into Malware Carriers

Padlock on a computer keyboard

Visiting a trusted website is supposed to be safe. This week showed how that trust can break without anyone clicking a suspicious link. Attackers got into Optimizely, a platform that companies use to test and personalize their web pages, and used it to push malicious code to visitors of some very popular sites.

What happened

Security firm Report URI, led by researcher Scott Helme, found malicious JavaScript on the websites of 178 organizations on November 16. The team examined 1,611 Optimizely script files and found malicious code in 188 of them. Organizations named in reports include Zoom, the BBC, CNN, Salesforce, GitLab, Equifax, HSBC and Ledger.

The attackers did not need to break into each company separately. They added code to a field in Optimizely projects called Project JavaScript, while leaving the main snippet untouched. Because the sites already loaded that script from a trusted source, visitors’ browsers ran the extra code automatically.

What the malware did

Report URI described the code as a multi-purpose toolkit. It could swap cryptocurrency wallet addresses for ones controlled by the attackers, attempt to skim payment card details, collect browser cookies and deliver exploit kits aimed at iPhones and iPads. Researchers traced at least $7,000 in stolen crypto to the campaign, and they said they could not tell how many cards, cookies or devices were affected.

Timing matters too. Report URI first saw the injection at 04:21 UTC on November 16, and the infected files were reported cleaned about 19 hours later. Optimizely confirmed the problem on November 17 and said attackers abused a flaw in the signup flow of its Web Experimentation product, which has since been patched.

Why this is a bigger lesson than one vendor

This is a classic supply chain attack: instead of attacking a well defended brand directly, criminals target a smaller service that thousands of sites rely on. Many large companies run dozens of third party scripts for analytics, testing and advertising. Each one is a door that the company does not fully control.

Report URI also warned that its numbers are a floor, not a ceiling. It could only test the snippets it had in its crawl data, so more organizations may have been exposed.

What site owners should do

  • Review the Project JavaScript and experiment code in every Optimizely project for anything you did not write.
  • Check who has write access and rotate credentials and tokens.
  • Use a restrictive Content Security Policy so browsers only run scripts from approved domains.

What everyday users can do

You cannot spot this attack by looking at a page, so the best defense is basic hygiene. Keep iOS and your browser updated, because the iPhone exploits target older software. Double check the wallet address on any crypto transaction before you confirm it, and watch card statements for small unfamiliar charges. If you visited an affected site on November 16 and entered payment details, ask your card issuer about monitoring.

Our take

The most worrying part is how ordinary this was. No zero day in a browser, no phishing email, just a weak spot in a vendor that sat quietly inside hundreds of websites. Expect more security teams to start treating every third party script as part of their own attack surface.

What happens next

Optimizely says it has patched the flaw, and the affected files were cleaned within a day. The open questions are how the attackers got write access across unrelated customer projects and how many visitors were actually hit. Expect customers, regulators and security researchers to press for a full forensic report, since companies need the real start time to judge their own exposure.

Featured image: Representative photo via Unsplash

Newsletter

Get the day’s top tech stories in your inbox

AI, gadgets, security and big tech news, explained simply. Free. Unsubscribe anytime.

← Back

Thank you for your response. ✨

Thanks for subscribing. We will be in touch.