Developer Tools
Safeguard articles tagged "Developer Tools" — guides, analysis, and best practices for software supply chain and application security.
2876 articles
Should SOURCE_DATE_EPOCH be zero or the commit time?
Both give repeatable builds. Zero is simple, while the commit time reflects the age of the code. The spec asks for a value that depends only on the source.
Snapshot tests fail after a security bump: update or investigate?
A snapshot test fails after a dependency fix. Read the diff first: update the snapshot only when the change is intended, harmless and explained.
What should a smoke test check after a dependency upgrade?
A smoke test after a dependency upgrade proves the app starts and its critical paths work. What to include, what to leave out, and how long it should take.
How can you slim a container image using its SBOM?
Read the image SBOM to spot build tools, shells and packages you do not need at runtime, then use multi-stage builds to leave them behind safely.
Is skops a safer way than pickle to save scikit-learn models?
skops saves scikit-learn models without pickle and has you review untrusted types first. What it improves, what it cannot do, and how to adopt it.
Why does SignTool warn about /fd and /td, and what should you set?
Recent SignTool builds require /fd for the file digest and /td for the timestamp digest. Set both to SHA256, use /tr for RFC 3161, and check exit code 2.
Signed commits and required checks: what they prove, and what they don't
Signed commits show who pushed, and required checks show tests passed. Neither proves the code is safe. Here is what each control does and misses.
Why should a security finding show the fix, not just the problem?
A finding that includes the fix gets acted on faster. What a good fix suggestion contains, when to offer a pull request, and when a human must decide.
Should your team run an internal Homebrew tap for developer tools?
An internal tap gives developers one install path, and tap code runs with the user's privileges. Homebrew's tap trust model shapes how to run one safely.
Should a device companion app force a minimum version?
A minimum supported app version lets you retire a vulnerable release of your companion app. Here is how to set it up without locking customers out.
Should your CLI refuse repos owned by another user? Git's rule
Git refuses to read config or run hooks in a repo owned by someone else unless it is listed in safe.directory. Here is what that teaches CLI authors.
Should you wrap a third-party SDK behind your own interface?
Wrapping an SDK behind a thin interface makes removal cheaper and gives one place to enforce privacy settings. When it pays off and when it does not.
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.