Supply Chain
Safeguard articles tagged "Supply Chain" — guides, analysis, and best practices for software supply chain and application security.
1528 articles
Do old Lambda versions and aliases keep running vulnerable code?
Published Lambda versions are immutable. After you patch the latest code, an alias or trigger can still invoke an old vulnerable version. How to clean up.
Nx s1ngularity (August 2025): from a PR title to a npm token
Per the Nx advisory, a workflow injection flaw exposed an npm token and malicious nx versions followed. The steps, the editor extension path and fixes.
How do you configure npm trusted publishing and fix common errors?
Configure npm trusted publishing with the exact repo, workflow filename and environment. Check CLI version, the repository field and the 2 day expiry.
What is npm staged publishing and should maintainers use it?
npm staged publishing lets CI stage a release while a maintainer approves it with 2FA. What the commands do, the requirements, and when it is worth using.
How do you publish an npm package with provenance on GitHub?
Publish with npm provenance from GitHub Actions: grant id-token write, use a hosted runner, match the repository field, and use the provenance flag.
What are npm optionalDependencies, and why do they matter for security?
optionalDependencies let an install continue when a package fails to build. Learn the override rule, how to skip them, and what they mean for scanning.
npm files field vs .npmignore: which one decides what you publish?
The files field is an allowlist for your npm tarball and beats a root .npmignore. See what is always included or excluded, and how to avoid leaking files.
What does the npm latest tag mean, and can it change under you?
The latest dist-tag is what npm installs when you give no version, and publishers can move it. Learn what that means for installs, pinning and response.
What does npm's disallow tokens publishing setting do?
npm's Require two-factor authentication and disallow tokens setting blocks token-based publishing. What it changes, what it keeps, and when not to use it.
What is bundleDependencies in npm, and can scanners miss those packages?
bundleDependencies packs dependency code inside your tarball instead of resolving it at install. Learn how it works and why it can hide parts from scans.
How do you handle SBOMs that point to other SBOMs?
Suppliers often link to a sub-component's own SBOM instead of inlining it. Here is how to resolve external references safely and keep the chain intact.
How to monitor a health software vendor between annual reviews
A yearly questionnaire misses fast moving risk. Five signals buyers can check themselves, with a table of what to watch and what to do when it changes.
Self-healing security runs on Safeguard.
Your first fix PR is minutes away.
No sales call required, even your agent can complete the purchase over MCP.