2026 Edition · Updated June 2026

State of the Software Supply Chain

Every package your developers download is an unsigned trust decision. In 2025 alone, open source registries logged over a million malicious packages. This page documents the scale, the vectors, the cost - and what enterprises are doing about it.

1,344,415

Malicious packages logged since 2017

Source: Sonatype Q1 2026

1 every 6 min

New malicious package published in Q1 2026

Source: Sonatype Q1 2026

$4.90M

Average cost of a supply chain breach

Source: IBM 2025

267 days

Mean time to detect and contain

Source: IBM 2025

Scale

The Open Source Attack Surface Has Hit Machine Scale

Open source is the substrate of modern software delivery - pulled continuously by pipelines, rebuilt across fleets, consumed at a scale that makes manual oversight impossible. That scale is now the primary attack surface.

Download Volume

  • npm (JavaScript): 4.5 trillion requests in 2025 - 70% YoY growth (Sonatype 2026)
  • PyPI (Python): 530 billion requests in 2025 - 80% YoY increase, largely AI/cloud driven (Sonatype 2026)
  • Total across Maven Central, PyPI, npm, NuGet: 9.8 trillion downloads in 2025 - up 67% YoY (Sonatype 2026)

Malicious Package Volume

  • 1,346,867 malicious packages logged across ecosystems since 2017 (Sonatype Q1 2026)
  • 166,000+ human-verified supply chain threat records tracked across 16 ecosystems (OpenSourceMalware.com, June 2026)
  • 21,764 malicious packages identified in Q1 2026 alone - one new malicious package every six minutes (Sonatype Q1 2026)
  • 156% YoY growth in malicious packages (Sonatype 2026)

Incident Frequency

  • Supply chain incidents nearly doubled: from ~13/month (Feb-Sep 2024) to ~25/month (Apr-May 2025) (Cyble 2025)
  • H1 2025: 79 supply chain attacks affecting 690 organizations and 78.3 million individuals (Help Security 2025)
  • Supply chain compromise surged to the second most common initial attack vector - 15% of all breaches, a 68% increase (IBM 2025)
  • 92% of all npm account takeovers ever recorded occurred in 2025 - 930 of 1,011 total ATO advisories in the OSV database (Endor Labs, April 2026)
  • Only 21% of organizations enforce protections like cooldown periods, despite 81% naming OSS malware a top security priority (Endor Labs, April 2026)

Additional 2025-2026 threat signals

  • OpenSourceMalware.com adds a median of 1,000 new threat reports per week (OpenSourceMalware.com, June 2026)
  • 73% YoY rise in malicious open source packages in 2025 (ReversingLabs 2026)
  • In 2025, malicious activity on npm more than doubled - npm accounted for nearly 90% of all open source malware detected (ReversingLabs 2026)
  • More than 90% of all open source malware advisories ever filed landed in 2025 alone - a 14x increase over the prior two years (Endor Labs, April 2026)
  • H1 2026: 37 attack campaigns, 497 malicious packages indexed - 2.6x the campaign count and 4.5x the package volume of all of 2025 (Phoenix Security, June 2026)
  • May 2026 was the single busiest month on record: 14 campaigns, 346 malicious packages in 31 days (Phoenix Security, June 2026)

"Software supply chains have hit machine scale. Trust at scale is now the central engineering and business challenge of modern software."

- Brian Fox, CTO, Sonatype

Vectors

How Attackers Get In

Supply chain attacks are not a single technique. They are a class of attacks that exploit the trust relationship between developers and the packages they consume. The vectors are evolving faster than most security tooling can track.

Typosquatting

Attackers publish packages with names one or two characters off from popular libraries - reqeusts instead of requests, coloers instead of colors. Developers mistype; pipelines install without verifying.

  • Targets npm and PyPI most heavily due to permissive name registration.
  • Often combined with postinstall hooks that execute immediately - exfiltrating CI/CD secrets, tokens, and environment variables in under 100ms.
  • Detection requires ongoing heuristic scanning: Levenshtein distance checks, name similarity graphs, behavioral analysis.
  • Per OpenSourceMalware.com data (Jan-May 2026): the vast majority of malicious packages have fewer than 10,000 weekly downloads - indicative of typosquatting and dependency confusion as the dominant volume vector (OpenSourceMalware.com, June 2026)

Dependency Confusion

