What is a software supply chain attack?

In short
A software supply chain attack happens when someone tampers with the tools, code, or dependencies that build software, so the final product carries a hidden threat. The attacker targets a weaker link upstream instead of the finished app. SLSA is a security framework that helps teams guard against this.
What the attack looks like
A software supply chain is every step that turns source code into a running program. It includes the code itself, the libraries it pulls in, the build servers that compile it, and the registries that distribute it. An attacker who compromises any one of these steps can slip malicious code into software that many people trust.
The attack is often quiet. The attacker may not touch the target company at all. Instead, they might alter an open source dependency, steal a maintainer's publishing credentials, or change a build script so that the output differs from the reviewed source. The resulting artifact looks normal, so downstream users install it without suspicion.
Why it is hard to defend
Modern projects depend on hundreds of packages, and each package depends on more. Few teams can read every line of every dependency. The core problem is artifact integrity: you need to know that the code you are running is the code you meant to run. The official SLSA documentation puts it simply. As a system grows, you need checks and best practices already in place, because otherwise it is hard to focus your effort on the next breach.
The risk is also not limited to open source. Commercial software has the same kind of chain, with internal build systems and vendor components. Insider threats count too, since a person with build access can alter output without anyone else noticing.
How SLSA helps
SLSA, short for Supply-chain Levels for Software Artifacts, is a security framework. It works as a checklist of standards and controls that aim to prevent tampering and improve integrity. It is pronounced "salsa".
SLSA defines four levels of increasing assurance. The lower levels start with basic steps, such as making sure builds are scripted and documented. Higher levels add stronger protections against advanced threats, such as hardened build platforms and verifiable provenance, which is a record of how an artifact was built. The idea is to move from "safe enough" to as resilient as possible, one link at a time. Read the level specifications on the official site before adopting any specific requirement, since the exact criteria are defined there and not in this article.
SLSA is meant for three groups. Producers use it to protect against tampering and insider threats. Consumers use it to check that the software they rely on meets a known standard. Infrastructure providers, such as build platforms and package registries, use it as a guide for hardening their systems.
A simple example
Imagine a team that publishes a library. Without controls, anyone who gets a maintainer's token could upload a new version from a laptop. Consumers would have no way to tell that version apart from a genuine release.
A basic step toward integrity is to build the release only in a controlled CI environment, from a tagged commit in the source repository. The release process then records where and how the artifact was made. A consumer can check that record before installing. This is a simplified picture; the SLSA levels describe the concrete requirements.
Common mistakes
Teams often focus only on scanning for known vulnerabilities and forget the build itself. A clean scan does not prove that the artifact matches the source. Another mistake is treating supply chain security as a one-time project. SLSA frames it as a plan that hardens over time, with steps added as the system grows.
Changing the development process without slowing it down is a real barrier, and it is a reason to start with the lower, simpler levels. Pick the controls that fit your current setup, and build up from there.
Where to go next
If you want the formal requirements, start with the SLSA documentation and its level specifications. The project is led by a cross-organization steering group and is part of the Open Source Security Foundation. Because SLSA is vendor-neutral, it can serve as a shared language when you talk with suppliers and partners about how their software is built.
FAQ
Is SLSA a tool I can install?
No. SLSA is a framework, which means a set of standards and controls to follow. You apply it through your own build processes, tools and policies.
What do the four SLSA levels mean?
The levels describe increasing assurance about how software and its supply chain are protected. Lower levels cover basic steps, and higher levels add stronger protections against advanced threats. Check the official level specifications for the exact requirements.
Who should care about SLSA?
Producers of software, consumers who depend on it, and providers of build platforms and package ecosystems can all use SLSA. Each group uses it for a different purpose.
Does SLSA only apply to open source software?
No. The framework covers the builds, sources and dependencies of both open source and commercial software.
Sources
This page is based on the official documentation below. Read it for full detail.
Software supply chain security — official documentation ↗