Annz Technology

CyberSecurity

Software Supply Chain Security: Protect Your Dependencies in 2026

A
Annz Tech Team
Nov 20, 2026
3 min read
Share
Software Supply Chain Security: Protect Your Dependencies in 2026

Picture a normal Tuesday. A developer runs npm install, the build goes green, and the feature ships. Nobody notices that one of the 900 packages pulled in along the way was updated an hour earlier by an attacker who had taken over a maintainer's account. That is software supply chain security in practice, and in 2026 it has become one of the most practical security problems for any team that ships software.

Why supply chain attacks keep working

Modern applications are mostly assembled, not written. A typical web project leans on hundreds of open source packages, and each of those has its own dependencies. Attackers have worked out that compromising one popular package is far cheaper than breaking into thousands of companies one by one.

The recent record backs this up. Google's threat intelligence group reported that, between February and May 2026, a threat actor it tracks as UNC6780 (also known as "TeamPCP") ran wide-ranging compromises across open source ecosystems including PyPI, npm and Docker Hub. The UK's National Cyber Security Centre has also published guidance on the May 2026 "Mini Shai-hulud" attack, and notes that similar later attacks have stayed undetected longer and spread further.

The three questions every team should be able to answer

  1. What are we running? Can you list every package and version in production, including transitive dependencies?
  2. Are we affected? When a compromised package is announced, can you answer in minutes rather than days?
  3. What can a bad package do? If one slipped in, what secrets and systems would it be able to reach?

Most teams struggle with all three. That is where the practical work begins.

Practical defences that don't need a big budget

Generate an SBOM (software bill of materials)

An SBOM is an inventory of the components in your software, usually in CycloneDX or SPDX format. Google's guidance recommends automated SBOMs for internal and third-party packages so you can check your inventory against newly disclosed threats. One caveat: security writers have pointed out that an SBOM alone can't always show what code actually executed during an incident. Treat it as a map, not a full investigation.

Lock your versions

Commit your lockfile and install with commands that respect it, such as npm ci in CI. Floating version ranges mean tomorrow's build can silently differ from today's.

Add a dependency cooldown

Many malicious releases are caught and removed within days. Some teams therefore delay adopting brand-new versions for a short window, often a week. Some vendors claim this would have blocked most major attacks of 2025, but that figure comes from vendor reports, so treat it as a promising idea rather than a guarantee. Tools like Renovate and Dependabot can be configured with minimum-age rules.

Cut install-time scripts and secrets exposure

Install scripts run with your permissions. Disable them where you can (for npm, --ignore-scripts), keep long-lived credentials out of build environments, and prefer short-lived tokens. On the publishing side, MFA and trusted publishing reduce the risk of maintainer account takeover.

Scan and verify

Run dependency scanning in CI, pin container base images by digest, and use build provenance frameworks like SLSA and signing tools like Sigstore where your stack supports them.

What it means for business leaders

This isn't only an engineering concern. Customers, regulators and procurement teams increasingly ask vendors how they manage dependencies. Being able to hand over an SBOM and describe your update policy builds trust, and it shortens security questionnaires. The UK government's Software Security Code of Practice is one example of expectations moving in this direction.

A simple starting plan

  • This week: commit lockfiles, switch CI to locked installs, and generate your first SBOM.
  • This month: add automated dependency scanning and a minimum-age rule for updates.
  • This quarter: audit what secrets your build pipeline exposes, and rehearse the "are we affected?" drill.

Conclusion

You can't avoid open source, and you wouldn't want to. But you can stop trusting it blindly. Know what you run, slow down on brand-new releases, and limit the damage a bad package can do. If you'd like help securing your software delivery pipeline, the team at Annz Tech would be glad to talk.

You didn't write most of your code, but you're still responsible for all of it.

What we're building, what we're learning. A few emails a year, no spam.