Safeguard
Topic

Developer Tools

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

2959 articles

Developer Tools

npm ci vs npm install: which one belongs in your pipeline?

npm ci installs exactly what the lockfile says and fails on drift, while npm install can change it. Why that difference matters for supply chain safety.

Oct 18, 20263 min read
Developer Tools

npm ci vs npm install when AI edits your dependencies

Why CI should use npm ci, how it catches a manifest and lockfile mismatch, and how that limits what an AI-edited package.json can quietly change.

Oct 18, 20263 min read
Developer Tools

Caret vs tilde in package.json: what each version range allows

A caret range accepts minor and patch releases, a tilde range accepts patch releases only. See how each behaves, including the 0.x exception.

Oct 18, 20263 min read
Developer Tools

npm audit fix and the force flag: what it changes and when to avoid it

npm audit fix applies remediations within your ranges. The force flag also allows semver major jumps. How to use each safely and review the result.

Oct 18, 20263 min read
Developer Tools

NIS2 secure development and security testing: what to document

What the EU implementing rules say about secure development lifecycles and security testing, and a short list of records that show you follow them.

Oct 18, 20263 min read
Developer Tools

Five myths about training your own model on your codebase

Myth versus fact on training a model from your repository: what it can learn, what it cannot, why search often wins, and what small tuning really does.

Oct 18, 20263 min read
Developer Tools

Mutation testing to check AI written tests, explained

Mutation testing changes your code on purpose and checks that tests fail. Here is how it works, why it suits AI written tests, and how to keep it cheap.

Oct 18, 20263 min read
Developer Tools

MQTT and OPC UA security: what the specifications say

What the MQTT 5.0 and OPC UA specifications say about authentication, authorization and secure communication, and what you still must configure yourself.

Oct 18, 20263 min read
Developer Tools

Model routing for cost: send easy work to a smaller model

Model routing sends each request to the cheapest model that can do it. Compare static routing, cascades, and classifier routing, and how to evaluate them.

Oct 18, 20263 min read
Developer Tools

Model migration cost: when a new tokenizer changes your bill

A lower list price may not lower your bill after a model upgrade. Anthropic says a newer tokenizer gives about 30 percent more tokens. Worked examples.

Oct 18, 20263 min read
Developer Tools

Model distillation explained: teacher and student models

Distillation trains a small student model to imitate a larger teacher. Where the idea came from, how it is used today, and the limits to plan for.

Oct 18, 20263 min read
Developer Tools

Model deprecation plan for LLM apps: pin, test, migrate

Providers retire models, and requests to a retired model fail. A simple routine to pin versions, test replacements and migrate before the cutoff.

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.