Safeguard
Topic

Developer Tools

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

2959 articles

Developer Tools

How do I vendor Rust dependencies with cargo vendor?

Run cargo vendor, add the printed source replacement to .cargo/config.toml, and build offline. Steps, useful flags and what vendoring does not fix.

Oct 18, 20263 min read
Developer Tools

How do you update Go dependencies safely?

List available Go module updates, upgrade one module at a time with go get, tidy, review go.sum, test, and confirm the fix. A repeatable update routine.

Oct 18, 20263 min read
Developer Tools

How do you test that your release gate actually blocks?

Test the gate on a schedule with a planted known vulnerable component and confirm the release stops, the right rule fires and the event is logged.

Oct 18, 20263 min read
Developer Tools

How do you test that your app actually logs security events?

Write tests that trigger a login failure, a denial or a role change and assert the log event appears. Steps, a test matrix and failure cases to simulate.

Oct 18, 20264 min read
Developer Tools

How do I test policy enforcement that a report only scores on paper?

Policy and gate features are easy to claim and hard to judge from a chart. Run three pull request tests to see whether enforcement really blocks risk.

Oct 18, 20263 min read
Developer Tools

How do you stop an AI coding agent from reading your .env files?

Use deny rules for secret paths, a sandbox for OS-level enforcement and fewer long-lived keys on the laptop. Step by step, with the limits explained.

Oct 18, 20263 min read
Developer Tools

How do you sign release files with cosign sign-blob?

Sign tarballs, installers and other non-container files with cosign sign-blob and a bundle, then verify with identity checks. Steps, flags and pitfalls.

Oct 18, 20263 min read
Developer Tools

How do you secure an AI coding assistant for a team?

Secure an AI coding assistant by limiting what it can read, what it can run, who approves its actions, and what checks run on its code before merge.

Oct 18, 20264 min read
Developer Tools

How do I scan npm dependencies for vulnerabilities?

Run npm audit in a project that has a package-lock.json. It sends your dependency list to the registry and returns known vulnerabilities and fixes.

Oct 18, 20264 min read
Developer Tools

How do you scan a pull request for vulnerabilities before merge?

Run dependency, code, secret and config checks on each pull request and fail only on new high severity findings. Steps, gate rules and mistakes.

Oct 18, 20263 min read
Developer Tools

How do I scan a Maven project for vulnerable dependencies?

Add an SCA plugin such as OWASP Dependency-Check to your Maven build, inspect the dependency tree, and expect some false positives from name matching.

Oct 18, 20263 min read
Developer Tools

How do I scan a GPU inference container image for vulnerabilities?

Scan each layer of a GPU inference image: OS, GPU libraries, Python packages and your app. Build an SBOM at build time and rescan after release.

Oct 18, 20263 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.