An attacker publishes a package with the same name as your internal package to a public registry at a higher version number. If the developer's environment is not scoped correctly, the public malicious package wins - no typo needed.

  • First publicly weaponized by Alex Birsan in 2021, who collected bug bounties from Apple, Microsoft, PayPal, Shopify, and others.
  • Still highly effective in 2025; npm and Maven Central are the most commonly exploited registries.
  • Requires no typo - the package name is identical to the internal one.
  • Configuration-level scoping is insufficient; network-level enforcement of resolution order is required.
  • ShieldedStack enforces allowlists and private registry priority at the network layer.

Account Takeover (ATO)

Attackers compromise the registry account of a legitimate, trusted maintainer and publish a malicious version of an already-trusted package. They inherit the publisher's reputation, download history, and position in every dependency tree.

  • 92% of all npm ATOs ever recorded occurred in 2025 (Endor Labs, April 2026)
  • Of 2025 npm ATOs: 38.4% of compromised packages had 1,000+ monthly downloads; 11.1% had 100,000+ (Endor Labs, April 2026)
  • Per OpenSourceMalware.com (Jan-May 2026): ATOs sat below 10% of weekly malicious packages for most of Q1, then surged through May as the Mini Shai-Hulud campaign dominated - reaching 64% of packages with 10k+ weekly downloads and 84% at the 1M+ tier (OpenSourceMalware.com, June 2026)
  • The share of high-download malicious packages is trending upward: attackers are increasingly targeting packages with the largest blast radius.
  • The Axios ATO (2026): axios@1.14.1 and axios@0.30.4 were released with a hidden dependency on plain-crypto-js@4.2.1 - an obfuscated loader using a postinstall hook to deliver a remote access trojan. Axios averages 108.4 million weekly downloads. (Sonatype Q1 2026, OpenSourceMalware.com 2026)
  • The Trivy / LiteLLM compromise (March 2026): a compromised version of the Trivy security scanner was used to insert malicious code into the LiteLLM library. Malicious PyPI versions 1.82.7 and 1.82.8 contained an obfuscated credential stealer targeting API keys, SSH keys, Git credentials, cloud secrets, Kubernetes tokens, Terraform/Helm artifacts, and CI/CD config. (Sonatype Q1 2026)

Build Pipeline Injection / Malicious Maintainer

Long-game attacks where a threat actor earns maintainer trust over months or years, then injects malicious code - or compromises the build pipeline directly.

  • XZ Utils backdoor (CVE-2024-3094, CVSS 10.0, 2024): A nation-state actor spent ~2 years building a fake developer identity ("Jia Tan"), earned commit access to the XZ compression library, then inserted a backdoor targeting SSH authentication. Caught by a single Microsoft engineer noticing anomalous CPU usage - hours before shipping to Debian and Red Hat stable. (Wired, CrowdStrike 2024)
  • SANDWORM_MODE (Q1 2026): typosquatted npm packages that harvested npm tokens, GitHub tokens, environment variables, and cryptographic keys - plus code designed to spread into additional repositories. Notably included functionality to interact with a local Ollama instance, suggesting early experimentation with self-modifying malware. (Sonatype Q1 2026)
  • Nation-state actors (Lazarus Group / DPRK-linked) treat open source as a systematic delivery channel, publishing waves of malicious npm packages mimicking is-buffer, eslint, redux, and React tooling. Sonatype attributed 107 malicious packages to Lazarus Group in Q2 2025 alone - accounting for 30,000+ known downloads. (Sonatype Q2 2025)

AI Slopsquatting

AI code assistants hallucinate package names that do not exist. Attackers register those hallucinated names with malicious payloads, then wait for AI-generated code to be copied into projects.

  • Term coined by Seth Larson, Security Developer-in-Residence at the Python Software Foundation.
  • A study of 16 LLMs found 440,000 hallucinated package dependencies in generated code - open source models at 21% hallucination rate (Ars Technica, April 2025)
  • Real-world malicious packages exploiting this vector have accumulated tens of thousands of downloads (Cloud Security Alliance, April 2026)
  • OpenSourceMalware.com documents events-channel as a live example: an npm package mimicking Node.js's built-in events module, surfaced via LLM hallucination - still live with 168,000 downloads despite being reported (OpenSourceMalware.com, June 2026)
  • Hallucinated packages look completely legitimate - no typo, no suspicious name.
  • The attack surface is expanding beyond code packages: 700+ malicious AI agent skills were found in the ClawHub registry between January and end of March 2026 - targeting crypto/finance (32%), social media/marketing (19%), CLI impersonations (17%), productivity (16%), developers (12%). (OpenSourceMalware.com, June 2026)

