Skip to content
CyberReviewed

Software Supply Chain Attack Statistics 2026

CyberReviewed Research Desk ·

Our analysts combined Sonatype's 2026 open source malware research, StepSecurity's tally of 56 confirmed attacks on trusted open source components between August 2025 and August 2026, and IBM's Cost of a Data Breach Report 2026, to understand how often software supply chains are attacked as of Q4 2026, what the malicious code is built to do, and what a compromise costs.1

Key Findings

  • Sonatype logged 149,329 malicious open source packages in Q3 2026, bringing its total since 2017 to 1,960,846.
  • Sonatype found 454,600 new malicious packages in 2025, up 75% from 2024.
  • 88% of the hijacked packages Sonatype found in Q3 2026 were built to steal secrets, install more malware, or both.
  • StepSecurity confirmed 50 attacks on trusted open source components from February to August 2026, against 6 in the previous six months.
  • A breach that began with a supply chain compromise cost $4.96 million on average in 2026 and took 258 days to identify and contain.

A software supply chain attack goes after the code a company trusts instead of the company itself: an open source package, a build tool, an IDE extension, or a vendor's software update. When attackers take over a popular component, every developer machine and build server that installs the next version runs their code, often with access to the passwords and keys it needs to reach production.25

Our analysts took each figure as published and kept each source's definitions. Sonatype counts every malicious package it logs, including spam and lookalike packages, while StepSecurity counts only confirmed compromises of components people already trusted, so the two figures measure different things and are shown side by side.1

In the following sections, we look at how many malicious packages reach open source registries, what that malware is built to do, how often trusted components are hijacked, and what a supply chain breach costs.

How Many Malicious Open Source Packages Are Published

Open source registries are where most companies get their code, so the number of malicious packages that reach them is the broadest measure of supply chain risk.

Malicious open source packages logged by Sonatype
MeasureFigure
New malicious packages, 2025More than 454,600
Change from 2024Up 75%
Total logged since tracking began, end of 2025More than 1.233 million
Total logged, end of Q2 2026About 1.8 million
New malicious packages, Q3 2026149,329
Total logged, end of Q3 20261,960,846
Share of Q3 2026 malicious packages on npm89.5% (133,579)
Share of Q2 2026 malicious packages on npm96.6%

Source: Sonatype, 2026 State of the Software Supply Chain;3 Sonatype, Q2 2026 Open Source Malware Index;4 Sonatype, Q3 2026 Open Source Malware Index.2

Line chart of malicious open source packages logged by Sonatype since 2017: 1.23 million at the end of 2025, about 1.8 million at the end of Q2 2026, and 1.96 million at the end of Q3 2026
Malicious open source packages logged by Sonatype since 2017, in millions.

Source: Sonatype.234 Chart: CyberReviewed.

Key Findings

  • Sonatype added about 727,000 malicious packages to its count in the first nine months of 2026, already more than its 454,600 for all of 2025.23
  • npm, the main JavaScript registry, carried 89.5% of the malicious packages in Q3 2026, down from 96.6% in Q2 as attackers spread to other registries.24
  • Outside npm, PyPI and NuGet together held nearly 87% of malicious package activity in Q2 2026.4

What Supply Chain Malware Is Built to Do

A malicious package is dangerous for what it does after installation, so we looked at how often it steals credentials or brings in more malware.

Behavior of malicious open source packages, Q3 2026
MeasureFigure
Packages with at least one overtly malicious behavior27,618
Of those, packages that dropped more malware, stole secrets, or both74.5%
Hijacked packages found4,150
Hijacked packages built to steal secrets, drop more malware, or both88%
Package versions hit by the Mini Shai-Hulud worm, August 20262,225

Source: Sonatype, Q3 2026 Open Source Malware Index.2

Column chart of what malicious open source packages were built to do in Q3 2026: 88% of hijacked packages were built to steal secrets or drop more malware, and 74.5% of overt malware dropped more malware or stole secrets
Share of malicious open source packages built to steal secrets or install more malware, Q3 2026.

Source: Sonatype.2 Chart: CyberReviewed.

Key Findings

  • Three in four packages with overtly malicious behavior were built to steal credentials or fetch a second stage, which turns one bad install into a foothold.2
  • Hijacked packages, where attackers take over a real project, were even more focused on theft, at 88%.2
  • The Mini Shai-Hulud worm used stolen publishing tokens to spread itself, touching 2,225 package versions in August 2026.2

How Often Trusted Components Are Hijacked

The attacks that do the most damage hijack a component developers already rely on, so we looked at how often that happened over the past year.

Confirmed attacks on trusted open source components, August 2025 to August 2026
MeasureFigure
Confirmed attacks, August 2025 to August 202656
Attacks, August 2025 to January 20266
Attacks, February to August 202650
Attacks, March 202613
Attacks, April 20269
Attacks, May 20269
Attacks, June 202610
Attacks, July 20266
Secrets stolen in one five-day campaign, March 202678,330
Organizations hit by that campaign2,186

Source: StepSecurity, State of Open Source Supply Chain Attacks, 2026.5

