Attacks

The Optimizely script compromise: malicious code inside a trusted testing tag

The code arrived inside a file the sites already trusted, from the same address as always. What changed was what the file contained.

TL;DRThe Optimizely script compromise

What happened

On 16 November 2026 an attacker used a flaw in Optimizely's Experimentation signup flow to add malicious JavaScript to some customer projects, which then ran in visitors' browsers.

Why it slipped through

The code arrived inside the Optimizely file each site already loads and trusts, from the same address as always.

What gives it away

A change in that file's contents, a new script loaded from a host the site has never used, and data going to a new destination.

What happened to Optimizely?

Optimizely has said that an unauthorised party exploited a vulnerability in its Experimentation account signup flow and used it to add malicious JavaScript to some customer projects. Researchers first saw the injected code early on 16 November 2026 (UTC). Optimizely's experimentation tag is a script that customers load on their own pages, so the added code ran in the browsers of those sites' visitors. BleepingComputer confirmed through urlscan.io scans that the malicious code loaded, or tried to load, on sites of Zoom, CNN, Fox News, BBC, Salesforce, GitLab, KLM, Air France and HSBC Insurance, among others. The code was built to swap cryptocurrency wallet addresses, capture payment card details and try to send them out, and load further code aimed at iPhones and iPads. Some researchers have called the incident OPTIMJACK.

What happened, step by step

All times are UTC. Several of them are first observations by researchers, not the start of the attack.

  • 16 November, early morning: the earliest injected Optimizely file seen so far, according to the research BleepingComputer reported. Hudson Rock found an archived copy of an affected BBC page from 04:31 UTC that already loaded an attacker script.
  • Inside the file: the injected code loads a second script, track.js, from an attacker domain, 1688360[.]cc. Some files hold that address in plain text, others hide it in base64. Hudson Rock found that later versions, in the BBC and HSBC UAE files, also carry their own copy of the payload and run it if track.js fails to load or has not arrived within about 2.5 seconds.
  • What the payload was built to do: watch pages for wallet addresses and replace them with the attacker's; look for card number, expiry and security code and try to send them to a second address on the same domain; and collect cookies that scripts can read, page addresses and screenshots. For iPhones and iPads it loads further code that researchers linked to the Coruna and DarkSword exploit kits; Hudson Rock has not reproduced an iPhone being compromised.
  • 16 November, 21:52: only one of the 188 infected files was still serving malicious code, according to the research BleepingComputer reported.
  • 17 November, 01:02: Optimizely posts a Web Experimentation security incident on its status page, with the status Monitoring.

Optimizely told BleepingComputer it had blocked access to the vulnerable path and deployed a fix, removed the injected code from affected projects, ended active sessions, revoked tokens and reset access for affected user accounts, blocked the code from being delivered through Cloudflare, and notified all affected customers. Salesforce said that, as a precaution, it was confirming Optimizely scripts were disabled across its preview and production instances.

What the numbers say, and what they do not

Every figure below is preliminary, and none comes from Optimizely, which has not published a count.

FigureWhere it comes fromHow firm it is
188 infected Optimizely files out of 1,611 checked, belonging to 178 organisationsA security researcher's count, reported by BleepingComputer and repeated by Hudson RockAn estimate from one scan; not confirmed by Optimizely or Hudson Rock
21 sites where the malicious script loaded or tried to loadBleepingComputer, from urlscan.io scansConfirmed for those sites; not the full list
About $7,000 received by the attacker's wallets by 19:25 UTC on 16 NovemberResearchers' wallet tracing, reported by BleepingComputer and Hudson RockSome wallets were in use before the attack, so the amount stolen from visitors is not known
Number of visitors exposedNo one has published itUnknown

Hudson Rock also traced the same attacker infrastructure to poisoned files at three other services that deliver scripts to websites: Kissmetrics and StorifyMe, first seen on 13 November, and minute-ly, first seen on 16 November. How those files were changed, and whether one operator is behind all of them, is not yet known.

