Skip to content
Web Development4 min read

Software Supply Chain Security: SBOMs, Dependency Risk and Build Provenance

Securing your software supply chain: dependency risks, lockfiles and review, SBOMs (CycloneDX, SPDX), signed builds, SLSA provenance and CI hardening.

01

How do you secure your software supply chain?

Control what comes in (lockfiles, pinned versions, review of new dependencies, vulnerability and malicious-package alerts), protect how software is built (least-privilege CI, short-lived credentials, isolated and reproducible builds), record what you shipped (SBOMs in CycloneDX or SPDX), prove where it came from (signed artefacts and provenance following SLSA), and have a plan for responding when a dependency is compromised. Start with the basics and add provenance as you mature.

This guide is for engineering leads and developers. It is educational. For a point-in-time review of licences and vulnerabilities, see open-source software audit.

02

Key takeaways

  • Pin and lock dependencies; review new ones.
  • Alert on vulnerable and malicious packages.
  • Harden CI: least privilege, short-lived credentials, protected branches.
  • Generate SBOMs on every build.
  • Sign artefacts and produce provenance.
  • Practise responding to a compromised dependency.
03

Attack paths

PathExampleControl
DependenciesMalicious package or typo-squatted nameReview, allowlists, lockfiles, malicious-package alerts
Maintainer compromiseLegitimate package publishes a bad versionPinning, delayed upgrades, monitoring advisories
CI/CDLeaked token used to push or deployLeast privilege, OIDC credentials, secret scanning
Build tamperingModified build outputIsolated builds, signing, provenance
Registries and imagesUnverified base imagesTrusted sources, scanning, signature verification
04

SBOMs

Generate an SBOM automatically during each build in a standard format such as CycloneDX or SPDX, store it with the release, and use it to answer 'are we affected?' when vulnerabilities are announced. ASD's ACSC co-authored international guidance on SBOMs, updated with 2026 minimum elements (joint guidance via NZ NCSC).

05

Provenance and signing

Provenance describes how an artefact was built: source commit, build platform, inputs and steps. SLSA (version 1.2) defines levels of build integrity, from documented provenance to hardened build platforms. Sign release artefacts and container images, publish provenance, and verify signatures before deployment. Pair this with secrets management for CI credentials.

06

Responding to a compromised dependency

  • Use SBOMs to find affected applications and versions.
  • Pin to a known-good version or remove the package.
  • Rotate any secrets the build or runtime could have exposed.
  • Check logs for suspicious behaviour.
  • Rebuild from clean sources and redeploy.
  • Follow your incident response plan; see cyber incident response plans.
07

Hypothetical example: a SaaS responding to a package advisory

This example is hypothetical. A SaaS team learned that a popular logging package had a malicious release. Because every build stored an SBOM, it found within minutes that two services used the package but at an earlier pinned version, while one internal tool had pulled the bad version through a loose version range. It removed the version, rotated the tool's credentials, rebuilt it, and tightened version ranges and new-dependency review across repositories.

08

Common mistakes

  • Loose version ranges in production builds.
  • CI tokens with broad, long-lived permissions.
  • SBOMs generated once for a customer and never again.
  • No verification of signatures before deployment.
  • Treating supply chain security as only a licence check.
09
10

Conclusion

Software supply chain security combines careful dependency management, hardened builds, SBOMs and provenance. Start with lockfiles, alerts and CI least privilege, generate SBOMs on every build, then add signing and provenance.

Customers asking about SBOMs?

ZSpace Labs is an India-based, remote-first technology studio working with Australian and international businesses on secure software delivery. We do not provide security certification, but we build these practices into the software and pipelines we deliver.

Start a Project
FAQ

Common questions.

Protecting everything that goes into building and delivering your software: third-party dependencies, build tools, CI/CD pipelines, artefact registries and deployment processes. Attacks can come through a compromised package, a malicious maintainer, a leaked CI secret or a tampered build.

Get in touch

Have a project in mind?

Whether you're building a new digital product, improving an existing website, or looking to automate part of your business — let's talk.