Safeguard
Topic

Developer Tools

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

2959 articles

Developer Tools

What should a pull request reviewer check in a dependency change?

A seven item checklist for reviewing the dependency changes in a pull request: purpose, maintainer, scope, license, advisories, size and the lockfile.

Oct 19, 20264 min read
Developer Tools

Should a security check say what it did not scan?

Yes. A green check without a coverage line can mislead. State languages, manifests and paths skipped, so a pass is not read as more than it is.

Oct 19, 20263 min read
Developer Tools

SARIF kind and level: what should you count in security metrics?

SARIF results carry a kind and a level. How to count them so passes, open questions and notes do not inflate your security finding numbers.

Oct 19, 20264 min read
Developer Tools

SARIF baselineState: new, unchanged or absent findings for trends

How the SARIF baselineState values new, unchanged, updated and absent let you count findings introduced and fixed per pull request instead of totals.

Oct 19, 20263 min read
Developer Tools

How do you sanitize HTML in a React app without undoing it?

Sanitize at the last step, restrict the allowed profile, keep the library current and do not edit the HTML afterwards. A practical sanitizing routine.

Oct 19, 20264 min read
Developer Tools

Safeguard CLI, local agent and cloud agent: what does each do?

The Safeguard CLI scans from a terminal and can also write code. What the download page lists for the local agent, cloud agent and sandboxes.

Oct 19, 20266 min read
Developer Tools

Which email domains are safe to use in test data?

Use example.com, example.net, example.org or the reserved .test suffix for test emails. Random addresses on real domains can reach real people.

Oct 19, 20264 min read
Developer Tools

Safe automation of dependency fixes: ten questions answered

Short answers to ten questions on automating dependency fix PRs: grouping, tests, canaries, rollback, ownership and approvals, with links for detail.

Oct 19, 20263 min read
Developer Tools

Can an MSRV setting stop you from getting security patches?

The rust-version field sets a minimum Rust version. Learn how it affects dependency selection, and why an old MSRV can block fixed releases of crates.

Oct 19, 20263 min read
Developer Tools

How do you remove build paths from a Rust binary?

Use rustc remap-path-prefix to rewrite your build directory in output. Know the scope options and the linker paths it cannot change before relying on it.

Oct 19, 20264 min read
Developer Tools

Runtime version drift: pin Node and Python so environments agree

The same packages behave differently on different runtimes. Declare Node and Python versions in the repo and check them in every environment.

Oct 19, 20263 min read
Developer Tools

Do you need the full test suite for a patch version bump?

Patch bumps are meant to be safe, but not every one is. A simple rule for when a fast subset is enough and when the full suite must run before you merge.

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.