Developer Tools
In-depth guides and analysis on developer tools from the Safeguard engineering team.
2959 articles
Why does PyPI say a file is too large, and what can you do?
PyPI limits single files to 100 MB and whole projects to 10 GB by default. See the errors, why yanking does not free space, and how to request an increase.
Why does PyPI say a filename has been previously used?
PyPI never lets a distribution filename be reused, even after delete. Why the upload error appears, what the three causes are, and how to release a fix.
Push rulesets: block risky files before they reach the repository
GitHub push rulesets can refuse pushes by file path, extension or size across a whole fork network. What they catch, what they miss, and where they apply.
What do purl qualifiers like vers, checksum and repository_url mean?
Purl qualifiers add detail such as checksums, download URLs and version ranges. Learn which common keys exist and how to keep them minimal.
How do you write a purl for a Debian or Ubuntu package?
A Debian purl uses type deb, the vendor as namespace, and arch and distro qualifiers. Learn the rules and why source packages need arch=source.
Should a container image purl use the oci type or the docker type?
Prefer pkg:oci with a sha256 digest for container images, and use repository_url and tag as qualifiers. Here is how oci and docker purls differ.
Is pull_request_target safe in an open source repository?
pull_request_target is safe only if it never runs code from a pull request. Learn the pwn request pattern and how to split workflows with workflow_run.
Can a pull request check teach developers instead of just blocking?
A pull request gate teaches when its message says what failed, why it matters and how to fix it. Message anatomy, tuning rules and a decision table.
How do you publish an SBOM with a GitHub release?
Attach a generated SBOM to a GitHub release as an asset: build it in CI, name it by version, use a draft release, and know what the repo export covers.
Should you publish a version skew policy for your on-prem product?
A skew policy says which component versions may run together during an upgrade. Why on-prem vendors need one, with a table modeled on a public example.
How do you prove a SAST finding is real with a failing test?
Write a unit test that feeds the dangerous input to the flagged code. If it fails, the finding is real and the test guards the fix. Steps and an example.
Protect release tags with a GitHub ruleset
Branch rules get the attention, but tags decide what users install. How a GitHub ruleset can stop release tags being moved, deleted or created freely.
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.