Ecosystems

Where the Risk Lives by Ecosystem

Not all ecosystems carry equal risk. npm leads in raw attack volume. PyPI is growing fastest. But every ecosystem ShieldedStack protects has active, documented malware campaigns.

RegistryEcosystem2025 VolumeThreat DataKey Risk
npmJavaScript / Node.js4.5T requests146,237 malicious packages in OSM database (OpenSourceMalware.com 2026); 75% of Q1 2026 malicious packages (Sonatype); malicious activity more than doubled in 2025 (ReversingLabs)postinstall hook abuse; ATOs targeting packages with 100M+ weekly downloads.
PyPIPython530B requests10,940 malicious packages in OSM database (OpenSourceMalware.com 2026); PyPI rate of new malicious package growth now tracks npm velocity (OSM Jan-May 2026); declined 43% in 2025 as npm dominated, but multi-ecosystem campaigns now hit both simultaneously (ReversingLabs 2026)Permissive name registration; AI/cloud boom driving adoption and attack surface.
NuGet.NET / C#Enterprise-scaleRising; enterprise-targeted; stricter verification but dependency confusion documented.Internal package shadow attacks in enterprise .NET shops.
Maven CentralJavaTrillions (combined)Stricter verification; build pipeline attacks documented; Lazarus Group active.Transitive depth; one compromised library affects thousands of downstream packages.
CargoRustRapid growthRelatively low historical volume, but growing surface and community trust model.No mandatory code review; namespace growing faster than tooling.
Go modulesGoRapid growthNamespace squatting; vanity import path abuse.Decentralized hosting makes verification harder.
RubyGemsRubyMature/stableDocumented campaigns; postinstall hooks exploited.Many unmaintained gems with accumulated CVEs.
ShieldedStack proxies all seven ecosystems from a single policy console. One configuration, unified visibility, consistent enforcement.

Cost

What a Breach Actually Costs

The IBM Cost of a Data Breach Report 2025, based on interviews with 600+ organizations breached between March 2024 and February 2025, provides the most rigorous breach cost data available. Supply chain compromise is consistently at the top of both frequency and cost tables.

$4.91M

Average cost of a supply chain compromise breach globally

IBM 2025 - 11% above the global average breach cost of $4.44M

267 days

Mean time to identify and contain

IBM 2025 - the longest breach lifecycle of any attack vector IBM tracks

17x

More expensive to remediate than direct first-party breaches

SOCRadar 2025

$60B

Global annual cost of software supply chain attacks in 2025

Cybersecurity Ventures - projected to reach $138B by 2031

15%

Share of all breaches attributable to supply chain compromise in 2025

IBM 2025 - a 68% increase over prior year

SectorAverage breach cost
Healthcare$7.42M (IBM 2025)
Financial services$5.56M (IBM 2025)
Industrial / manufacturing$5.56M (IBM 2025)
Defense$5.46M (IBM 2025)

"Supply chain compromise surged to become the second most prevalent attack vector at 15% of breaches - and second costliest at $4.91M - behind only malicious insider threats."

- IBM Cost of a Data Breach Report 2025

Incidents

It's Not Theoretical

These are attacks on packages, tools, and libraries your developers used this week.

Miasma / Red Hat + Microsoft

npmGitHubJune 2026

Starting June 1st: 32 @redhat-cloud-services packages (avg. 80,000 weekly downloads) compromised, expanding to 80+ packages and 286+ malicious versions within days. The same campaign then disabled 73 repositories across Microsoft's Azure, Azure-Samples, microsoft, and MicrosoftDocs GitHub organizations - all within a 105-second window on June 5, 2026.

Source: OpenSourceMalware.com, June 2026

Axios Account Takeover

npm2026

Attackers hijacked the npm publishing account and released axios@1.14.1 and axios@0.30.4 with a hidden transitive dependency on plain-crypto-js@4.2.1 - an obfuscated loader that used a postinstall hook to fetch and execute a remote access trojan with OS-specific launchers for macOS, Windows, and Linux. Axios averages 108.4 million weekly downloads. The attacker needed only to change a transitive dependency, not rewrite the library.

