Developer Tools
Safeguard articles tagged "Developer Tools" — guides, analysis, and best practices for software supply chain and application security.
2876 articles
Peer and optional dependencies: who owns the vulnerability fix?
A vulnerability in a peer or optional dependency is fixed in different places than a normal one. How npm treats each, and what a maintainer should do.
Pause and delay controls: OS updates versus dependency bots
Windows deferrals and pauses and dependency bot cooldowns and PR limits are both ways to slow updates safely. Learn what each does and where they differ.
How do you pause a bad mobile release in the first hour?
A first hour runbook for a bad SDK update in a live app: pause Apple phased release, halt a Play rollout, ship the fix, and know what a pause cannot do.
Can SCA policy differ by directory inside one monorepo?
A monorepo often holds services of different risk. Learn how path scoped SCA policy, ownership and exceptions should work, and how to test a tool for it.
Patch queue or long-lived fork: which way should you carry changes?
A patch queue applies your changes to each upstream release. A long-lived fork keeps them in history. Compare effort, audit trail and security fit.
What patch cadence fits a team that deploys every day?
Teams that deploy daily can run dependency patching continuously and keep monthly rhythm only for hosts. Here is how to set both cadences without conflict.
How do I update a vulnerable dependency in a Go module?
Find the dependency, check if you call the flaw, upgrade with go get to a fixed version, tidy, test, and release. Step by step for Go module maintainers.
How do you patch a vulnerable transitive dependency with npm overrides?
When a client's app is stuck on a vulnerable transitive package, npm overrides can force a fixed version. Steps, limits, and when to remove the override.
How does passkey autofill (conditional UI) work for developers?
Conditional mediation lets the username field offer saved passkeys with no modal. W3C spec steps: feature check, autofill token, empty allowCredentials.
Should a CLI take a secret as a flag, env var or stdin?
Prefer reading secrets from standard input or a credential store. Flags land in shell history and process lists. Here is how the three options compare.
How do you write one security test for many attacker inputs in pytest?
Parametrize the test so each hostile input runs as its own case. Failures name the exact input, and adding a new payload is a one line change.
Packer plugins: how do you pin versions and vet third-party ones?
Packer templates pull plugins at init time. Declare each in required_plugins with a source and version, and vet third-party plugins before approving them.
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.