Safeguard
Topic

Developer Tools

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

2959 articles

Developer Tools

How to read a reachability call path and decide what to do

A reachability finding shows a chain of calls from your code to a vulnerable function. Learn to read it, test it, and decide on a fix or an exception.

Oct 18, 20263 min read
Developer Tools

How to estimate a monthly LLM API bill: a worked example

A step by step method to estimate a monthly LLM API bill, with a worked example using dated public prices and the effect of caching and batch discounts.

Oct 18, 20263 min read
Developer Tools

How to check a dependency before you add it to your project

A short pre-commit routine for new dependencies: do you need it, who maintains it, what it pulls in, and what you will do if it breaks or turns hostile.

Oct 18, 20263 min read
Developer Tools

How prompt caching works: prefix order, expiry and what it saves

Prompt caching reuses a repeated prompt prefix at a lower price. See how the prefix is built, how long entries live, and what a cache read costs.

Oct 18, 20263 min read
Developer Tools

How much VRAM do you need to run a local LLM? A rule of thumb

Estimate memory for a local model from its parameter count and bits per weight, then add room for the KV cache. Worked numbers for 7B, 13B and 70B.

Oct 18, 20264 min read
Developer Tools

How much data do you need to fine-tune an LLM?

Often hundreds to low thousands of clean examples, not millions. What the LIMA paper showed about quality over quantity and how to size your set.

Oct 18, 20263 min read
Developer Tools

How many chunks should you retrieve for a code question?

Five, ten or twenty? Anthropic found 20 chunks beat 5 or 10 in their tests. How to find the right top k for your own code and model, with a method.

Oct 18, 20263 min read
Developer Tools

How Claude plan usage limits work: five hour and weekly windows

Claude plans meter usage in a five hour session plus a weekly limit, not a message count. What drives it, how to check it and what to do at the limit.

Oct 18, 20263 min read
Developer Tools

Heartbeat alerts: how to notice when monitoring goes quiet

A heartbeat alert fires when an expected signal stops arriving. Learn where to use it for jobs, log sources and the alerting pipeline itself.

Oct 18, 20263 min read
Developer Tools

429 Too Many Requests: what API servers and clients should do

What a 429 response means, what the Retry-After header does, and how servers and clients should behave so limits protect you without breaking users.

Oct 18, 20263 min read
Developer Tools

Handling false positives and wrong comments from AI reviewers

AI reviewers sometimes flag correct code or state falsehoods. How to log, dismiss and tune so false positives do not erode trust or hide real findings.

Oct 18, 20263 min read
Developer Tools

Handling 429 errors from an LLM API: rate limit or spend cap?

Not every 429 is a rate limit. Learn to tell a retryable limit from a spend cap, use retry-after correctly, and avoid retry storms that waste money.

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.