The 2020 and 2021 incidents dragged software supply chain security into boardrooms. Half a decade on, it is worth sorting which parts of the landscape truly moved and which are the same problems dressed in new vocabulary. A program tuned to 2021 attacks may be funding the wrong defenses while exposure sits somewhere else entirely.
Plenty stayed put. Maintainer account takeover remains the leading route into registry-layer attacks. Dependency confusion still works wherever unscoped private packages install without registry precedence rules. Known CVEs still crawl through organizations lacking automated update workflows. Structural problems, none of them resolved.
What moved is where new attack effort goes, what defenders built in answer, and the gaps opened by both at once.
What genuinely shifted after 2021
Public attention after the headline incidents turned into spending on a few concrete things: SBOM mandates, CVE scanning in pipelines, discussions of the SLSA framework, and better dependency-auditing tools. That spending delivered. Organizations that pushed SBOM compliance and CVE integration through their pipeline now defend better in exactly the scenarios those controls cover.
Attacker behavior rearranged itself around that. Registry attacks grew narrower and slower. Publishing a package under a popular name and hoping for a confused install pays less when large organizations run CVE scanning and behavioral checks on outbound installs. The approach that works now stretches over a longer window: establish a package, build genuine usage, wait months or years, then switch on the payload. Nothing anomalous happens at install time to catch, because the package cleared review long before.
Registry attacks keep climbing
Malicious package volume on npm and PyPI has risen year over year despite the defensive gains. Better detection accounts for part of the rise, since more hostile packages get found, but registry operators and outside researchers also report more submissions. The registries are bigger prizes than they once were, and automating the construction of convincing packages has made operating at scale cheap.
What shifted is the sophistication split. Crude cases get caught quickly now: obvious names, postinstall scripts that call home the moment they run, no real functionality behind any of it. Sophisticated cases live longer. A package that ships working code beside hostile code can stay listed for weeks before behavioral analysis flags it, assuming behavioral analysis runs at all.
The window between publish and removal is where attacks land. Teams installing inside that window inherit the problem. Scanning before install, rather than waiting on a registry takedown, is the way around it.
Build tooling as its own target class
Build tooling has split off as a target category in its own right. Earlier attacks aimed at packages; current ones increasingly aim at the pipeline handling them. CI runners, build scripts, container base images, workflow automation — each is an execution context with broad reach over secrets, source, and deployment credentials.
Compromising a build tool that many organizations share beats compromising packages one at a time, and attackers have worked this out. A single hostile build plugin or workflow action reaches every pipeline using it, usually with privilege no individual package could touch. Incidents running through build infrastructure have shown consistently wider blast radius than package-level attacks, because the tooling executes earlier and holds more access.
The high-value target has relocated. A team that hardened package intake while leaving build tooling dependencies at arm's length now carries an asymmetric gap: tight checks on low-access components, loose ones on the components holding the keys.
Credentials remain the weak door
Credential compromise still opens the main road to publishing hostile packages under legitimate-looking accounts. Registry account security has tightened in places, with npm phasing in mandatory two-factor authentication for high-impact packages, yet the ecosystem is vast and enforcement uneven. A large share of widely used packages on major registries sits with single individuals on personal accounts and no MFA requirement.
The weakness is structural. A registry account is valuable because taking one grants the ability to publish a malicious update that gets picked up automatically by every project referencing that package without a pin. Expected value that high makes registry-account phishing a long-running documented tactic rather than a thought experiment.
Defenders should treat any published version as potentially tampered with, whatever the publisher's standing, and scan the artifact's behavior instead of trusting the author's reputation. Reputation earned during an original review stops functioning as a durable control once the account behind it can be stolen or sold.
Assistants suggest, attackers anticipate
Picture a developer asking an AI code assistant for a utility function and getting back a suggestion that imports a package they have never seen. The package has a plausible README, working code, and a handful of stars from accounts that look like developers. It was registered six months earlier for the sole purpose of appearing in suggestions for that exact technical context. No CVE names it. No threat database lists it. Its behavioral signals are faint enough to demand a close look.
That class of attack exists in the wild. Assistants recommend packages based on training data that contains package names in code contexts. Registering packages built to surface in those recommendations, with enough surface legitimacy to survive a quick glance, is workable. It strikes at first adoption, before controls have been calibrated against the specific package.
The defense treats a suggested package like any new dependency: behavioral analysis, provenance review, and a deliberate call on whether the dependency is needed at all or the function could be written in-house.
What adjusted teams actually do
Teams that reworked their posture made two moves. Scanning moved earlier, replacing post-install scans and periodic audits with pre-install checks wired into the package manager workflow. And scrutiny widened past packages to build tooling, workflow actions, and container base images.
What most have not done uniformly is close the gap after an approved package joins the dependency set. A package clean at review can later receive a malicious update, or behave in production in ways invisible during development or CI. That is where runtime detection earns its place, sitting beside the pre-install layer rather than substituting for it.
What to do with this
The claim here is narrow. Particular patterns shifted in ways that affect how detection should be built, and programs designed for the 2021 threat set are probably misaligned with 2026. A program built on SBOM generation, CVE scanning, and periodic dependency audits answered concerns real for their era. It covers less of the patient registry campaigns, the build tooling vector, and the assistant-suggestion surface that arrived since.
Recalibrating adds to what works; nothing useful gets thrown out. CVE scanning still finds known vulnerabilities. SBOM generation still maps the dependency graph. The additions are pre-install behavioral scanning, scrutiny of build tooling, and runtime monitoring in deployed applications. Each layer catches its own category, and dropping one leaves a gap the others cannot cover.
For the runtime piece in detail, the article on detecting tampered packages at runtime explains what monitoring adds beyond static analysis and where it fits into an existing stack.