Developer Tools
In-depth guides and analysis on developer tools from the Safeguard engineering team.
2959 articles
What belongs in scanner configuration as code?
Policies, thresholds, exclusions and versions belong in version control with review. Secrets and per-run tokens do not. Here is how to split them.
What belongs in a pre-commit hook for security checks?
Keep pre-commit hooks fast and narrow: formatting, lint, simple local checks. Leave full dependency and code scans to the pull request, where they run.
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.
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.