Ankit is a Senior Engineering Manager at GitHub, where he leads the Dependabot team in the Supply Chain Security organization.

Recent findings suggest that ​A supply chain attacker’s startup cost is close to zero. Publishing a malicious package to an open-source registry is free. Hijacking a maintainer account costs one successful phishing email. The defender’s side of that ledger looks different: IBM’s 2026 Cost of a Data Breach report puts the average supply chain compromise at roughly $4.96 million, with about 258 days to identify and contain. Verizon’s 2026 Data Breach Investigations Report found third parties involved in nearly half of breaches.

That asymmetry is the real story of this year’s attacks, and I have watched it play out from the operator’s side of dependency security. The economics finally shifted this fall, and most leadership teams haven’t noticed yet.

Consider what 2026 actually delivered. In August, a self-propagating worm from the Shai-Hulud malware family compromised more than 1,300 npm package versions, stealing credentials and republishing itself through the ecosystem’s own revision automation. Sonatype’s annual supply chain research logged over 454,000 latest malicious open-source packages in 2025, the overwhelming majority on npm. By mid-2026, roughly 18 newly cataloged malicious npm packages were arriving every day.

Recent findings suggest that now, price the defender’s day. When a poisoned package executes in a build pipeline, the direct damage is rarely the install itself. It is everything after: rotating every credential the build touched, auditing every system those credentials reached, pausing deployments while you establish what shipped and paying senior engineers to do forensics instead of product work. The 258-day containment average is not a technology number. It is a payroll number.

The uncomfortable math: the attacker spends almost nothing to create exposure measured in minutes, and the defender spends months of labor to be sure it is gone.

​Here is the principle I would put in front of any leadership team: in supply chain security, cost depends on where the control sits, not how sophisticated it is.

Recent findings suggest that A control that fires after installation buys you an incident response. A control that fires at install time buys you a non-event. The difference between those two outcomes is most of the $4.96 million.

That is why the most important development this year was architectural rather than clever. Registries and platform vendors began shipping install-time package firewalls: policy gates that sit between your pipelines and the upstream registry, inspecting every package request before anything executes. I lead a team that builds tooling in this space, so take my enthusiasm with that disclosure attached. But the category logic holds regardless of vendor, and several now offer it.

These gates check for behavioral change, because change is where malice hides. A package shipping its first-ever install script in a minor release. A version published by a maintainer added last week. A brand-new release that no one has had time to vet, which a short mandatory delay handles on its own, since malicious versions of widely used packages have historically been pulled within hours of publication. Each check is cheap to run and expensive for an attacker to evade, which is precisely the asymmetry reversal you want.

Industry observers note that first, ask one question of your security team this week: where does a malicious package first meet resistance in our environment, before installation or after? If the honest answer is after, you have found your most expensive blind spot, and no downstream tooling compensates for it.

In a recent development, second, make freshness a policy decision rather than an inherited default. Decide explicitly which updates your pipelines may consume immediately (fixes for known vulnerabilities) and which must age before they can execute. The waiting period costs you almost nothing in velocity and removes the window in which most short-lived malicious releases live.

Industry observers note that third, when you evaluate install-time gating, budget for the exception path, not just the blocking. Every blocked package needs a fast, logged way for an engineer to request review, or your developers will route around the control entirely, and a bypassed control is worse than none, because it indicates up in audits as protection you do not actually have.

Sources indicate that the attackers industrialized their side of this market years ago. The defenders’ side finally has a control whose costs scale the right way. The leaders who come out ahead will be the ones who moved the checkpoint before the next worm, not after.

Forbes Technology Council is an invitation-only community for world-class CIOs, CTOs and technology executives. Do I qualify?

📌 Read also:

→ Read original article