# One experiment script, 178 organizations: what OPTIMJACK says about third-party code

> On November 16, malicious code served through Optimizely Web reached sites of 178 organizations and stole card and wallet data from visitors. What happened, why a vendor script runs with your site's trust, and what to check this week.

Published November 17, 2026 by Antivenom · https://antivenom.ai/blog/optimizely-supply-chain-178-sites

On November 16, 2026, code that hundreds of companies load from Optimizely, an A/B testing and experimentation platform, started stealing from their visitors. Report URI checked 1,611 Optimizely Web snippets and [found malicious JavaScript in 188 of them, belonging to 178 organizations](https://blog.report-uri.com/worlds-largest-brands-infected-with-malware-via-optimizely/). The organizations it names include Zoom, the BBC, CNN, Salesforce, GitLab, IKEA, HSBC, Equifax, Air France-KLM, Ledger and Peacock, and it says the real number is likely higher. Optimizely told Gizmodo that an unauthorized party [exploited a vulnerability in its Experimentation account signup flow](https://gizmodo.com/sprawling-malware-attack-reportedly-affects-zoom-cnn-fox-news-peacock-and-170-others-2000840831), and that it has blocked the vulnerable path and deployed a fix.

None of those 178 websites was hacked in the usual sense. **Their visitors' browsers ran the attacker's code because the sites had told them to trust Optimizely.**

![Diagram: a flaw in a vendor's signup flow let an attacker write code into customer projects, the vendor CDN served it, and visitors' browsers ran it with each site's trust. The bottom row shows where the path breaks: vendor account controls, a CSP host allowlist, hosted payment fields and HttpOnly cookies.](/blog/optimizely-supply-chain-178-sites.svg)

## What happened

Optimizely Web loads one script per customer project from cdn.optimizely.com. Customers write experiment code into the platform, and the platform serves it on every page where the snippet loads. StepSecurity puts it plainly: [whoever controls that file controls what visitors' browsers run](https://www.stepsecurity.io/blog/optimjack-optimizely-hosted-scripts-crypto-clipper-card-skimmer).

According to [Report URI](https://blog.report-uri.com/worlds-largest-brands-infected-with-malware-via-optimizely/), the attacker wrote code into each project's "Project JavaScript" field. It says this was not a CDN cache-poisoning attack: the CDN served exactly what had been written into the customer projects. Researcher Amirul Iman named the campaign OPTIMJACK.

The timeline, as [BreachHistory reconstructed it](https://breachhistory.com/blog/optimizely-optimjack-skimmer-november-2026) (all times UTC, November 16):

- **04:21.** The first injected code appears in the BBC's snippet.
- **05:23.** The payload domain is registered.
- **Afternoon.** The payload is rebuilt many times. A card skimmer is added, and later an iPhone stage goes live.
- **20:40 to 21:10.** Mass cleanup. By 21:52, one of the 188 snippets was still infected.

StepSecurity estimates [an exposure window of at least 13 hours](https://www.stepsecurity.io/blog/optimjack-optimizely-hosted-scripts-crypto-clipper-card-skimmer).

## What the code did

Report URI [lists four behaviors](https://blog.report-uri.com/worlds-largest-brands-infected-with-malware-via-optimizely/):

- It swapped cryptocurrency wallet addresses for the attacker's, in page text, form fields, the clipboard and outgoing requests.
- It skimmed card numbers, expiry dates and CVVs from forms and POST requests.
- It took cookies, the page URL and screenshots when wallet or payment content was on the page.
- It delivered the Coruna and DarkSword iOS exploit kits to iPhones and iPads.

On the iPhone stage, BreachHistory notes that Hudson Rock calls these [delivery observations, not proof that devices were compromised](https://breachhistory.com/blog/optimizely-optimjack-skimmer-november-2026). The visible crypto losses are small: Report URI counts about $7,040 received by attacker wallets, and StepSecurity counts about $6,600. Card, cookie and iPhone losses don't appear on a blockchain, so nobody can count them yet.

Optimizely's spokesperson told Cointelegraph that the company [removed the injected code, ended active sessions, revoked tokens and reset access for affected accounts](https://www.tradingview.com/news/cointelegraph:0c74a966f094b:0-hackers-inject-credit-card-crypto-stealing-malware-into-178-major-websites/), and notified all affected customers. The same report says Salesforce disabled Optimizely scripts across its preview and production instances.

## Why it worked

A script you load from a vendor runs in your origin. It sees the same page, the same form fields, the same cookies that aren't marked HttpOnly, and it can send requests like your own code. The browser has no idea which lines your team wrote and which lines arrived from a vendor's tenant.

Experimentation tools exist to change pages without a deploy. That's the product. It also means the controls you built around deploys (code review, CI checks, approvals) don't apply to anything written into the vendor's console. **For every site that loads it, the vendor's account system is part of the production deploy path.** A flaw in one company's signup flow became a code push to 178 organizations.

Two boundaries held where they existed. BreachHistory notes that card fields inside hosted iframes from payment providers [were out of the skimmer's reach](https://breachhistory.com/blog/optimizely-optimjack-skimmer-november-2026), because they live in a different origin. And Report URI found that a Content Security Policy blocked the payload on some affected hosts, but most had [no CSP, or one that allowed the payload or the data theft](https://blog.report-uri.com/worlds-largest-brands-infected-with-malware-via-optimizely/).

There's a catch in how many teams write CSP today. Report URI warns that `'strict-dynamic'` trusts scripts that a trusted snippet inserts, and StepSecurity says [a nonce with strict-dynamic did not block this payload](https://www.stepsecurity.io/blog/optimjack-optimizely-hosted-scripts-crypto-clipper-card-skimmer). Host allowlists on `script-src` and `connect-src` would have stopped the load and the exfiltration.

Subresource Integrity doesn't fit this case. SRI pins a script to a hash, and [the browser refuses the file if the bytes change](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity). That's right for a versioned library, and wrong for a snippet whose whole job is to change every time someone edits an experiment.

## What it means on AWS

If your front end sits behind CloudFront, a response headers policy can [set Content-Security-Policy on every response](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/understanding-response-headers-policies.html), with no change to the app. The header value is limited to 1,783 characters there, which is a useful push toward a short allowlist instead of a sprawling one.

The bigger change is in how you classify the vendor. The account that can edit your experiment code can change what runs on your login and checkout pages. Treat it like a production IAM role: SSO only, few editors, reviewed regularly, and tokens you can list and revoke.

## What to do this week

- **Inventory the scripts on your sensitive pages.** For login, checkout and account settings, list every third-party script, who owns the vendor account and who can edit what it serves.
- **If you use Optimizely Web, check your snippets.** Fetch them, search for the indicators that [StepSecurity](https://www.stepsecurity.io/blog/optimjack-optimizely-hosted-scripts-crypto-clipper-card-skimmer) and [Report URI](https://blog.report-uri.com/worlds-largest-brands-infected-with-malware-via-optimizely/) published, review your Project JavaScript and rotate the credentials and API tokens that can edit it.
- **Search your logs.** StepSecurity suggests going back to 08:00 UTC on November 16 in DNS, proxy and CSP reports for the payload domains.
- **Ship CSP in Report-Only first, then enforce.** Use host allowlists for `script-src` and `connect-src`. Don't rely on `'strict-dynamic'` alone for third-party tags.
- **Keep card entry in the payment provider's hosted fields.** And keep experimentation and tag-manager scripts off checkout pages entirely.
- **Mark session cookies HttpOnly.** This payload collected the cookies it could read.
- **Use SRI where it fits.** Pin static third-party libraries to a version and a hash.

## Closing

Supply chain attacks used to mean a poisoned package in a build. This one was a text field in a SaaS console, and it reached production on 178 organizations' sites without a single deploy. The question for any team is the same: which outside accounts can change what your users run, and would you notice?

That's the kind of path Antivenom is built to find. The AI red team runs only against your own systems, with your permission, and follows trust from vendor accounts to the code your users run. The AI blue team closes the gap, and the red team retests it. For a related look at trusting outside code, read [our post on package cooldowns](https://antivenom.ai/blog/package-cooldown).
