Developer Tools
Safeguard articles tagged "Developer Tools" — guides, analysis, and best practices for software supply chain and application security.
2876 articles
A grouped fix PR broke the build: how do you find the guilty update?
A grouped dependency PR failed? Halve the group and test each half, then repeat. Git bisect automates the search when each update is its own commit.
How do you find an extension's ID for an allowlist?
Allowlists match on IDs, not names. Where to find the ID in Edge, VS Code and Firefox, how publisher IDs differ, and how to record them so reviews stick.
How do you find manifests your scanner silently skipped?
List every manifest and lockfile in a repository with git ls-files, then diff it against what the scanner reported. A simple way to catch silent skips.
How to find duplicate library versions in your SBOM and collapse them
The same library at three versions means more to patch and more to explain. Find duplicates in your SBOM, then collapse them with dedupe or aligned ranges.
How do you find duplicate copies of a library in a frontend app?
Use npm ls and npm explain to list every installed version of a package and why it is there, then npm dedupe. Why duplicates matter after updates.
How do you stop compiler build paths leaking into binaries?
Use the GCC and Clang prefix map flags to rewrite your build directory in debug info and file macros. See which flag covers what and where it falls short.
How do you fetch a CVE record from CVE Services and read its containers?
One request returns the CNA's own record plus ADP additions. Learn the metadata fields, the containers and why the CVE and NVD update dates differ.
What does FastAPI's OAuth2PasswordBearer actually check?
OAuth2PasswordBearer reads the Authorization header and returns 401 if absent. It does not validate the token or create the login route. What to add.
How do you require auth on every FastAPI route?
Pass an auth dependency to FastAPI(dependencies=[...]) or to an APIRouter so every route inherits it. Why that beats adding it per route, and what to test.
Express vs Fastify defaults for request limits: which are stricter?
A side by side table of documented defaults for body size, params, trust proxy, timeouts and proto handling in Express and Fastify, and what to set.
How do you export an SPDX SBOM from GitHub for a data room?
Export the repository dependency graph as an SPDX file from the Insights tab or an Actions workflow, then date it, name it and note what it covers.
A developer says 'we never call that code'. How do you check?
When a developer says a vulnerable function is never called, turn the claim into a check: find the entry points, trace the calls, and record the result.
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.