Hudson Rock adds some limits worth repeating. It has not seen the payload read cookies marked HttpOnly or get inside card fields hosted in a payment provider's own frame, and it has not reproduced a real iPhone being compromised. A visit to an affected news page does not by itself mean card details were stolen.

Why the usual controls missed it

This is the pattern of the Plerdy compromise and the DebugBear incident: a vendor the site chose kept its address and its name, and its file changed underneath.

ControlWhat it checksWhy it let this through
Vendor reviewWhether Optimizely is a trusted supplierThe vendor was trusted. The attacker changed what the vendor's file contained
CSP script-srcWhich hosts scripts may load fromOptimizely's CDN is allowed on purpose. A strict policy could block the second script from the attacker's domain, but not the copy of the payload carried inside the Optimizely file
Subresource IntegrityThat a file matches a fixed hashRarely usable here: a site's Optimizely file changes every time its team publishes an experiment
Blocking the attacker's domainRequests to one known bad hostThe fallback copy inside the file runs without it
A weekly page checkWhat the page looked like on the day of the checkMost of the infected files were cleaned within a day, so a weekly check could fall entirely outside it

See tag manager security for the same risk in tag managers, which, like experimentation tools, exist to let people change what runs on a page without a code release.

How Script Monitoring catches it: we replayed the attack

Our detection at the time caught part of this attack. On 17 November 2026 we shipped improvements: the edge now re-checks a vendor file that changes at the same address, and the engine decodes hidden code before it is scored. To show what that catches, we ran the attacker's archived files through a local copy of the current pipeline, with real AI analysis and demo data. This is a replay, not a report of live detections on customer sites.

FileWhat it isWhat firedOutcome
track.js from 1688360[.]ccThe payload: a crypto address clipper and an iPhone loader, hidden in base64Signatures for decode-then-execute code and for a wallet address clipper; rules for base64 passed to eval, a suspicious top-level domain, and crypto wallet code on a site that is not a walletAI analysis: malicious, 100%. Alert: 9.0 Critical
The Optimizely file, rebuilt with the payload inlineA new version at the same address, carrying the payload with the base64 and eval fallbackThe same two signatures, plus the rule for a script whose content changedAI analysis: malicious, 99%. Alert: 9.0 Critical
The Optimizely file, rebuilt with only a loader lineA new version with one line that loads track.jsNothing on the file itself; the script it loads alertsThe alert comes from track.js
get.js from webshell[.]lolA loader for an iOS exploit chainAI analysis: suspicious, 48%, a hidden code loaderAlert: Medium
Kissmetrics i.js (poisoned)The vendor's first line plus a one-line loaderNothing on its own; the script it loads alertsThe alert comes from get.js
The Optimizely file with only the loader line added: no alert on the file itself, and its Behaviour card lists Adds scripts to the page, High, at line 7.

A loader line on its own is routine: tag managers and experimentation tools add them all the time. The engine flags what the line brings in, and it flags a vendor file that carries the payload itself.

Both files land in the alert queue at 9.0 Critical: track.js from 1688360.cc and the changed Optimizely file, each with Allow, Block and Not now.

The changed vendor file, at the same address

An Optimizely file loads on every page, from the same address, and changes whenever a team publishes an experiment. The edge re-checks a script's content after a set interval even when it loads on every page, so a vendor file that changes at the same address is downloaded again, hashed and scored as a new version.

That is how the rebuilt Optimizely file was caught. The new version matched the decode-then-execute and wallet clipper signatures and the rule for changed content, AI analysis called it malicious at 99%, and the script's timeline shows each version and the alert next to it.

The Optimizely file's timeline: first seen, two new versions at the same address, and Alert raised, 9.0 Critical.

Hidden code, decoded without running it

track.js keeps its real code in base64 and runs it with eval at load, so the file on its own says little. For scripts that decode and run code, the engine decodes the base64 layers statically, reversed ones included, without running anything. Both the signature scan and AI analysis see the decoded code.

In track.js that recovered the hidden crypto address clipper module and the iPhone loader. A new signature for wallet address clippers matched it: address patterns for several chains, a hook that rewrites the page or the clipboard, and a hard-coded address. Because AI analysis read the real code, its verdict was malicious at 100% confidence.

