Developer Tools
Safeguard articles tagged "Developer Tools" — guides, analysis, and best practices for software supply chain and application security.
2876 articles
What are npm lifecycle scripts and why do they matter?
npm can run preinstall, install and postinstall scripts when you install a package. Here is what that means for your laptop and how to reduce the exposure.
What are Cedar policies and how do permit and forbid work?
Cedar is a policy language that states which principals may take which actions on which resources. How scope, conditions and the allow or deny result fit.
What API stability signals should you check before adopting a library?
Before adopting a library, check its version number, changelog habits, deprecation notices and release rules, and what semver does and does not promise.
What can a green test gate on a fix PR still miss?
A green test gate on a fix PR is evidence, not proof. Here are the failures tests commonly miss and the cheap checks that cover them before you merge.
What does a major version bump mean for a scanner in your CI?
A major release signals incompatible changes. Learn how to test a scanner upgrade in report mode so output, flags and gates do not break your builds.
What should a JWT access token contain? The RFC 9068 profile
RFC 9068 sets the required claims for JWT access tokens and the checks an API must run, including the at+jwt type and audience. A quick reference.
Weekly update day or continuous dependency updates: which saves time?
Compare a weekly update day with continuous dependency updates on review load, interruptions and security lag, and pick a cadence that suits your team.
How should a webhook sender schedule retries with backoff and jitter?
Retry failed webhooks with exponential backoff and jitter over several days, keep the same event id, and avoid retry storms on recovering receivers.
Webhook or polling for security automation: which should you use?
Use webhooks for speed and polling for certainty. A decision table, plus the hybrid pattern most reliable security automations end up with in practice.
Webhook events arrive out of order. How should you handle them?
Providers do not guarantee webhook order. Dedupe by event ID, fetch current state from the API, and never rely on arrival order or timestamps alone.
WebAuthn signature counter: what if it does not increase?
The signature counter helps spot cloned authenticators, but zero values and race conditions are normal. How the W3C spec says to compare and respond.
Why does a passkey only work on one domain? RP ID explained
A passkey is scoped to a relying party ID, which is a domain. That is why fake sites cannot use it. How RP ID and subdomains work, and what to choose.
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.