RESEARCH ARTICLE-TRAINING · CYBERSECURITY · 2026

When Trusted JavaScript Becomes the Attack Surface

A verified supply-chain incident, evidence classification, defensive controls and a reproducible local Python laboratory.

01 · RESEARCH ARTICLE-TRAINING

Executive assessment

On 16 November 2026, an attacker abused a vulnerability in Optimizely's Experimentation account-signup flow to insert malicious JavaScript into customer project configurations. The resulting code was distributed through trusted Optimizely snippets to visitors of major websites. The vendor acknowledged the incident and reported blocking the vulnerable path, removing injected code, ending affected sessions, revoking tokens, resetting account access and adding delivery protections. This is a confirmed third-party web supply-chain incident—not evidence that every listed company's internal network was breached.

02 · RESEARCH ARTICLE-TRAINING

What the evidence actually counts

Report URI inspected 1,611 distinct Optimizely snippets and identified 188 infected snippets associated with 178 organizations. These are observed contaminated artifacts and organizations—not a count of breached corporate networks, stolen identities or infected devices. The investigation captured copies, response headers, hashes and timestamps. Its sampling was not exhaustive, so the true exposure could be larger; the number of successful compromises remains unknown.

03 · RESEARCH ARTICLE-TRAINING

Mechanism: the trust boundary failed

The affected websites loaded an Optimizely JavaScript snippet to run experiments and personalization. The attacker placed code in the customer-configurable Project JavaScript field. The snippet still came from an approved provider domain, while the injected logic attempted to load attacker-controlled code. Some variants used Base64 obfuscation; another contained an embedded fallback. This was not demonstrated to be CDN cache poisoning. A trusted delivery origin did not guarantee trustworthy content.

04 · RESEARCH ARTICLE-TRAINING

Observed malicious capabilities

Researchers documented code intended to replace cryptocurrency wallet addresses, inspect card details entered into first-party forms, collect accessible cookies and page screenshots, and route some iOS visitors toward exploit-kit components identified as Coruna and DarkSword. Hosted cross-origin payment iframes were outside the script's ordinary direct DOM reach; HttpOnly cookies were not readable through document.cookie. Detecting exploit delivery does not itself prove that a particular iPhone was compromised. The script evolved during the day, so capability and exposure varied by time.

05 · RESEARCH ARTICLE-TRAINING

Chronology and scope

Report URI observed a clean BBC snippet at 02:21 UTC on 16 November and an injected version at 04:21 UTC. A cryptocurrency-focused payload appeared around 08:10 UTC; card-skimming functionality was added around 13:43 UTC; later builds added iOS routing. The researchers recorded 26 payload builds. At 21:52 UTC, one of the 188 previously identified snippets still contained the malicious code; later monitoring indicated cleanup. This is a sequence of observations, not a complete timeline of the attacker's initial access.

06 · RESEARCH ARTICLE-TRAINING

Financial impact: precision over headlines

Report URI observed approximately US$7,040 arriving at attacker-associated cryptocurrency wallets as of 19:25 UTC on 16 November. Independent reporting warned that some wallets were active before the incident, complicating attribution of every transfer to this campaign. No reliable public total of stolen payment cards, cookies, compromised iPhones, or corporate losses was established at the time of writing. Do not convert malware capability into confirmed victim counts.

07 · RESEARCH ARTICLE-TRAINING

Why security controls sometimes failed

A Content Security Policy (CSP) can restrict which scripts load and where data can be sent, but only if its directives are sufficiently strict and enforced. Report URI's review found just 24 organizations with policies strict enough to block the relevant attack paths; 68 lacked CSP, and 50 had policies permissive enough to allow execution and exfiltration. These counts describe the researchers' examined cases, not all websites globally. A policy that trusts the original vendor domain may still execute malicious code inserted upstream. Subresource Integrity can help with immutable third-party assets, but frequently changing experimentation snippets require a different integrity and change-management strategy.

08 · RESEARCH ARTICLE-TRAINING

Strategic implications

This incident illustrates a concentrated trust dependency: one vendor configuration plane can influence many unrelated sites. The immediate risk is visitor-side execution; secondary risks include payment fraud, account exposure, incident response costs, reputational harm and vendor governance failures. It does not establish a coordinated attack on the global internet, nor a link to unrelated outages. An organization should assess the third-party software bill of materials, privilege boundaries, vendor administrative access, browser telemetry, and contractual incident-notification requirements.

09 · RESEARCH ARTICLE-TRAINING

Defensive response: first 24 hours

Inventory all third-party JavaScript and identify whether Optimizely Web Experimentation was deployed during the incident window. Preserve script snapshots, deployment records, CSP reports, CDN logs and relevant browser telemetry. Review Project JavaScript and experiment custom code; compare versions and hashes; disable unnecessary third-party scripts while investigating. Review vendor accounts, API tokens and active sessions. If sensitive data might have been entered in first-party forms, coordinate with security, legal, privacy and payment teams for exposure assessment and notifications as required. Do not claim a breach solely because a brand appeared in the researcher list.

10 · RESEARCH ARTICLE-TRAINING

Scientific hypothesis and falsifiable pilot

