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

How do you secure an internal CLI that your developers run?

An internal CLI runs as the developer with their tokens. Checklist: least privilege, verified distribution, safe config, logging, dependency review.

Oct 19, 20264 min read
Developer Tools

How do you sandbox a low-trust developer plugin or tool?

When you must try an unvetted plugin, limit its reach first: a separate user or machine, a container, no network, and no secrets. Four options compared.

Oct 19, 20264 min read
Developer Tools

How do you pin operating system packages in a build image?

Pinning the base image is not enough if packages install at build time. Options: snapshot archives, version pins, a private mirror, or baking packages in.

Oct 19, 20264 min read
Developer Tools

How do you measure SBOM generation accuracy on your own repo?

Build a known-answer repository, count missing and extra components, and score any SBOM tool with precision and recall before you trust its output.

Oct 19, 20264 min read
Developer Tools

How do you make a pull request prove a new dependency was vetted?

Add a checklist to your pull request template and a dependency review check so every new package arrives with evidence. Steps, fields and gate options.

Oct 19, 20263 min read
Developer Tools

How do you handle randomness and UUIDs in a reproducible build?

Random values written into build output make every build differ. Replace them with a seeded generator whose seed comes from the source revision.

Oct 19, 20264 min read
Developer Tools

How do you cache a vulnerability database across scan workers?

Every scan worker downloading the advisory database wastes time and bandwidth. Mirror it once, cache it on shared storage and monitor how old it is.

Oct 19, 20264 min read
Developer Tools

How do you add plugins to an Electron app without giving them Node?

Plugins in a desktop app should not get Node.js by default. Use context isolation, process sandboxing and a narrow IPC bridge. A checklist with sources.

Oct 19, 20264 min read
Developer Tools

How do plugin marketplaces stop name squatting and lookalike plugins?

Lookalike plugins borrow trusted names to win installs. See the naming rules marketplaces publish and the checks a product team should add to its store.

Oct 19, 20264 min read
Developer Tools

How do I stop duplicate security tickets from repeated scans?

Stop duplicate security tickets by giving each finding a stable fingerprint and updating the existing ticket instead of creating a new one on every scan.

Oct 19, 20263 min read
Developer Tools

How do I set up .npmrc safely on a new laptop?

Set registry and credentials in the right npmrc file, scope tokens to a registry, and keep secrets out of git. A short setup guide for new developers.

Oct 19, 20263 min read
Developer Tools

How do I see why a package is in my dependency tree?

Use npm ls to print the tree and npm explain to see why a package is included. A first-week guide to tracing unfamiliar dependencies back to their parent.

Oct 19, 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.