dogesec Logo
188 Trusted Scripts. One Day of Malware.

188 Trusted Scripts. One Day of Malware.

An Optimizely flaw put card skimmers and iOS exploit loaders on major sites. Here is the measured impact, attack path, and evidence defenders can hunt.

Category: Research

tl;dr

  • On 16 November 2026, an attacker exploited Optimizely Web Experimentation’s signup flow and inserted malicious JavaScript into customer projects.
  • Report URI checked 1,611 Optimizely snippets and found 188 infected snippets belonging to 178 organizations. That is the measured population, not 190,000 hacked websites.
  • The code swapped cryptocurrency addresses, skimmed cards entered into first-party forms, took cookies and screenshots, and attempted to exploit older iPhones and iPads.

The BBC loaded someone else’s JavaScript

At 04:21 UTC on 16 November, a JavaScript file used by the BBC began loading code from webshell[.]lol. By 08:28, the same Optimizely snippet was loading 1688360[.]cc/track.js. Visitors did not need to install anything or click a link. Their browsers fetched a script from a domain the site already trusted and ran the code inside the page.

Optimizely Web Experimentation lets customers test and personalize pages. Each customer loads a generated JavaScript snippet from Optimizely’s content delivery network. That file includes an optional Project JavaScript field, which runs on every page that loads the snippet. The attacker found a flaw in the account signup flow that let them impersonate administrator users without stealing customer passwords, then wrote a loader into that field.

The CDN was doing exactly what the product asked it to do. That distinction matters. The attacker did not have to breach the BBC, Zoom, HSBC, or the other organizations one by one. One authorization flaw let them change code that those sites had already chosen to execute.

Ten posts, three different denominators

Ten reports covered the Optimizely compromise. Together they repeated three different measures of its reach, often as if they meant the same thing.

The numbers describe different populations:

Number What it measures What it does not prove
1,611 Distinct Optimizely snippets Report URI fetched and checked Every Optimizely project or website
188 Checked snippets that contained the malicious code 188 breached companies
178 Organizations represented by those 188 snippets Optimizely’s final affected-customer count
Fewer than 5% Optimizely’s affected share of customers A public numerator or denominator
190,000 A number used in later coverage for Optimizely’s wider reach Sites observed serving this malware

Report URI calls 178 a lower bound because it could only inspect the snippets it found in time. Optimizely has told each customer whether it was affected, but has not published a list or count. The defensible statement is simple: researchers observed 188 infected snippets associated with 178 organizations.

The primary accounts also disagree on when the injection began. Report URI found the BBC snippet loading the earlier webshell[.]lol injector at 04:21 UTC. Optimizely’s incident report puts the first malicious project change at 07:51. The three-hour gap remains unexplained.

Source What it saw What it lacks
Report URI Captured snippets, payload versions, domains, hashes, wallets, and a 1,611-snippet sweep Optimizely’s application logs and root cause
Optimizely The signup-flow flaw, affected product, response actions, and customer notifications A public victim list or confirmed total
The Hacker News Payload behavior and extractable infrastructure First-hand access to customer projects
Krebs on Security Interviews and the defensive CSP angle A separate victim measurement
Unit 42 OPTIMJACK campaign context, affected organizations, and defensive guidance A separate victim measurement or first-hand customer access

The payload changed 26 times

The first track.js build acted as a cryptocurrency clipper. It looked for valid wallet addresses in page text, fields, links, the clipboard, and outgoing browser requests, then replaced them with addresses controlled by the attacker. Report URI observed about $7,040 reach the listed wallets during the day. That number is visible on public ledgers. It says nothing about stolen cards, cookies, or devices.

At 13:43 the attacker added a card skimmer. It watched form submissions and browser requests for a card number, expiration date, and CVV, then sent the values to 1688360[.]cc/card.php. Cards typed into hosted payment frames from providers such as Stripe or Adyen stayed outside the page’s origin and out of reach. Cards collected in the site’s own fields did not.

The code also sent non-HttpOnly cookies and screenshots to the attacker after a wallet swap. On iPhones and iPads it loaded Coruna or DarkSword exploit chains through two .icu domains, selected by the device’s iOS version. Report URI counted 26 payload rebuilds that day. This was active development on production websites.

