Developer Tools
Safeguard articles tagged "Developer Tools" — guides, analysis, and best practices for software supply chain and application security.
2876 articles
npm install printed a deprecation message. Is it a security issue?
An npm deprecation message is a maintainer note, not an advisory and not a removal. Here is how to read it, check for a real advisory and pick a next step.
npm install or npm ci: which should a new developer run?
Run npm ci on a fresh clone to install exactly what the lockfile says. Use npm install only when you mean to change dependencies. Here is the difference.
Why does npm install fail on node alpine and how do I fix it safely?
Native add-ons need a compiler that alpine images lack. Install the toolchain in a build stage only, so it never reaches production. Steps and trade-offs.
How should a solo developer configure an npm granular access token?
Scope it to one package, set an expiry, limit IP ranges, and leave bypass 2FA off unless CI needs it. What npm documents about granular tokens.
What does npm's EOVERRIDE error mean and how do I fix it?
npm throws EOVERRIDE when an override targets a package you depend on directly with a different spec. Use the dollar reference form to fix it.
devEngines or engines: which enforces your Node version?
engines is advisory for consumers, while devEngines can fail install, ci and run for contributors. What each field checks and how to set onFail.
npm ci or npm install: which should you run on your laptop?
Use npm ci to install exactly what the lockfile says and fail on drift; use npm install only when you mean to change dependencies. Here is the difference.
npm ci or npm install: which should your CI pipeline run?
Use npm ci in CI and deploys. It installs exactly what the lockfile records and fails on a mismatch, while npm install may rewrite it. Here is why.
Can npm install only versions published before a date?
Yes. npm's before option installs only versions available on or before a time you set. Here is how it helps with intake holds and incident replay.
Can npm install only versions published before a date?
Yes. The npm before option installs only versions available on or before a date. How it works, what it helps with, and why it is not a lockfile substitute.
Does the npm audit audit-level setting hide lower findings?
No. The audit-level setting only changes the exit code threshold, not what npm audit prints. How to gate a CI job correctly and still see every finding.
Should npm audit fix --force be allowed in CI? A team decision guide
npm audit fix --force can install SemVer-major changes outside your ranges. Here is how teams decide when to allow it and who reviews the result.
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.