Developer Tools
In-depth guides and analysis on developer tools from the Safeguard engineering team.
2959 articles
Why did pnpm block a dependency's build script, and how do I approve it?
pnpm holds dependency build scripts until you approve them. Learn allowBuilds, strictDepBuilds, the v11 change to onlyBuiltDependencies, and what to skip.
pipx or pip: which should you use for Python command-line tools?
Use pipx for command-line tools and pip inside a project environment for libraries. Here is why isolation matters and how to choose in a few seconds.
How do you build a Python wheelhouse for offline installs?
Download your Python dependencies once, then install from that folder with the index disabled. Steps, platform pitfalls and how to keep the folder honest.
pip install: wheel or source, and what runs on your machine?
Installing a Python wheel unpacks files. Installing from source runs the project's build code first. Here is how to choose and how to limit the risk.
How do you pin a runtime version? engines, global.json and go.mod
Pinning the runtime keeps laptops, CI and production aligned. How npm engines, .NET global.json and Go go.mod lines behave, and where they fall short.
How do you pin images and tools in a GitLab pipeline?
Pin job images by SHA digest, install exact tool versions with checksums, and use locked dependency installs. A short checklist drawn from GitLab guidance.
Should you pin GitHub Actions to a commit SHA or a tag?
Pin third-party GitHub Actions to a full commit SHA from the action's own repository. Tags can move. When a tag is acceptable and how to maintain pins.
Pin GitHub Actions to a commit SHA: what tag repointing taught us
Release tags can be moved. After the Trivy and tj-actions incidents, here is how to pin Actions to full commit SHAs without letting updates rot.
Should a fix PR pin an exact version or allow a range?
Pinning gives repeatable builds, ranges give automatic patches. How npm, Go and containers differ, and which setting a security fix PR should use.
Should CMake FetchContent pin a commit hash instead of a tag?
CMake advises a commit hash for GIT_TAG when you do not control the remote, since tags can move. How to pin sources, verify archives, and build offline.
How do you pin C and C++ dependencies with a Conan lockfile?
A Conan lockfile records exact package versions and revisions so builds repeat. How to create one, use it in CI and update it on purpose, with commands.
How do you pin a pip dependency from Git to an exact commit?
Install from a Git URL in a requirements file, and pin with a full commit hash instead of a branch or tag so the code cannot change under you.
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.