OptimJack

OptimJack is a name for the 16 November 2026 client-side supply chain attack in which malicious JavaScript was injected into Optimizely Web Experimentation projects and served to website visitors through a trusted third-party script. It delivered a cryptocurrency wallet-swapping clipper and a payment card skimmer on the websites of 178 organizations identified by Report URI.

Key Facts

ItemDetail
WhatAn attacker exploited a flaw in Optimizely’s Web Experimentation account sign-up flow to impersonate administrator users. They then injected malicious JavaScript into customer projects (Optimizely preliminary incident report).
When16 November 2026. Optimizely says malicious code was live in customer projects from 07:51 to 22:24 UTC. Jscrambler first observed injected code at 03:55 UTC and the Report URI at 04:21 UTC. Optimizely has not yet explained the difference.
ScopeReport URI found malicious code in 188 Optimizely snippets belonging to 178 organizations (186 of 1,611 in its initial sweep). Optimizely has not published a count. It advises customers to assume they were affected unless notified otherwise.
TargetsWebsite visitors: cryptocurrency transactions, payment card data entered in a website’s own form fields, cookies, and iPhone and iPad users.
StatusOptimizely’s root-cause findings are preliminary while Mandiant continues its investigation. Attribution is pending.

How It Works

Optimizely Web Experimentation works like most experimentation tools. A website loads a script from Optimizely’s CDN on every page, and that script decides which version of the page each visitor sees. The script must therefore be able to change the page. Customers can also add their own code through a feature named Project JavaScript.

Initial Access

According to Optimizely’s preliminary report, a flaw in the account sign-up flow let the attacker impersonate existing administrator users. Account and project IDs are visible in each website’s public snippet. The attacker used those IDs to guess employees’ email addresses, up to thousands of times per customer. Optimizely says each customer was targeted separately, access to one account did not give access to another, and no passwords were stolen. Websites were therefore compromised at different times during the day.

Loader Injection

With administrator access, the attacker wrote a small loader into each project’s Project JavaScript field and replaced any existing custom code. Optimizely kept serving the first-stage script from its own domain, with its own certificate. Only after that script ran did the loader fetch the rest of the payload from attacker-controlled domains. To the browser, and to any control that checks only where a script is hosted, the first stage looked legitimate.

Evasion

Report URI found that the attacker took steps to avoid detection:

  • The loader’s URL was encoded so simple searches wouldn’t find it.
  • If a website blocked the attacker’s domain, the loader fell back to running a full copy of the payload inline.
  • Jscrambler and Report URI observed the payload change several times during the day, and the changes differ between customers. Based on the evidence so far, Jscrambler infers that the attacker was manually testing different modules against different websites. Its research team is investigating further.

Types Of Payload Behavior

The code varied between affected websites. These are the behaviors observed.

Cryptocurrency Wallet Swapping

The script searched for wallet addresses for several currencies, including Bitcoin, Ethereum, Solana, and Dogecoin, and replaced them with the attacker’s addresses. It did this in page text, form fields, and links, and in text a visitor copied to the clipboard.

Payment Card Skimming

From 13:43 UTC, according to Report URI, the code monitored forms for a valid card number, expiry date, and CVV, and sent all three to the attacker’s server. It could not reach cards entered inside hosted payment iframes, but it could read cards typed into a website’s own fields. Optimizely says card details entered on the page may have been exposed but has not confirmed whether any were captured. On the Jscrambler customer websites the code reached, Jscrambler’s telemetry shows that no card data was captured.

After swapping a wallet address, the code captured a screenshot of the page and sent it to the attacker’s server with the page’s cookies. It could not access cookies marked HttpOnly.

Mobile Exploit Attempts

On devices running iOS or iPadOS 18.6 or earlier, the code checked the version and attempted to load a matching exploit chain in a hidden iframe. Jscrambler also observed code targeting versions up to iOS 26. In the cases Jscrambler observed, the exploit script failed to load and could not run.

Jscrambler also observed the code read sessionStorage and attempt to create new input fields on the page. Optimizely’s report says the version it recovered does not read session or local storage, so its analysis may not have covered every version of the code in use.

OptimJack Vs The Polyfill.io Compromise

Both incidents followed the same pattern: one trusted supplier, many victims, and an attack that took place entirely in the browser.

