Developer Tools
Safeguard articles tagged "Developer Tools" — guides, analysis, and best practices for software supply chain and application security.
2876 articles
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.
Maven dependency mediation: why the nearest version wins
When two paths pull in different versions of a library, Maven picks the closest one to your project. Learn the rule, its trap, and how to override it.
Maven mirrorOf: wildcards, exclusions and the whitespace trap
How Maven mirrorOf values like star, external:star and star,!repo work, how order decides which mirror wins, and why a space can mirror nothing.
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.