Developer Tools
In-depth guides and analysis on developer tools from the Safeguard engineering team.
2959 articles
Can you convert an SBOM between SPDX and CycloneDX without losing data?
Conversion usually works for core fields, but some data may not map. How to convert, check the result, and when to ask the supplier instead.
How do I convert package-lock.json to pnpm-lock.yaml?
Run pnpm import to build pnpm-lock.yaml from package-lock.json, npm-shrinkwrap.json or yarn.lock, then check the resolved versions before you commit.
How do I convert a Maven POM to Gradle with gradle init?
gradle init converts POMs into build scripts, repositories and dependencies, but not assemblies or most plugins. Here is what to review afterwards.
Contract test or integration test for a library upgrade?
A contract test checks the agreement with a service you call, an integration test checks your own wiring. How to choose, and when to use both.
Should you run pip before or after conda in the same environment?
Run pip after conda, in an isolated environment, and rebuild rather than mix again. Why the order matters and what it means for dependency reviews.
Do you need conda-lock if you already have an environment.yml?
Environment.yml states what you want. A conda-lock file records exactly what was solved, for each platform. See when the extra file earns its place.
What does conda export from-history record, and what does it hide?
The from-history flag keeps only the packages you asked for, which makes a portable file. It also hides the dependency detail a security review needs.
Are conda activate scripts safe for storing environment secrets?
Conda activate.d scripts run shell code on every activation. The docs recommend the config API for variables. Why that, and why not secrets at all.
Composer update -w or -W: which flag fixes a transitive package?
Composer's lowercase w updates a package's dependencies except root requirements, while uppercase W includes them. How to scope a PHP security update.
Why is a PHP package missing from the scan? Composer replace and provide
Composer replace and provide let one package satisfy requirements for another name. Here is why that can hide or duplicate components in a scan.
Why can't I upgrade this PHP package? Use composer prohibits
Composer prohibits (why-not) names the packages blocking an upgrade, and depends (why) shows who requires it. How to unblock a PHP security fix.
Composer constraints and composer.lock: what to commit and when
Commit composer.lock for PHP applications, not necessarily libraries. How caret and tilde constraints work and how composer install differs from update.
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.