Developer Tools
Safeguard articles tagged "Developer Tools" — guides, analysis, and best practices for software supply chain and application security.
2876 articles
Why can a short git hash in your version string break reproducibility?
Short git hashes change length as a repository grows or a clone is shallow. Fix the length with abbrev settings and keep build dates out of versions.
How do you verify an attestation with gh attestation verify?
Three forms of gh attestation verify cover a binary, a container image and an SBOM predicate. See the commands and what a pass does and does not tell you.
Commit generated API client code or generate it at build time?
Two ways to handle generated SDK code: commit it for review, or generate in CI each build. Security and repeatability trade offs, and a decision guide.
Can you generate just the API calls you use from a spec?
OpenAPI Generator can limit output to chosen APIs and models. How selective generation shrinks attack surface and review effort, and what it cannot remove.
How do you generate a CycloneDX SBOM from a Maven build?
Add the CycloneDX Maven plugin to your build and run the makeAggregateBom goal. Setup, output files, scope choices and what to check before you share it.
How do you generate a CycloneDX SBOM from a Gradle build?
Apply the CycloneDX Gradle plugin to the root project and run the cyclonedxBom task. Requirements, outputs, direct versus aggregate SBOMs and checks.
Can you generate a Gradle SBOM without editing the build files?
Yes. A Gradle initialization script can apply the CycloneDX plugin from outside the project, useful for CI or builds you do not own. Steps and cautions.
Written rule or enforced check: how should a security rule be applied?
A written rule explains intent, an enforced check changes behavior. Decide which security rules belong in docs and which belong in pull request gates.
How do I stop an npm release when the audit finds a serious issue?
Use npm audit with omit dev and audit level in your release workflow so a serious runtime finding fails the job before publish. Steps and pitfalls.
What should a game build pipeline check about dependencies?
A CI checklist for game builds: committed lock files, pinned engine and plugins, LFS fetched, scan on pull requests, and a record of what shipped.
How do you make CI install exactly what the lockfile says?
Locked install modes for npm, Cargo, NuGet, Composer, Go and pip, and why CI should fail the build when a lockfile and its manifest drift apart.
Which free supply chain security tools should a small team look at?
Free supply chain security options sorted by job for a small team: inventory, known vulnerabilities, pull request checks, signatures and project health.
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.