AspectOptimJack (2026)Polyfill.io (2024)
Delivery pathA third-party experimentation script that websites deliberately loadA third-party domain that websites loaded
CauseA flaw in the vendor’s account sign-up flow, allowing administrator impersonation (preliminary)The domain changed ownership
Scale178 organizations identified by Report URIMore than 100,000 websites
Where it ranThe visitor’s browserThe visitor’s browser
What stopped at the edgeNetwork and server-side controls could not see the in-browser behaviorNetwork and server-side controls could not see the in-browser behavior

The compromise methods differed, but both are software supply chain problems, and most supply chain controls stop before the code reaches the browser.

Why It Matters

  • An approved vendor on an approved domain can still deliver unapproved code. Unless a script is isolated in an iframe, it runs in the visitor’s browser with the same access as the website’s own code. It can read the page, see what visitors type into forms, and send data to external servers.
  • Change detection alone does not show intent. An alert that a script has changed does not show what the new code does, and does not stop it.
  • One compromise can reach many organizations. Hudson Rock found technical links between this attack and malicious code served through other third-party scripts from 13 November, including Kissmetrics and StorifyMe, but says the links do not yet prove a single operator.
  • Payment pages are exposed. A card skimmer delivered through an approved script is the type of risk addressed by PCI DSS v4.0.1 requirements 6.4.3 (script management on payment pages) and 11.6.1 (detection of unauthorized changes to those pages). Optimizely has confirmed that its PCI-specific CDN was also affected.

Solutions By Jscrambler

The Jscrambler Client-Side Security Platform addresses third-party script risk at the point of creation, inside the browser. This entry sits in the Software Supply Chain Security solution area.

  • Jscrambler Webpage Integrity continuously discovers third-party scripts, detects behavioral drift, and enforces least-privilege data access controls. Its Form Fencing capability controls which scripts may read which form fields. The control is based on a script’s permitted access, not on who hosts it, so it applies equally to a new script and to one that has been on the page for years.
  • Observed response (Jscrambler telemetry): Jscrambler’s agent first detected the changed behavior on a customer website at 11:26 UTC, and automated alerts began at 11:40 UTC. Optimizely says it detected the activity at 13:34 UTC. According to Jscrambler’s telemetry, Webpage Integrity with Form Fencing blocked the attack on affected websites without waiting for an alert to be actioned.
  • PCI DSS v4 module: supports requirements 6.4.3 and 11.6.1 with payment-page script inventory, authorization, tamper detection, and assessment-ready reports. It supports compliance work and does not make an organization compliant on its own.
  • SOC integration: alerts and telemetry can be forwarded to SIEMs including Splunk, Microsoft Sentinel, IBM QRadar, Securonix, and Exabeam.

Jscrambler customers with questions about this incident should contact Jscrambler Support.

Learn more: Watch Lessons from the Optimizely Supply Chain Attack 

FAQs

Was my website affected by OptimJack?

If your website loads Optimizely Web Experimentation, investigate. Optimizely says the malicious code was live from 07:51 to 22:24 UTC on 16 November. It advises customers to assume they were affected unless they received a notice stating otherwise. Your Optimizely Customer Success Manager can confirm the exact exposure window for your projects. Report URI has published the organizations it identified, with indicators of compromise. If you were affected, treat the event as a client-side security incident and review what visitors may have entered while the code was live.

Can CSP detect an attack like OptimJack?

Partly. A Content Security Policy with reporting enabled can flag scripts or destinations that the policy does not allow. An enforcing policy blocked the payload at some organizations. The first stage came from Optimizely’s allowed domain, but the second stage did not, so a strict policy could block the main payload. The loader then fell back to an inline copy, and that copy still ran wherever the policy allowed unsafe-eval. Where a policy allowed the code to run, CSP could not show what the code was doing, and someone still had to investigate before acting.

Does OptimJack affect PCI DSS compliance?

In Jscrambler’s view, being affected does not automatically make a merchant non-compliant, but the incident is directly relevant. Requirement 6.4.3 covers the management of scripts on payment pages, and requirement 11.6.1 covers detecting unauthorized changes to those pages. Affected merchants should follow their incident response plan, review their controls, and consult their QSA and acquirer about any notification obligations. 

How do you protect against third-party script compromise?

Start with an inventory of every script on your pages and what each script can access. Then limit each script to the data and destinations it needs, and enforce those limits in the browser at runtime. If a trusted script becomes malicious, it can’t read sensitive fields or send them elsewhere.