Everything we captured for track.js: it runs code from text, and it matches the malware signatures for an eval chain and wallet interaction.

The alert you get

The alert puts the evidence in one place. "Why this fired" shows the AI analysis verdict, malicious with 100% confidence, and every ruleset that matched. AI analysis filed it under payment skimmer, as it has no crypto clipper category; the wallet address clipper signature is what names it. On Pro and Enterprise the priority reads 9.0 Critical, to act on the same business day. Without AI analysis, an alert stops at High.

Why this fired: AI analysis says malicious, 100% confidence, with the rulesets that matched.

On Pro and Enterprise, the vendor load chain shows who loaded the script: your checkout page, then optimizely.com, then 1688360.cc, on a payment page. AI analysis is on Pro and Enterprise too; the engine never blocks on its own.

Where it runs: loaded by checkout.northwind.com, then optimizely.com, then 1688360.cc, on a payment page.

Blocking it

You can block the script, its host, its domain or the vendor, on every plan. A block rule usually reaches the Script Monitoring tag on your pages within a minute, with no deploy on your side. Blocking 1688360[.]cc stops the payload loading; a payload carried inside the Optimizely file itself needs the file or the vendor blocked, which also stops your experiments until it is clean.

Do this now: block the file, at 9.0 Critical, the same business day. Doing it resolves the alert, with what you did as its reason.

The tag also watches navigator.sendBeacon, the call card skimmers use to send data out. It records which script sent data to which destination, never the data itself, and block rules on that destination apply to beacons too.

Can't block it yet? On Pro and Enterprise, guardrails let the script keep running but stop it reading card details and keystrokes, sending network requests or loading images.

How we tested it

  • Real attacker files. The Wayback Machine's copies of track.js (16 November, 08:08 UTC), the poisoned Kissmetrics file and the webshell[.]lol loader it pulled in. The archived Optimizely files carry only the one-line loader; none with the payload inline was archived, so we rebuilt that version from a benign experiment file.
  • The current pipeline, with real AI analysis. A local copy of our detection pipeline with demo data, the detection improvements we made on 17 November 2026, and the same AI analysis service production uses. Each file was detected for the first time.
  • Nothing executed. The files were read and scored as text. Nothing ran in a browser, and nothing could reach the attacker's hosts.

What PCI DSS 6.4.3 & 11.6.1 say about it

Many teams run A/B tests on checkout and sign-up pages. On a payment page, 6.4.3 asks for an inventory of every script with a business justification, and a way to confirm each one is authorised and has not been tampered with. The injected code and track.js were never authorised. 11.6.1 asks for a mechanism that alerts on unauthorised changes to the payment page's scripts and security-impacting HTTP headers as the browser receives them, at least weekly or as often as the entity's targeted risk analysis sets. A change to the Optimizely file's contents is that kind of change, even though the file's address stayed the same.

What to do this week

  • Find every page that loads an Optimizely file (cdn.optimizely.com), and check whether Optimizely notified you as an affected customer
  • Search your browser-side records, CSP reports and proxy logs from early November on for 1688360[.]cc, webshell[.]lol, 5vobauua3ojpklx[.]icu and eil786npto9u5bq[.]icu
  • Open the Project JavaScript and custom experiment code in every Optimizely project, and check who can publish to them
  • List every script your trusted vendor files load, not only the files themselves, and look for hosts you have never approved
  • Treat code that decodes text and runs it (atob into eval or new Function) in a third-party file as a reason to look
  • Ask whether experimentation tags need to run on checkout, login and account pages at all, and remove them where they do not
  • Keep card entry in your payment provider's hosted fields or frame, and limit connect-src in your CSP to the destinations you expect; review whether 'strict-dynamic' or 'unsafe-eval' lets vendor files load or run more than you intended
  • Alert on changes to the contents of third-party files, not only on new script addresses
  • If your visitors may have been exposed, tell them what BleepingComputer advised: check crypto transfers, watch card statements and update iOS