Source: Sonatype Q1 2026, OpenSourceMalware.com 2026

SANDWORM_MODE

npmQ1 2026

Typosquatted npm packages harvesting npm tokens, GitHub tokens, environment variables, cryptographic keys, and API credentials - plus code to spread into additional repositories and workflows. Included functionality to interact with a local Ollama instance, suggesting early experimentation with self-modifying AI-assisted malware inside compromised environments.

Source: Sonatype Q1 2026

Trivy / LiteLLM Compromise

PyPIMarch 2026

A compromised version of the Trivy security scanner was used to insert malicious code into the LiteLLM library. Malicious PyPI versions 1.82.7 and 1.82.8 contained an obfuscated credential stealer and dropper targeting API keys, SSH keys, Git credentials, cloud secrets, Kubernetes tokens, Terraform/Helm artifacts, and CI/CD config. A trusted security tool became the attack path.

Source: Sonatype Q1 2026

Shai-Hulud npm Worm

npmAugust 2025

Self-propagating malware that harvested npm and GitHub tokens, then auto-published malicious versions of any accessible packages. First wave compromised 180 packages including @ctrl/tinycolor (2M+ weekly downloads). Second wave expanded to ~800 packages, touching Zapier, ENS Domains, PostHog, and Postman-linked projects. The first registry-native worm.

Source: ReversingLabs 2026, Group-IB 2026

XZ Utils Backdoor

Linux / C2024

A nation-state actor operated as "Jia Tan" for 2+ years, earned maintainer trust on the XZ compression library, then inserted CVE-2024-3094 (CVSS 10.0) - a backdoor into SSH authentication. Caught hours before shipping to Debian and Red Hat stable by a single engineer noticing anomalous CPU usage. The closest the ecosystem has come to universal infrastructure compromise.

Source: Wired, CrowdStrike 2024

SolarWinds Orion

Windows / enterprise IT2019-2020

Nation-state actors inserted malicious code into a SolarWinds Orion update, distributed to 18,000+ customers including US federal agencies and Fortune 500 companies. Provided persistent backdoor access for months before detection. The canonical enterprise supply chain attack.

Source: Secureframe

Compliance

Compliance Is Now Mandatory

EU-based enterprises face binding supply chain security requirements across three frameworks. Non-compliance is a fine risk, not a theoretical one. ShieldedStack is an EU-based company built with these requirements in scope.

EU Cyber Resilience Act (CRA)

  • Manufacturers and distributors of products with digital elements sold in the EU
  • Explicit machine-readable SBOM covering top-level dependencies required
  • Reporting from September 2026; full enforcement December 11, 2027
  • Up to €15M or 2.5% of global annual turnover

Source: codekeeper.co, June 2026

NIS2 Directive

  • Essential and important entities across critical sectors in EU member states
  • Supply chain security implied within risk management scope; SBOM within scope
  • Member state transposition required October 2024
  • Up to €10M or 2% of global annual turnover for essential entities

Source: Manifest Cyber, Anchore 2025

DORA

  • EU financial services entities and critical ICT third-party service providers
  • ICT asset inventory, third-party dependency register, exit strategies
  • Enforceable from January 17, 2025
  • Up to 2% of total worldwide annual turnover or €5M, or 1% of average daily turnover for ongoing breaches

Source: codekeeper.co, June 2026

ShieldedStack's audit-ready trails and SBOM export cover every package flowing through your proxy - across all seven ecosystems - giving you a continuously updated dependency inventory ready for CRA, NIS2, and DORA reporting.

Protection

Your Current Stack Has a Blind Spot

Dependabot, Snyk, and similar tools are not wrong - they are incomplete. They operate post-download. By the time they alert, the package is already on developer machines, in the CI artifact cache, and potentially executing postinstall hooks.

Why Traditional Scanners Miss This

PROACTIVE
Post-Download ScannersShieldedStack
When it runsAfter packages are committed to your repoBefore the package reaches any machine
Local developer installsNot coveredIntercepted at download
CI restore jobsNot coveredIntercepted at download
postinstall hook executionAlready happenedPackage never delivered
Novel malware (not yet in CVE DB)No signalAge-based risk flags new packages
Dependency confusionRequires config; bypassableEnforced at network level
SBOM sourceLock file inferenceObserved actual downloads
EcosystemsVaries by toolAll 7 from one console
The gap is not coverage overlap - it is timing. A postinstall hook executes in milliseconds. A Dependabot PR takes hours to days to reach a developer. ShieldedStack operates at the only moment that matters: before the package lands.

