Developer Tools
In-depth guides and analysis on developer tools from the Safeguard engineering team.
2959 articles
Forced updates and minimum OS versions for mobile apps
MASVS-CODE-1 and CODE-2 ask for a minimum platform version and a way to force app updates. How to design both without locking out honest users.
ML-KEM-512, 768 or 1024: how to pick a parameter set
FIPS 203 defines three ML-KEM parameter sets mapped to NIST security categories 1, 3 and 5. How to choose among them without guessing, with a test list.
The minimum scanner stack for a repository using AI assistants
Five automated checks that give you a safety net when an AI writes much of the code: secrets, dependencies, static analysis, lockfile control and tests.
Metric naming and units: conventions that prevent confusion
Use base units, plural unit suffixes, _total for counters and ratios from 0 to 1. Prometheus naming advice turned into a short checklist for your team.
Metric label cardinality: what never to use as a label
Every unique label combination creates a new time series. Learn what to keep out of metric labels, where that detail belongs, and how to spot a runaway.
Metering reasoning tokens: the hidden line in your LLM bill
Reasoning tokens are billed as output even when you only see a summary. Learn to meter them, cap them with effort or budgets, and avoid cut off answers.
Measure your prompt cache hit rate from the usage fields
How to compute a real cache hit rate from the usage object, which fields to log, and what a low number usually means. Includes a small code example.
MCP tools, resources and prompts: which one should you use?
Tools let the model act, resources give the app read-only context, prompts give the user a template. Here is how to pick the right MCP primitive.
MCP tool errors: protocol errors versus execution errors
MCP reports two kinds of tool failure. Execution errors let the model self-correct, protocol errors usually do not. How to design both for agents.
Why printing to stdout breaks a local MCP server
A stdio MCP server speaks the protocol on stdout, so debug prints corrupt it. Log to stderr instead. Why this happens and how to fix it quickly.
MCP server not connecting? A troubleshooting checklist
Work through paths, JSON, environment variables, logs and protocol versions in order to find why an MCP server fails to start or connect in your client.
MAVLink 2 message signing: what it protects and what it leaves open
MAVLink 2 signing appends a 48 bit signature to each packet so a vehicle can check the sender. It does not encrypt traffic. Here is how it works.
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.