Where Script Monitoring fits, and where it does not

Script Monitoring records every script that runs on your pages in real visitor sessions, vendor tags included, and each script is fetched, hashed and archived off the page; the replay above shows what it flags. On Pro, AI script analysis reads the new code and is built to flag card-stealing code as a payment skimmer. You can block a script at runtime by URL, host, domain or vendor on every plan, and on Pro, vendor guardrails limit what a vendor's scripts can do, such as reading form fields. On payment pages the same record supports your evidence for PCI DSS 6.4.3 & 11.6.1.

Where it does not help. An alert comes from real sessions, so the first visitors who received the changed file had already run it. We cannot undo a crypto transfer, recover collected data or see what an exploit did on a phone. Your Optimizely file changes whenever your team publishes an experiment, so a change alert on it is routine: what stands out is a new external script and new destinations, and someone still has to look. Blocking the attacker's domain would not stop the copy of the payload inside the file; blocking the Optimizely file itself would, and would also stop your experiments. We see only pages that carry our tag or, on Pro and Enterprise, that the Agentic Web Scanner visits, and we do nothing about the flaw in Optimizely's signup flow, which only Optimizely could fix.

See every script your pages load, and get alerted when a vendor's file changes. Free on 1,000 page views a month.

Sources and methodology

Optimizely's statements are from its incident notice on status.optimizely.com (17 November 2026, 01:02 UTC), its statement to BleepingComputer and its documentation on snippet integrity checks. The affected sites, the payload, the wallet figures and the cleanup timing are from BleepingComputer's report of 16 November 2026, which relies in part on research by a web security firm that first published the 188, 1,611 and 178 counts; we give those counts only as the press reported them. The fallback behaviour, the archived BBC page, the three other services and the limits of the evidence are from Hudson Rock's reports "Poisoned Scripts on BBC, Zoom and Other Major Websites Linked to iPhone Exploit Loaders" and "Beyond Optimizely: Malicious Scripts Traced Across Four Web Services" (16 and 17 November 2026). Payload details also draw on StepSecurity's analysis and Cynet's write-up (both 17 November 2026). Attacker files: the Wayback Machine's captures of 1688360[.]cc/track.js (16 November 2026, 08:08 UTC), i.kissmetrics.com/i.js (13 November 2026) and webshell[.]lol/get.js. We checked the 08:08 capture of track.js ourselves: it holds the wallet clipper and an iPhone loader, and no card skimmer. The replay ran the current version of our detection pipeline locally, including the improvements made on 17 November 2026, with the same AI analysis service production uses and demo data; the load chain rows stand in for what the browser tag records, as the tag itself was not run, and nothing was executed in a browser. The Optimizely file was rebuilt twice, once with the payload inline as Hudson Rock described and once with only a loader line. Screenshots come from the same demo data. Requirement descriptions are paraphrased from PCI DSS v4.0.1, published by the PCI Security Standards Council. Written on 17 November 2026 while Optimizely's investigation is still open; we will update this post when it publishes more.

Ask an AI

Don’t just take our word for it

What happened in the November 2026 Optimizely script compromise, and how do you detect a trusted third-party script whose contents change?

Frequently asked questions

Was my site affected if it uses Optimizely?

Not necessarily. Optimizely says the code was added to some customer projects and that it notified all affected customers. If your pages loaded an Optimizely file on 16 November, check with Optimizely and look at what your pages actually loaded that day.

Was Optimizely's CDN hacked?

Optimizely says the attacker used a flaw in its Experimentation account signup flow to add code to customer projects, which were then served as usual. Hudson Rock says the evidence it reviewed does not establish CDN cache poisoning or breaches of the affected brands' own servers.

Were card details stolen?

The payload was built to look for card details and send them out, but no one has published confirmed card theft. Card fields hosted in a payment provider's own frame were not shown to be reachable.

Would a Content Security Policy have stopped it?

Partly. A policy whose script-src and connect-src do not allow the attacker's domain would block track.js and the card data being sent there, but the copy of the payload inside the Optimizely file came from a host the policy allows. See

CSP vs script monitoring

