EVOPEDIA

← all systems · see it in The System

Supply chain attack

An intrusion that reaches its targets through something they trust and install from a supplier: an attacker finds a weak link in the supply chain (a maintainer account, a build server, an update server, a contractor's access, a package name), alters what the supplier ships, lets the supplier's own trusted channels carry it downstream, and exploits it in the targets (src:okafor-2024-sok; src:ohm-2020-backstabber; src:wp:supply-chain-attack). The term has no agreed definition. Walked from the defender's and the historian's side.

Properties published scienceour proposal

Sourced fields, and our own readings.

born at1974 as an evaluation finding (Karger and Schell's Air Force evaluation of Multics, as cited by src:wheeler-2009-ddc); 1984 as the famous demonstration (src:thompson-1984-trusting-trust); the dependency route predicted in 2003 and real open-source package attacks from November 2015 (src:ohm-2020-backstabber); older forms in goods not dated by any source read
born precisionyear
boundaryInside: the attack itself, from reading the chain for a weak link, through compromise, alteration and propagation, to exploitation and the objective; its concealment and its self-repair. Outside: the attacker who runs it (sys:threat-actor), the chain it rides, the defenders' practice (sys:supply-chain-security), the victims, and the law and economics that set who pays.
nested levelRuns on threat actors' operations; its medium is the supply chain of the products its targets install; walked from the defender's and historian's side (the cases, how each was found, what changed).
scaletechnological

Measures (44) published science

mean time a malicious package stays available before public report209 days (min -1, max 1,216, median 67; 174 packages, 2015-2019)
XZ Utils campaign duration2.6 years (29 Oct 2021 to 28 Mar 2024)
SolarWinds dwell before public reportabout 9 months (malicious updates from March 2020; public 13 Dec 2020); foothold by September 2019
eScan compromise duration before detectionabout 1 hour
malicious packages in the Backstabber's Knife Collection dataset174 packages (npm 62.6%, PyPI 16.1%, RubyGems 21.3%)
malicious packages that run on installation56 % (43% at run time, 1% in tests; 41% conditional)
malicious packages that typosquat61 %
mean edit distance of a typosquat name to its target2.3 Levenshtein edits (median 1.0, max 11)
malicious packages that use obfuscation49 %
malicious packages belonging to a cluster90 % (157 of 174; 21 clusters, mean 7.28 packages)
event-stream dependents at takeover1,600 packages; 1.5 million downloads a week
CCleaner malicious version downloadsabout 2.3 million downloads (undetected more than a month, 2017)
packages and maintainers implicitly trusted per average npm install79 packages, 39 maintainers per install (npm, to April 2018)
maintainers to vet to halve the riskabout 140 maintainers of more than 150,000
npm packages depending on known-vulnerable codeup to 40 %
npm packages hijackable through expired maintainer email domains8,494 packages (2,818 maintainer emails on expired domains; 1.63 million packages studied)
attack vectors in the open-source supply chain taxonomy107 vectors (94 incidents, 33 safeguards; 17 experts, 134 developers surveyed)
experts rating reproducible builds very useful58.8 % (10 of 17); 70.6% (12) rated its cost high
Debian development packages that build reproduciblyover 95 % of 30,000+ (seven years after the 2014 start)
Maven Central artifacts signed, 202397.1 % (signing mandatory since 2005)
PyPI artifacts signed, 20230.2 % (Hugging Face 0.1%, Docker Hub 1.0%)
invalid signatures, PyPI 202353.1 % (Maven Central 24.0%, Hugging Face 76.1%)
XZ Utils malicious commits8 commits (2024)
SolarWinds Orion users33,000 of 300,000 customers
SolarWinds compromised downloadsabout 18,000 government and private users; fewer than ten US agencies confirmed compromised
Target cards exposedabout 40 million cards, 1,800 stores (27 Nov to 15 Dec 2013)
Target response costabout 61 million US dollars; profit down 46% in the quarter
British Airways customers compromisedabout 380,000 customers (a further 185,000 possibly)
vendor-reported rise in supply chain attacks, 201878 % (Symantec, as reported)
detected malicious open-source packages per year929 (2020) to 459,070 (2024) packages a year (as cited from industry reports)
ENISA incidents aimed at the supplier's codeabout 66 % of 24 attacks analysed (malware used in 62%; customer data targeted in about 58%)
ENISA suppliers not knowing how they were compromised66 % (fewer than 9% of compromised customers did not know)
demand-side value of widely used open source software8.8 trillion US dollars (supply-side $4.15 billion; firms would spend 3.5 times more without it)
share of open-source demand-side value from 5% of developers96 %
security vendors giving supply chain assurances, 20253 of 14 vendors
melamine cases by 1 December 2008294,000 cases (51,900 hospitalised, 6 deaths; 68 countries banned or recalled foods)
melamine reporting delayabout 9 months from first complaints (December 2007) to provincial report (9 September 2008); company detection June 2008
British Airways individuals within the attacker's reach (ICO)about 429,612 individuals (about 244,000 with card details exposed); £20 million fine, October 2020
hallucinated packages in AI-generated codeat least 5.2 (commercial) / 21.7 (open-source) % of suggested packages; 205,474 unique names; 576,000 samples, 16 models
SUNBURST dormancy before first call home12-14 days
Sigstore signatures in its first 13 months46 million artifact signatures (public release 2021)
previously unreported malicious packages found by scanning339 packages (278, 82%, confirmed by registry maintainers)
Kaseya VSA victimsabout 60 MSPs; over 1,000 companies down organisations (2 July 2021)
time from Juniper's changed constants to disclosureabout 3 years (2012 change, 17 December 2015 disclosure)

Open contentions (7) open contention

Where sources or readings disagree. Both stay on the map.

Cross-scale patterns seen here (17) our proposal

Shapes that recur when the same kind of problem is solved at different scales, and how each shows in Supply chain attack. Each links to every other system that shows it.

Valence: what it trades, and with whom (15) published science

Each exchange with a neighbour, read from both sides: who gains, who pays, and what carries it.

Partners and parts published science

Built from / builds (4)

Sits inside / holds (3)

expressed by (16)

floor filled by (16)

Kinds (15)

Notes published science

Layers

The ways it takes in its world, where they meet, and how it acts back, each from L1 (where it meets the world) up.

supply chain attack as security researchers and incident historians describe it: an intrusion that reaches its targets through the trusted supply chain of something they install, from the supplier's weak link up to the attacker's objective (reader's view)

  1. L1: The trusted supply chain the attack runs through: packages and registries, build systems, update servers, vendors and their access, maintainers and their accounts; for goods, the factories, collection stations and testers
  2. L2: Openings sensed: the weakest member of the network, an abandoned package, an expired maintainer email domain, a popular name one typo away, a tired lone maintainer, a contractor's credentials
  3. L3: Compromise: the weakness taken (account takeover, maintainer role gained, build server foothold, update server hijacked, look-alike name published)
  4. L4: Alteration: malicious code injected into source, build, package or update, often hidden and conditional
  5. L5: Propagation: carried downstream by trusted channels, signed by the vendor, installed by dependency managers and update routines
  6. L6: Exploitation and selection: run on install or at run time; conditions and a second stage pick the victims (SolarWinds: about 18,000 entities reached, fewer than ten US agencies confirmed compromised)
  7. L7: Objective: many linked targets reached at once through what they trust, for espionage, theft, sabotage or money

the boardroom (shared floors)

  1. L4: Alteration: the malicious change made where the openings, access, reach and toolkit meet: code injected into source, build, package or update, often obfuscated and conditional
  2. L5: Propagation: the change carried downstream by the chain's own trusted channels (signed updates, dependency managers, official download sites)
  3. L6: Exploitation and selection: the code runs at install or at run time; conditions and a second stage pick the victims who matter
  4. L7: Objective: many targets reached through one breach of what they trust (espionage, theft of cards or data, sabotage, ransom, crypto theft)

way in: Credentials and access of suppliers and maintainers

  1. L1: Accounts and passcodes that give a supplier access to its customer, or a maintainer access to a registry
  2. L2: Credentials stolen from a contractor (Target's heating and air-conditioning supplier)
  3. L3: The account used as its owner: into the customer's network, or to publish to a registry

way in: Package names invented by code-writing AI models

  1. L1: Code suggested by AI models, naming packages to install
  2. L2: Invented names that no registry holds: at least 5.2% (commercial models) and 21.7% (open-source models) of suggested packages

way in: Social trust in a project's community: contributions, pressure, a tired maintainer

  1. L1: A project's mailing list, issue tracker and review process, where trust is earned by contributions
  2. L2: The opening read: a maintainer under pressure, alone with a project many systems depend on
  3. L3: Maintainer role gained: by asking (event-stream) or by years of contribution and pressure from other accounts (XZ)

way in: The attacker's own toolkit and past campaigns (inner)

  1. L1: Code, backdoors and techniques the attacker already holds
  2. L2: Code reused across packages: 90% of the dataset in clusters sharing code
  3. L3: Techniques carried across repositories

way in: The registry's name space: popular package names to imitate

  1. L1: Package names in a public registry, resolved by name when a developer installs
  2. L2: Popular names read and their likely typing slips
  3. L3: A look-alike name published

way in: The supplier's build and publishing infrastructure

  1. L1: Build servers and publishing systems that turn source into the shipped product
  2. L2: A foothold in the publishing infrastructure (SolarWinds, by September 2019)
  3. L3: The build step itself taken over

way in: The supplier's distribution and update servers

  1. L1: Download and update traffic from a vendor's servers to its customers
  2. L2: The hosting or update server compromised (Notepad++ at the hosting provider; an eScan regional update server)
  3. L3: Update traffic intercepted and redirected to the attacker's servers

way in: The supplier's reach: who depends on it and how many install it

  1. L1: The dependency graph and customer base downstream of a supplier
  2. L2: Reach read: dependents and downloads (event-stream: 1,600 packages, 1.5 million downloads a week; Orion: 33,000 users)
  3. L3: A target chosen for its reach

way in: The victim's environment, read by the planted code

  1. L1: The machine and application the code lands in
  2. L2: Probes: is the application in production, does a domain resolve, which operating system, is a given package present
  3. L3: The reading tested against the condition: 41% of malicious packages run only if it is met
  4. L4: The hidden part unlocked only inside the target (decryption keyed to the targeted package)
  5. L5: The second stage fetched: the controller's address read from a smart contract and an operating-system-specific payload downloaded

way in: Weak links in the chain: abandoned packages, inactive maintainers, expired maintainer email domains, install scripts

  1. L1: The chain's packages, maintainers and their accounts, as listed in the registry's metadata
  2. L2: Weak-link signals read: an expired email domain, an inactive package with an inactive maintainer, an install script
  3. L3: The weak link taken: an abandoned package or a hijacked account

way in: What the defenders do, as the attack meets it: error reports, takedowns, detections

  1. L1: Defenders' actions: a controller taken down, a memory checker's error report, a scanner
  2. L2: The defence noticed by the attacker: the backdoor shows up as Valgrind errors; a controller is down
  3. L3: A change made to answer it: the issue 'fixed', the contract updated with a new address, controllers and payloads changed

way out: Act on the objective: steal cards and data, spy, encrypt or destroy, disable defences

  1. L1: Effects on the victim's world: 40 million cards exposed (Target), card data sent to a look-alike domain (British Airways), antivirus updates turned off (eScan)
  2. L5: Reports back and further orders over the controller channel
  3. L7: The objective

way out: Conceal: obfuscate, ship only in release tarballs, remove from source, keep changing controllers

  1. L1: What the defenders' readers of the chain see is the ordinary artifact
  2. L2: Encoding, minification and string sampling applied
  3. L4: Hiding chosen with the change

way out: Publish the altered product into the chain (a package, a signed update, a build output, a release tarball)

  1. L1: The altered artifact sits in the chain, waiting to be installed
  2. L2: Released through the supplier's own publishing step
  3. L4: The change written into the artifact
  4. L7: The objective sets what to alter and where

way out: Run on the victim: install scripts, runtime calls, test hooks

  1. L1: Code running with the victim's rights on the victim's machine
  2. L3: The install command or the calling program executes the code
  3. L6: Run chosen: at install or at run time

Sources (31) published science

Supply chain attack (Wikipedia, via Wikimedia Enterprise snapshot)
Przymus, Durieux 2025. Wolves in the Repository: A Software Engineering Analysis of the XZ Utils Supply Chain Attack. arXiv:2504.17473 (behind its links)
Zimmermann, Staicu, Tenny, Pradel 2019. Small World with High Risks: A Study of Security Threats in the npm Ecosystem (USENIX Security 2019). arXiv:1902.09217 (behind its links)
Schorlemmer et al. 2024. Signing in Four Public Software Package Registries: Quantity, Quality, and Influencing Factors (IEEE S&P 2024). arXiv:2401.14635 (behind its links)
National Cyber Security Centre New Zealand (29 Sep 2025) Widespread supply chain compromise impacting npm ecosystem (alert, read in full; the CISA alert of 23 Sep 2025 with the same title answered 403 to our reader and was not retried) (behind its links)
3CX Phone System (Wikipedia, via the Wikimedia Enterprise snapshot; security incident section read) (behind its links)
ENISA (29 Jul 2021) Understanding the increase in Supply Chain Security Attacks: press release on the ENISA Threat Landscape for Supply Chain Attacks (the press release read in full; the report itself not reached, its download address answered 404) (behind its links)
Okafor C, Schorlemmer TR, Torres-Arias S, Davis JC (2024) SoK: Analysis of Software Supply Chain Security by Establishing Secure Design Properties. arXiv:2406.10109 (read in full) (behind its links)
Ohm M, Plate H, Sykosch A, Meier M. Backstabber's knife collection: a review of open source software supply chain attacks. arXiv:2005.09535 (DIMVA 2020) (behind its links)
2020 United States federal government data breach (Wikipedia, via Wikimedia Enterprise snapshot; read: lead and method sections) (behind its links)
Zahan N, Zimmermann T, Godefroid P, Murphy B, Maddila C, Williams L (2022) What are Weak Links in the npm Supply Chain? ICSE-SEIP 2022; arXiv:2112.10165 (abstract read) (behind its links)
Ladisa, Plate, Martinez, Barais 2022/2023. Taxonomy of Attacks on Open-Source Software Supply Chains (IEEE S&P 2023). arXiv:2204.04008 (behind its links)
Lamb & Zacchiroli 2021, Reproducible Builds: Increasing the Integrity of Software Supply Chains, IEEE Software (arXiv:2104.06020) (behind its links)
Hamer, Bowen, Haque, Madden, Hines, Williams 2025. Closing the Chain: How to reduce your risk of being SolarWinds, Log4j, or XZ Utils. arXiv:2503.12192 (behind its links)
Hoffmann M, Nagle F, Zhou Y (2024) The Value of Open Source Software. Harvard Business School Working Paper 24-038, doi:10.2139/ssrn.4693148 (sections read: abstract and introduction) (behind its links)
Gossner CM, Schlundt J, Ben Embarek P et al. (2009) The Melamine Incident: Implications for International Food and Feed Safety. Environmental Health Perspectives 117(12):1803-1808, doi:10.1289/ehp.0900949 (read in full) (behind its links)
British Airways data breach (Wikipedia, via the Wikimedia Enterprise snapshot; abstract and investigation sections read) (behind its links)
Spracklen J, Wijewickrama R, Sakib AHMN, Maiti A, Viswanath B, Jadliwala M (2024) We Have a Package for You! A Comprehensive Analysis of Package Hallucinations by Code Generating LLMs. arXiv:2406.10279 (abstract read) (behind its links)
Kalu KG, Okorafor S, Singla T et al. (2025) Why Johnny Adopts Identity-Based Software Signing: A Usability Case Study of Sigstore. arXiv:2503.00271 (sections read: abstract, background 4.2) (behind its links)
Duan R, Alrawi O, Kasturi RP, Elder R, Saltaformaggio B, Lee W (2020/2021) Towards Measuring Supply Chain Attacks on Package Managers for Interpreted Languages. NDSS 2021; arXiv:2002.01139 (abstract read) (behind its links)
Kaseya VSA ransomware attack (Wikipedia, via the Wikimedia Enterprise snapshot; abstract read) (behind its links)
Checkoway S, Maskiewicz J, Garman C et al. (2016) A Systematic Analysis of the Juniper Dual EC Incident. ACM CCS 2016, doi:10.1145/2976749.2978395 (sections read: abstract and introduction, from the OpenAlex stored copy) (behind its links)
Thompson K (1984) Reflections on Trusting Trust. Communications of the ACM 27(8):761-763, doi:10.1145/358198.358210 (Turing Award lecture; the whole text read from the OpenAlex stored copy) (behind its links)
Lins M, Mayrhofer R, Roland M, Hofer D, Schwaighofer M (2024) On the critical path to implant backdoors and the effectiveness of potential mitigation techniques: Early learnings from XZ. arXiv:2404.08987 (read in full) (behind its links)
Anderson R (2001) Why Information Security is Hard - An Economic Perspective. ACSAC 2001, doi:10.1109/acsac.2001.991552 (read in full from the author's open PDF) (behind its links)
Das Chowdhury, Tahaei, Rashid 2022. Better Call Saltzer & Schroeder: A Retrospective Security Analysis of SolarWinds & Log4j. arXiv:2211.02341 (behind its links)
Fan Y, Wang D, Wattanakriengkrai S et al. (2024) Developer Reactions to Protestware in Open Source Software: The cases of color.js and es5.ext. arXiv:2409.15674 (sections read: abstract, introduction, case background) (behind its links)
Stalnaker T, Wintersgill N, Chaparro O et al. (2024) BOMs Away! Inside the Minds of Stakeholders: A Comprehensive Study of Bills of Materials for Software Systems. ICSE 2024; arXiv:2309.12206 (abstract read) (behind its links)
Kishimoto TK, Viswanathan K, Ganguly T et al. (2008) Contaminated Heparin Associated with Adverse Clinical Events and Activation of the Contact System. NEJM 358:2457-2467, doi:10.1056/nejmoa0803200 (abstract read) (behind its links)
Wheeler 2009. Fully Countering Trusting Trust through Diverse Double-Compiling (PhD dissertation, CC BY-SA). arXiv:1004.5534 (behind its links)
Stuxnet (Wikipedia, via Wikimedia Enterprise snapshot) (behind its links)