Served As Given: A Detection Engineering Analysis of a Vendor Script Changed at the Source, and Why the Site Owner Could Not Say What Ran
A detection engineering analysis of a class of attack: a third-party script that websites load from a vendor is changed at the vendor, so every customer's page runs the changed code with the page's own trust. The anchor is the Optimizely Web Experimentation incident of 16 November 2026, in which, per the vendor, a flaw in a legacy sign-up flow and a legacy impersonation feature let an unauthorised party write JavaScript into customer projects; Report URI counted 188 infected snippets across at least 178 organisations. The defender is the website operator, not the vendor. It names the structural cause delegated authorship: including a vendor script delegates authorship of the page to whoever can write that script, while the operator's controls mostly key on where a script comes from rather than who last changed it. The vendor's own account says it learned of the attack from a customer ("This is how we found out."), and afterwards affected brands could not say what code had run in their visitors' browsers. Three browser behaviours the ranking depends on were tested with a benign harness in Chrome 158: under a nonce plus 'strict-dynamic' policy (the shape of the vendor's documented example) a second stage loaded by the trusted snippet from an unlisted host runs; 'unsafe-eval' lets strings execute under a host-restricted policy; and connect-src alone does not cover every outbound request type, while default-src does. Detections are ranked by whether they watch something the attacker must do, led by an authorised-change join between the script as served and the operator's own publish record. The paper states the PCI DSS 6.4.3 and 11.6.1 scope and interval gaps, what the class makes undetectable, what actually found each incident (in no primary the operator's own monitoring), what would falsify the argument, and what the authors are not claiming. Companion detection content (CSP templates, Sigma, KQL, SPL, a read-only script change monitor and the browser test harness) is in saluca-labs/detection-content, campaign 2026-11-vendor-script-at-source, under Apache-2.0.
Authors
- Cristian Ruvalcaba (ORCID: https://orcid.org/0009-0008-3891-8120)
- Saluca Agentic AI Research Team
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-30
- DOI
- https://doi.org/10.5281/zenodo.24693415
- Primary Topic
- Web Application Security Vulnerabilities
- Type
- article
- Field-Weighted Citation Impact
- 0.00