Developer Tools
Safeguard articles tagged "Developer Tools" — guides, analysis, and best practices for software supply chain and application security.
2876 articles
What CI changes does an npm to pnpm migration need?
A checklist for the CI side of an npm to pnpm move: installing pnpm, the packageManager field, frozen lockfile in CI, auth tokens and caching.
npm says self-signed certificate on your mirror: how do you fix it?
When npm rejects your internal mirror's certificate, trust the CA with cafile instead of switching off strict-ssl. Steps, risks and a CI-safe setup.
Why does an npm scan give different results from run to run?
Without a lockfile the dependency tree is rebuilt each time, so two scanners can see two trees. Learn how version ranges and package-lock fix the drift.
NPM SBOM: build it from package-lock.json or node_modules?
For npm projects, the lockfile shows what should install and node_modules shows what did. Learn which source to trust and when to compare both.
npm sbom or a dedicated plugin: which approach fits your project?
npm has a built-in sbom command and the CycloneDX project ships its own npm tool. Compare formats, options and when each is the simpler choice.
How do you use npm query to find risky dependencies?
npm query uses CSS-style selectors to list dependencies by type, name, script or license. Copyable queries for git deps, install scripts and duplicates.
What does npm package-lock-only do, and when should you use it?
npm's package-lock-only flag updates or reads package-lock.json without touching node_modules. When it helps, what it skips, and how to review the result.
Do npm overrides work inside a workspace package.json?
npm overrides are read only from the root package.json. Overrides in a workspace or installed dependency are ignored. How to patch a vulnerable package.
Why npm overrides in my library do not fix my users' vulnerability
npm overrides only apply in the root package.json, so a library cannot use them to patch a dependency for users. What to do instead, step by step.
npm outdated: what do wanted and latest mean for your SBOM?
Wanted is the highest version your range allows, latest is the registry tag. Use the gap to sort SBOM components into safe bumps and real migrations.
What do npm link and file: dependencies do to your lockfile?
npm link makes a symlink and is not saved to package.json by default. file: paths are saved. What each does to installs, lockfiles, publishing and review.
Can npm install-strategy linked catch phantom dependencies?
npm's linked install strategy exposes only declared dependencies, so an undeclared import fails in development. What it catches, misses, and how to use it.
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.