Fourteen hours from first write to removal

Optimizely’s logs give the response timeline:

  1. At 00:37, the attacker created the first impersonated user.
  2. At 07:51, Optimizely records the first malicious project change.
  3. At 13:34, Optimizely detected the activity.
  4. At 16:06, it blocked known malicious outbound code at Cloudflare.
  5. At 16:10, it closed the signup-flow flaw.
  6. At 16:53, it ended the impersonated users’ sessions and revoked their tokens.
  7. At 22:24, it had removed the injected code from affected projects and restored overwritten customer code.

Report URI still found one infected snippet at 21:52 and all 188 clean by 23:11. The two accounts agree on the cleanup sequence even where their start times differ.

No source has named the attacker. Optimizely says the same infrastructure had hosted skimmers and the ADAPTAGENT and CUPCAKE command-and-control frameworks since at least September, but commercial VPN addresses are not attribution evidence.

What the browser controls actually stopped

Content Security Policy, or CSP, is a browser rule that limits where a page may load code and send data. Report URI evaluated the policies used by 159 of the affected organizations:

Result Organizations
No CSP 68
Policy allowed the payload and data theft 50
Payload ran, but connect-src blocked exfiltration 17
Payload blocked 24

The winning 24 used a restrictive script-src. Merely allowing cdn.optimizely.com could not help because the trusted Optimizely file carried the loader. A policy using 'strict-dynamic' could extend that trust to the new script, while 'unsafe-eval' let the inline fallback run when the external file was blocked.

Subresource Integrity is less useful here. It pins a script to a known hash, but an experimentation snippet changes whenever a customer changes an experiment. A fixed hash would either break expected updates or require a deployment process that removes the reason for serving dynamic third-party code in the first place.

What defenders can hunt for

The selected reports identify campaign domains, URLs, hashes, malware names, and ATT&CK techniques. The highest-value network leads are 1688360[.]cc, webshell[.]lol, 5vobauua3ojpklx[.]icu, and eil786npto9u5bq[.]icu. Optimizely adds pay-relay[.]wordpressadmin001[.]workers[.]dev and pay-cloud[.]online to its preliminary list.

The Sigma rule below looks for DNS queries to that infrastructure. It is an incident-response lead for the 16 November window, not a durable detection. Browsers that received an inline copy of the payload could avoid the first domain lookup, and cached DNS may not appear in every endpoint’s logs.

title: DNS Query for Optimizely Script Compromise Infrastructure
id: 0af7c3d1-7257-4a20-aad7-38f16e569e9d
status: experimental
description: Detects DNS queries for infrastructure used by the malicious JavaScript delivered through compromised Optimizely Web Experimentation projects on 16 November 2026.
references:
    - https://blog.report-uri.com/worlds-largest-brands-infected-with-malware-via-optimizely/
    - https://pages.optimizely.com/rs/947-RKE-048/images/Security%20Incident%20Report%20-%20Optimizely%20Web%20Experimentation%20-%20Nov%2017%202026.pdf
author: dogesec
date: 2026-11-19
logsource:
    category: dns
detection:
    selection:
        query:
            - '1688360.cc'
            - 'webshell.lol'
            - '5vobauua3ojpklx.icu'
            - 'eil786npto9u5bq.icu'
            - 'pay-relay.wordpressadmin001.workers.dev'
            - 'pay-cloud.online'
            - 'pay.pay-cloud.online'
    condition: selection
falsepositives:
    - Security research, sandboxing, or incident-response systems resolving the published indicators
level: high

Web, CDN, proxy, and CSP logs carry the better answer. Search for requests to /track.js, /card.php, and /hit.php, then tie them back to the page and user agent that made the request. Preserve the exact exposure window Optimizely provided for your project. A domain hit proves contact with the infrastructure, not successful card theft or device exploitation.

The whole case in one graph

The finished graph joins five reports to OPTIMJACK, Coruna, DarkSword, the incident infrastructure, seven response milestones, and the DNS rule. If you are new to STIX, Understanding STIX 2.1 Objects explains what each node represents.

The graph keeps two facts separate. The 178 organizations come from one measured sweep, while Optimizely’s affected-customer total remains private. The attacker changed a trusted customer-controlled field, and each browser supplied the final execution environment.