See full comparisons: vs Snyk · vs Dependabot · vs JFrog · vs Socket Firewall

Minimum Viable Posture for 2026

  1. 1

    Proxy all package downloads

    Every ecosystem, every environment: dev machines, CI agents, staging. If it is not proxied, it is uncontrolled. A proxy that covers npm but not PyPI is a half-measure - coordinated multi-ecosystem campaigns now hit both simultaneously.

  2. 2

    Enforce severity-gated blocking

    Hard-block Critical and High CVEs in production CI. Alert-only policies do not stop attacks; they document them afterward.

  3. 3

    Scope all private packages explicitly at the network level

    Configuration-level scoping is insufficient. Dependency confusion attacks work precisely because developers trust their tooling. Enforce resolution order at the proxy layer.

  4. 4

    Apply age-based risk policy

    Newly published packages (< 7-14 days old, no established download history) carry disproportionate risk. Block or require manual approval for new packages in production pipelines.

  5. 5

    Generate a real-time SBOM from observed downloads

    Not a point-in-time lock file snapshot. An SBOM based on what actually flowed through your proxy, continuously updated. Required for CRA compliance from September 2026.

  6. 6

    Enable audit trails for all package decisions

    Who downloaded what, when, from which environment, blocked or allowed. Required for post-incident review and regulatory reporting.

  7. 7

    Treat AI-suggested package names as untrusted

    Any package name surfaced by an LLM coding assistant should be verified against the registry before installation. events-channel had 168,000 downloads before it was flagged. Slopsquatting is confirmed, not theoretical.

  8. 8

    Audit transitive dependencies, not just direct

    The axios compromise arrived through a hidden transitive dependency (plain-crypto-js), not a change to axios itself. Modern JavaScript projects routinely exceed 500 transitive packages.

Get Started

Stop Trusting Package Managers Blindly

267 days. That is the average time a supply chain breach goes undetected. One package. One postinstall hook. That is all it takes.

ShieldedStack proxies all seven package ecosystems - npm, PyPI, NuGet, Maven, Go, Cargo, and RubyGems - and blocks vulnerable packages before they reach your environment. Setup takes minutes. Coverage is immediate.

Already using Dependabot or Snyk? ShieldedStack fills the gap they cannot cover. See how it compares →

Sources

Methodology

This page aggregates publicly available research and primary reports. Statistics are attributed to their original sources inline. Where multiple sources report the same metric, we use the most conservative figure unless stated otherwise. This page is updated as new primary data is published.

  1. OpenSourceMalware.com - Software Supply Chain Malware Landscape: January-May 2026
  2. OpenSourceMalware.com - Show Episode #7 (June 3, 2026)
  3. OpenSourceMalware.com - Miasma Reaches Azure (June 5, 2026)
  4. Sonatype - Q1 2026 Open Source Malware Index
  5. Sonatype - Q3 2025 Open Source Malware Index
  6. Sonatype - Q2 2025 Open Source Malware Index
  7. Sonatype - 2026 State of the Software Supply Chain
  8. Endor Labs - Malware in Open Source Ecosystems Surges 14x, April 2026
  9. ReversingLabs - 2026 Software Supply Chain Security Report
  10. IBM - Cost of a Data Breach Report 2025
  11. Phoenix Security - Supply Chain Attacks 2026: npm, PyPI, VS Code, AI Agents
  12. Cybersecurity Ventures - Software Supply Chain Attack Cost Projections
  13. Group-IB - Six Supply Chain Attack Groups to Watch in 2026
  14. Kaspersky - Most Notable Supply Chain Attacks of 2025
  15. Wired / CrowdStrike - XZ Utils Backdoor CVE-2024-3094
  16. Cloud Security Alliance - Slopsquatting Research Note, April 2026
  17. Ars Technica - AI Code Hallucinations and Package Confusion, April 2025
  18. codekeeper.co - SBOM Compliance: CRA, NIS2, DORA, June 2026
  19. Bright Defense - 120 Data Breach Statistics 2026
  20. Prosegur / Cipher - Supply Chain Attacks 2025 Analysis