Column chart of confirmed attacks on trusted open source components by month in 2026: 13 in March, 9 in April, 9 in May, 10 in June, and 6 in July
Confirmed attacks on trusted open source components, by month, March to July 2026.

Source: StepSecurity.5 Chart: CyberReviewed.

Key Findings

  • Until February 2026 a confirmed attack on a trusted component came about once a month; from March it was about one every three days.5
  • Self-spreading worms drove the rise, starting with Shai-Hulud, which took over more than 500 npm packages in September 2025 using stolen publishing tokens.5
  • One group, Team PCP, stole 78,330 secrets from 2,186 organizations in five days in March 2026, including 92 public companies.5

What a Supply Chain Breach Costs and How Long It Lasts

The cost of a supply chain breach and the time it stays hidden show what is at stake for a company that relies on outside code and vendors.

Cost and lifecycle of breaches that began with a supply chain compromise
MeasureFigure
Average cost, supply chain compromise, 2026$4.96 million
Average cost, supply chain compromise, 2025$4.91 million
Average cost, supply chain compromise, 2022$4.46 million
Global average cost of a breach, 2026$4.99 million
Days to identify and contain, supply chain compromise, 2026258 (194 to identify, 64 to contain)
Days to identify and contain, all breaches, 2026247
Added cost when a business partner is compromised$227,250
Rank among initial attack vectors by frequency, 2026Second, after phishing

Source: IBM, Cost of a Data Breach Report 2026;6 DataBreachCost.com;8 Cyber Reports, on IBM Cost of a Data Breach Report 2022.7

Line chart of the average cost of a breach: supply chain compromise $4.46 million in 2022, $4.91 million in 2025, and $4.96 million in 2026, against a global average of $4.35 million, $4.44 million, and $4.99 million
Average cost of a breach that began with a supply chain compromise, against the global average, in USD millions.

Source: IBM;68 Cyber Reports.7 Chart: CyberReviewed.

Key Findings

  • The average cost of a supply chain breach rose from $4.46 million in 2022 to $4.96 million in 2026, while the global average for all breaches rose from $4.35 million to $4.99 million.678
  • Supply chain breaches took 258 days to identify and contain in 2026, tied with data copied to removable media for the slowest of any vector and 11 days longer than the average breach.6
  • IBM found that a breach involving a compromised business partner added $227,250 to the average cost, the most of any factor that raised costs in its study.6

What the Software Supply Chain Figures Mean

Attacks on the code companies depend on are now frequent and fast. Malicious packages arrive by the hundreds of thousands, and the hijacking of trusted components went from about one a month to about one every three days in 2026, much of it driven by worms that steal publishing credentials and use them to spread.25

Most of that malware is built to steal secrets, so the damage reaches far beyond the developer laptop or build server where it first runs. When it does lead to a breach, IBM found it takes longer than most attacks to find and adds more to the bill than any other factor that raised costs.26

So if your teams install open source packages or run automated builds, check which components you trust, where their credentials live, and how quickly you would know if one of them changed.

Sources
  1. CyberReviewed, analysis of software supply chain attack data from Sonatype, StepSecurity, and IBM, conducted November 2026
  2. Sonatype, Q3 2026 Open Source Malware Index: When Compromise Compounds, 2026
  3. Sonatype, 2026 State of the Software Supply Chain: Open Source Malware, 2026
  4. Sonatype, Q2 2026 Open Source Malware Index: Attackers Abuse Developer Trust, 2026
  5. StepSecurity, State of Open Source Supply Chain Attacks, 2026
  6. IBM, Cost of a Data Breach Report 2026, July 29, 2026
  7. Cyber Reports, One in five data breaches due to software supply chain compromise, IBM report warns, July 27, 2022
  8. DataBreachCost.com, Supply-Chain Attack Cost: $4.96M Average, 258 Days to Contain (IBM 2026), 2026
Methodology

We took each figure as published and kept each source's definitions. Sonatype counts every malicious package it logs across npm, PyPI, Maven Central, NuGet, Hugging Face, and other registries, including spam and lookalike packages; its end of Q2 2026 total is the rounded figure Sonatype published, and the 2026 year-to-date figure is the difference between its published totals. StepSecurity counts only confirmed malicious compromises of packages, GitHub Actions, and IDE extensions that developers already trusted, and excludes vulnerabilities and brand-new malicious packages. IBM's figures come from 602 organizations breached between March 2025 and February 2026; the 2025 and 2022 supply chain costs come from earlier editions of the same report. IBM did not publish a comparable supply chain figure we could confirm for its 2023 and 2024 editions, so the chart shows only the years we could confirm, spaced to scale. The sources measure different things, so their figures are shown side by side and are not combined.

More statistics

All statistics
Line chart of machine identities for every human identity in organizations: 45 to 1 in 2022, 82 to 1 in 2025, and 109 to 1 in 2026

Non-Human Identity Statistics 2026

We combined a survey of 2,930 security leaders, a year of telemetry from enterprise applications, and a scan of public GitHub to show how many machine identities companies have, how many go unmanaged, and how often their credentials leak.