Supply-Chain Security Guidance: A Directory of Real Sources
"Secure your supply chain" is easy advice to give and hard to act on. The useful material comes from a small number of foundations, open projects and government agencies, each with a different focus. This directory lists them, says what each publishes, and notes which parts are most relevant to someone maintaining a library rather than running a large platform.
Open source foundations and projects
- Open Source Security Foundation (OpenSSF)
- A Linux Foundation project that hosts working groups and tools. For maintainers, the most practical outputs are the OpenSSF Scorecard, which checks a repository for practices such as branch protection, pinned CI dependencies and token permissions, and its published guides on topics like coordinated vulnerability disclosure. Running Scorecard against your own repository is a quick way to find gaps.
- SLSA (Supply-chain Levels for Software Artifacts)
- A framework, now under OpenSSF, that defines levels of build integrity and a format for provenance: a signed statement of what was built, from which source, by which builder. You do not need to "achieve a level" to benefit; reading the threat descriptions helps you see where an attacker could tamper with a release.
- Sigstore
- An open project providing keyless signing and a public transparency log. npm provenance and PyPI attestations build on it, so understanding Sigstore's model explains what a provenance badge on a registry page means.
Government agencies
- CISA (U.S. Cybersecurity and Infrastructure Security Agency)
- Publishes material on Software Bills of Materials (SBOMs) and secure-by-design principles. Useful when downstream users, especially in regulated industries, start asking your project for an SBOM.
- NIST (U.S. National Institute of Standards and Technology)
- Publishes the Secure Software Development Framework, SP 800-218. It is written for organisations, but its practice list, such as protecting code from unauthorised access and archiving each release, maps cleanly onto small projects too.
Registries themselves
npm, PyPI, crates.io and the Go project each document their own security features: two-factor requirements, scoped tokens, Trusted Publishing, and how to report a malicious package. These pages change more often than the frameworks above, so check them directly before configuring a release workflow.
Where to start, by situation
| Your situation | Start with |
|---|---|
| Solo maintainer, a few packages | Registry security docs, then an OpenSSF Scorecard run |
| Releasing from CI already | SLSA provenance and your registry's Trusted Publishing docs |
| Users asking for an SBOM | CISA's SBOM material and the SPDX or CycloneDX formats |
| Company with an internal library programme | NIST SP 800-218 as a checklist backbone |
A caution about secondary sources
Vendor reports in this space often lead with large numbers about attacks. Some are careful, some are marketing. When a figure matters to a decision, trace it to the method behind it. For the practical steps, the primary sources above are enough. See also package provenance attestations and resources.