.

How do you know Script Monitoring catches this attack?

We ran the attacker's archived files through a local copy of our current pipeline, with real AI analysis and demo data. It is not a report of live detections on customer sites, and our detection at the time caught only part of the attack.

How does Script Monitoring notice a vendor file that changes at the same address?

The edge re-checks a script's content after a set interval, even when it loads on every page. A file that changed is downloaded again, hashed and scored as a new version, and its timeline shows each version.

How does the engine read code that is hidden in base64?

For scripts that decode and run code, it decodes the base64 layers statically, reversed ones included, without running them. The signature scan and AI analysis both see the decoded code.

Does a one-line loader added to a vendor file raise an alert?

Not on its own, because tag managers and experimentation tools add loader lines all the time. The script that line loads is scored like any other: in our replay, track.js loaded by the Optimizely file raised a 9.0 Critical alert, and the webshell[.]lol loader pulled in by the Kissmetrics file raised a Medium one.

Does the AI block scripts automatically?

No. AI analysis gives a verdict, a category and a confidence, on Pro and Enterprise. Blocking is always your decision, and a block rule usually reaches the tag on your pages within a minute.

Is it safe to keep using Optimizely?

Optimizely says it fixed the flaw, removed the injected code and added protections, and its investigation is still open. Whatever you decide, keep watching what its file contains on your pages, as you would for any vendor.

See every script on your own checkout.

Install the tag, mark your payment pages, and watch the inventory fill in. Free forever on 1,000 page views a month, no credit card.

Free forever plan. No credit card.

Watch the short answer

The Optimizely Script Compromise (OPTIMJACK), Explained

On November 16, 2026, an attacker used a flaw in Optimizely's Experimentation signup flow to add malicious JavaScript to some customer projects, and the code ran in visitors' browsers from the file sites already trusted. This video covers what happened, which numbers are confirmed and which are estimates, why CSP, SRI and vendor reviews missed it, and what to check this week. Sources: Optimizely, BleepingComputer, Hudson Rock.

Read the transcript

On November sixteenth, 2026, an attacker used a flaw in Optimizely's Experimentation signup flow to add malicious JavaScript to some customer projects. Sites load that file on their own pages, so the code ran in their visitors' browsers. Script Monitoring is one tag on your pages that watches every script in every session, trusted vendor files included. Researchers first saw the injected code early on November sixteenth, UTC. The changed file loaded a second script from an attacker's domain, and later versions carried the payload themselves. By that evening, all but one infected file was clean. It was built to swap crypto wallet addresses, look for card details and try to send them out, and load further code aimed at iPhones and iPads. Some researchers call it OPTIMJACK. The numbers are preliminary. One researcher counted a hundred and eighty-eight infected files from a hundred and seventy-eight organisations. BleepingComputer confirmed the code on twenty-one sites, including Zoom, C N N and the B B C. Visitor numbers haven't been published. Hudson Rock hasn't seen it read cookies marked HttpOnly, or card fields inside a payment provider's own frame. So a visit to an affected page doesn't by itself mean card details were stolen. Optimizely says it blocked the vulnerable path, removed the injected code, revoked tokens and reset access, and notified affected customers. The usual controls looked the wrong way. The vendor was trusted. CSP allows Optimizely's CDN on purpose. Subresource Integrity can't pin a file that changes with every experiment. And a weekly check could miss a one-day window. Same address, same vendor, different contents. That's the kind of change PCI DSS 11.6.1 asks you to be alerted to. This week: find every page that loads an Optimizely file, and check whether Optimizely notified you. Search CSP reports and logs for the attacker domains. Check who can publish to your projects. Remove experiment tags from checkout pages that don't need them. We replayed the attacker's archived files through our current pipeline. The payload and a rebuilt Optimizely file each raised a nine point oh Critical alert. That's a replay, not live detections on customer sites. Script Monitoring watches every script on your payment pages, trusted vendor files included. Free for 1,000 page views a month, Pro from $99 a month. Start for free at scriptmonitoring.com.

Video page with transcriptWatch on YouTube