Developer Tools
Safeguard articles tagged "Developer Tools" — guides, analysis, and best practices for software supply chain and application security.
2876 articles
Prompting an AI for secure code: say what must be true, then verify
How to ask an AI assistant for code that handles untrusted input safely: name the threat, set constraints, ask for the reasoning, and check it with tests.
Prompt caching checklist: structure prompts to get cache hits
A practical checklist for ordering prompts, freezing tool lists, and avoiding the changes that silently invalidate a prompt cache and raise your bill.
Prompting a coding agent to confirm before risky actions
How to write an instruction that makes a coding agent pause before destructive or shared-system actions, and why a prompt alone is not enough protection.
A private code question tool on your laptop: the local stack explained
The parts of a local code Q and A tool: chunker, keyword index, embeddings, vector search and a local model server. What each does and how to lock it down.
Privacy by design for engineers: what GDPR Article 25 asks
What data protection by design and by default means in code and architecture: minimisation, retention, access defaults and pseudonymisation.
Preview dependency fixes with the Safeguard CLI fix command and dry run
Preview dependency upgrades with the Safeguard CLI fix command in dry run mode, limit them by severity and version jump, then open a draft pull request.
Pre pull request dependency check: a seven item checklist
Seven checks to run on your own machine before you open a pull request that touches dependencies, from lockfile diffs to license and gate results.
Pre-commit or CI: where each security check belongs
Which checks go in a pre-commit hook, which in pre-push, and which only in CI? Three tests decide it: speed, bypass risk and who needs the result.
ALTER DEFAULT PRIVILEGES: why new tables skip your grants
A GRANT on existing tables does not cover tables you create later. Learn how ALTER DEFAULT PRIVILEGES works and which role it applies to.
pnpm workspace: protocol: fail loudly instead of hitting the registry
The pnpm workspace: protocol forces a dependency to resolve to a package in your monorepo, so a missing or renamed package fails instead of using the registry.
pnpm catalogs: one version per dependency across a monorepo
pnpm catalogs let a monorepo declare each shared dependency version once in pnpm-workspace.yaml. Here is the syntax, the benefits and the limits to know.
pnpm catalogs: one version of each dependency across a monorepo
pnpm catalogs define a dependency range once in the workspace file and reference it everywhere, so upgrades touch one line instead of every package.
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.