In summary

One Optimizely authorization flaw let an attacker change JavaScript that major sites had already agreed to run. Report URI measured 188 infected snippets across 178 organizations, captured 26 payload versions, and verified about $7,040 reaching the listed wallets. Optimizely closed the flaw on 16 November and says fewer than 5% of customers were affected. The practical lesson sits in the browser logs: inventory third-party code, record when it changes, and restrict both where it can load from and where it can send data.

Reference: IoCs and ATT&CK techniques

IoCs

Type Value What it is Linked to Confidence STIX ID
Domain 1688360[.]cc Domain published with the incident infrastructure OPTIMJACK 85 indicator--b4302d47-34ee-5eae-a35b-8c243a817fae
Domain 5vobauua3ojpklx[.]icu Domain published with the incident infrastructure OPTIMJACK 85 indicator--9c196925-1fed-5673-bfea-4bfd242c019c
Domain eil786npto9u5bq[.]icu Domain published with the incident infrastructure OPTIMJACK 85 indicator--bb9c6e31-4c6c-5e88-930f-5f56987de428
Domain pay-cloud[.]online Domain in Optimizely’s preliminary indicator list for the 16 November 2026 incident OPTIMJACK 70 indicator--a285d11a-2589-5f5a-bb78-2626b0c92b37
Domain pay-relay[.]wordpressadmin001[.]workers[.]dev Domain in Optimizely’s preliminary indicator list for the 16 November 2026 incident OPTIMJACK 70 indicator--9551da82-2670-59a9-89c9-b8d9af4a744c
Domain pay[.]pay-cloud[.]online Domain in Optimizely’s preliminary indicator list for the 16 November 2026 incident OPTIMJACK 70 indicator--5e4226fb-98ef-5e68-bbfa-7a159121034f
Domain webshell[.]lol Domain published with the incident infrastructure OPTIMJACK 85 indicator--18a4b531-64ce-5756-bb05-6058dc08e6eb
IPv4 136[.]113[.]106[.]136 Address published with the incident infrastructure OPTIMJACK 85 indicator--88e3cd56-8329-5aa8-a84d-1c9bae2038f8
SHA-256 617df364120adc47fb4f55dcc0c69a9b6c9e108a92c60bc2b64a266254ab02f3 Hash extracted from The Hacker News report by Obstracts OPTIMJACK 85 indicator--10778eb7-7a2a-58e2-8d17-5f2a6adbe370
SHA-256 f7b84b9a94f749f8ced3f0112d0a66894e8bbc3b4aa5592021d1b8976a9bad40 Latest track.js build published by Report URI OPTIMJACK 85 indicator--1b8d5a9e-5168-5f02-99c3-2839a53d313f
URL 1688360[.]cc/card[.]php Payload or collection endpoint OPTIMJACK 85 indicator--c95aa5e4-5279-5f71-9c7f-cecaa0705b70
URL 1688360[.]cc/hit[.]php Payload or collection endpoint OPTIMJACK 85 indicator--a6f52117-6b1f-5e77-9e6d-bff92284a8aa
URL 1688360[.]cc/track[.]js Payload or collection endpoint OPTIMJACK 85 indicator--5577c85d-dbda-507b-beae-6699ad2814da

Techniques (Attack Flow)

Step Action Technique Tactic STIX ID
1 Exploit Optimizely Web Experimentation project write access T1190 Exploit Public-Facing Application Initial Access attack-pattern--3f886f2a-874f-4333-b794-aa6075009b1c
2 Malicious JavaScript payload execution in visitors’ browsers T1059.007 JavaScript Execution attack-pattern--0f4a0c76-ab2d-4cb0-85d3-3f0efb8cba0d

The Sigma rule is indicator--0af7c3d1-7257-4a20-aad7-38f16e569e9d, and the campaign is campaign--6911f67d-72a3-5de7-91aa-c1390d3c6673.

Posted by:

Dylan Thomas

Dylan Thomas, Do Only Good Everyday

Get new posts by email

New threat research and tutorials from dogesec, plus the weekly Obstracts threat brief. No spam, unsubscribe any time.

Thanks. Check your inbox to confirm your subscription.