Safeguard
Topic

Developer Tools

In-depth guides and analysis on developer tools from the Safeguard engineering team.

2959 articles

Developer Tools

How do you stop a tampered gradle-wrapper.jar reaching CI?

The Gradle Wrapper JAR is a binary in your repo that runs on every machine. Validate it in CI and pin the distribution checksum. Here is how, step by step.

Oct 19, 20263 min read
Developer Tools

How do you stop a risky broker config change in a pull request?

Keep Redis, Kafka, RabbitMQ and SQS settings in code, then review or gate changes like bind all, PLAINTEXT listeners, guest users and Principal star.

Oct 19, 20264 min read
Developer Tools

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.

Oct 19, 20264 min read
Developer Tools

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.

Oct 19, 20264 min read
Developer Tools

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.

Oct 19, 20264 min read
Developer Tools

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.

Oct 19, 20263 min read
Developer Tools

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.

Oct 19, 20264 min read
Developer Tools

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.

Oct 19, 20264 min read
Developer Tools

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.

Oct 19, 20264 min read
Developer Tools

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.

Oct 19, 20264 min read
Developer Tools

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.

Oct 19, 20264 min read
Developer Tools

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.

Oct 19, 20264 min read

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.