Safeguard
Tag

Developer Tools

Safeguard articles tagged "Developer Tools" — guides, analysis, and best practices for software supply chain and application security.

2876 articles

Developer Tools

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.

Oct 18, 20263 min read
Developer Tools

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.

Oct 18, 20263 min read
Developer Tools

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.

Oct 18, 20263 min read
Developer Tools

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.

Oct 18, 20263 min read
Developer Tools

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.

Oct 18, 20263 min read
Developer Tools

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.

Oct 18, 20264 min read
Developer Tools

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.

Oct 18, 20263 min read
Developer Tools

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.

Oct 18, 20263 min read
Developer Tools

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.

Oct 18, 20263 min read
Developer Tools

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.

Oct 18, 20264 min read
Developer Tools

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.

Oct 18, 20263 min read
Developer Tools

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.

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.