Developer Tools
Safeguard articles tagged "Developer Tools" — guides, analysis, and best practices for software supply chain and application security.
2876 articles
How do you stop a CLI printing secrets into CI logs?
Redact inside the CLI first, then treat CI masking as a backstop. GitHub add-mask only works if the exact value is registered before it is printed.
How do you stay under API rate limits when scanning thousands of repos?
Scanning thousands of repos burns source host API limits fast. Use webhooks, conditional requests, one rate-aware queue and backoff to stay under them.
How do you stamp a version into a build without a timestamp?
Embed a version that identifies the source, not the build day. Use the full commit id, a tag or a changelog date; avoid short hashes and build counters.
How do you make security fixes stand out in GitHub release notes?
Label pull requests, then define a security category in release.yml so generated notes group fixes together. Add the advisory link and advice by hand.
How do you ship Python dependencies to a Spark cluster?
PySpark can ship code with py-files, or a packed conda, venv, PEX or uv environment. Here is how each differs and which gives a repeatable cluster.
How do you ship a command line tool with project.scripts in pyproject?
Declare a command under project.scripts, point it at a function, and installers create the wrapper. Covers gui-scripts, plugins and a release checklist.
How do you share one policy set across many repositories?
Publish policies as a versioned bundle and pull them in CI instead of copying files. How Conftest pulls from git, HTTPS or OCI, and what to pin.
How do you shard security scans of a large monorepo?
Split a monorepo scan by component, map changed paths to owners, scan in parallel, and merge results so large repositories get fast, attributable findings.
How do you set a noise budget for security findings?
A noise budget caps how many unproven findings a team sees per week. Learn how to pick the number, enforce it, and tune rules when you exceed it.
In what order should teams upgrade when shared internal libraries exist?
Upgrade the shared internal library first, release it as a compatible version, then let each consuming team follow on a dated train. Here is the plan.
How do you see what changed behind an image tag? Compare digests
Use docker buildx imagetools inspect to read a tag's digest and platform digests, then compare over time to catch a moved tag before production.
How do you see deprecation warnings before a major upgrade?
Most runtimes hide deprecation warnings by default. Here is how to switch them on in Python, Node.js and Gradle, then fail CI on any new ones.
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.