Hypothesis H1: an enforced, narrowly scoped CSP combined with independent script-change monitoring detects or blocks more simulated third-party injection events than an allowlist-only policy. Null hypothesis H0: no improvement in detection or blocking is observed. Design a local-only experiment with three simulated policies, a set of benign and suspicious synthetic script-change events, and measured detection, false positives and time-to-detection. This is an educational simulation, not proof of protection against real exploit chains.

11 · RESEARCH ARTICLE-TRAINING

Evidence classification

Claim / AfirmaciónStatus / EstadoBasis / Fundamento
Optimizely account-signup vulnerabilityVendor-confirmedOptimizely statement reported by BleepingComputer
188 snippets / 178 organizationsResearcher-observedReport URI crawl and preserved artifacts
Card skimming, cookie theft, iOS exploit deliveryCode capabilities observedStatic/dynamic investigation; not victim totals
Every company internally breachedNot establishedScript exposure ≠ network intrusion
Successful exploitation of every iOS visitorNot establishedDelivery ≠ exploitation
US$7,040 attributable entirely to incidentNot establishedSome wallets predate campaign
12 · REPRODUCIBLE PYTHON LABORATORY

Reproducible Python teaching laboratory

Python 3 · Local synthetic experiment
# CU-SC-2026 | Safe, local-only synthetic experiment
# No network traffic, live websites, malware, or real personal data.
import pandas as pd
from sklearn.metrics import precision_score, recall_score, confusion_matrix

# 12 synthetic script events: 1 = suspicious change
rows = [
 ('vendor-a',0,0,0), ('vendor-b',1,0,1), ('vendor-c',0,0,0),
 ('vendor-d',1,1,1), ('vendor-e',0,0,0), ('vendor-f',1,0,1),
 ('vendor-g',0,0,1), ('vendor-h',1,1,1), ('vendor-i',0,0,0),
 ('vendor-j',1,0,1), ('vendor-k',0,0,0), ('vendor-l',1,1,1),
]
df = pd.DataFrame(rows, columns=['script','suspicious','domain_block','integrity_alert'])
# Baseline: domain allowlist-only detects no vendor-origin injections
# Enhanced: independent integrity-change monitoring flags changes
for name, pred in [('Allowlist-only', df['domain_block']),
                   ('Integrity monitoring', df['integrity_alert'])]:
    truth = df['suspicious']
    print(name)
    print('Precision:', round(precision_score(truth,pred,zero_division=0),3))
    print('Recall:', round(recall_score(truth,pred,zero_division=0),3))
    print('Confusion matrix:\n', confusion_matrix(truth,pred))
print('Synthetic events:', len(df))
# Experiment 1: Change false-positive count by altering one benign alert.
# Experiment 2: Model a stricter CSP as a separate binary block signal.
# Experiment 3: Add detection delay (minutes) and compare median time-to-detect.

Three experiments: (A) allowlist-only baseline; (B) add independent integrity monitoring; (C) change detection sensitivity and false-positive assumptions. All events are synthetic.

13 · PRIMARY SOURCES

Sources and verification

Report URI — Technical investigation

BleepingComputer — Independent reporting

Reuters — Incident reporting

PARTICIPANT / PARTICIPANTE

Participant Information

Your name is used only for the certificate generated in your browser.

0 / 10 reviewed

12 · INTERACTIVE LEARNING

Ten checks on supply-chain security

Use Check Answer or Show Answer. Enter your name, review all ten questions and answer at least five correctly for the participation certificate.

Current score: 0/10

1. What was the main attack vector?

Correct answer: B. Trusted third-party scripts distributed injected code.

2. What do the 178 organizations represent?

Correct answer: A. Exposure is not the same as a proven internal breach.

3. Which statement about iOS is supported?

Correct answer: C. Payload capability must be distinguished from confirmed victims.

4. Why can a domain allowlist alone fail?

Correct answer: B. Allowed origin does not prove integrity of delivered bytes.

5. Which response improves detection?

Correct answer: A. Independent monitoring detects unexpected changes.

6. What is the correct interpretation of wallet activity?

Correct answer: C. Attribution requires timing and corroboration.

7. What does CSP primarily control?

Correct answer: A. CSP constrains browser behavior but is not a universal integrity guarantee.

8. What is the safest purpose of the Python laboratory?

Correct answer: B. The experiment uses fictional events and no attack payload.

9. Which claim requires more evidence?

Correct answer: C. Script exposure does not establish network compromise.

10. What is the strongest strategic takeaway?

Correct answer: A. Trust requires ongoing verification and response readiness.

Certificate of Participation

Enter your name, review all ten questions and answer at least five correctly.

0 / 10

If the PDF library is unavailable, Print to PDF is offered.

INTERACTIVE CYBERSECURITY RESEARCH SERIES

Certificate of Participation

This certifies that


has actively participated in

INTERACTIVE ARTICLE-TRAINING

OPTIMIZELY 2026 — WHEN TRUSTED JAVASCRIPT BECOMES THE ATTACK SURFACE

SKILLS PRACTICED

Supply-chain threat modelingEvidence classificationJavaScript integrity controlsDefensive Python simulation
Learning time35–50 min
Participation—
Date

Juan Carballo
Training Content Curator & Interactive Learning Designer

Synthetic defensive lab only. Participation does not certify professional security competence or confirm real-world compromises.

INTERACTIVE TRAINING · JOBAQUI.COM