Developer Tools
In-depth guides and analysis on developer tools from the Safeguard engineering team.
2959 articles
Safeguard CLI in GitHub Actions, GitLab CI, Jenkins and Azure DevOps
How the Safeguard CLI fits four CI systems: which command to run, where results go, and what each setup needs, based on the published CI documentation.
Run the Safeguard CLI in GitLab CI and keep the results
A GitLab CI job that installs the Safeguard CLI, scans the repository and saves the output as job artifacts, with notes on retention and exit codes.
Run the Safeguard CLI in GitHub Actions and upload SARIF
A GitHub Actions recipe that installs the Safeguard CLI, runs detect, writes SARIF and uploads it to code scanning, with the permissions it needs.
Safeguard CLI exit codes for scan and detect, explained
What exit codes 0, 1 and 2 mean for safeguard scan, and why detect only fails when the command itself fails. A short reference for CI authors.
Safeguard CLI exit codes: what 0, 1 and 2 mean in a script
What the Safeguard CLI scan and detect commands return on exit, why a clean exit code is not a clean scan, and how to branch on 0, 1 and 2 in a script.
Safeguard CLI on CircleCI: an adaptation, not an official recipe
Safeguard documents CI examples for four systems but not CircleCI. A cautious adaptation using store_artifacts, and what to verify before relying on it.
Run the Safeguard CLI in Azure DevOps and publish SARIF
An Azure DevOps YAML pipeline that installs the Safeguard CLI, writes SARIF to the artifact staging directory and publishes it as a pipeline artifact.
Design safe messaging between web pages and a browser extension
A web page can forge messages to a content script. Send IDs not URLs, build requests inside the extension and filter what you inject. A short design guide.
Run the Safeguard CLI in CI or connect the repository? A decision guide
Two ways to scan on every change: run the CLI in your pipeline, or connect the repository to the platform. A decision guide with the trade-offs for each.
Safeguard runner and CLI: scanning without sending source code
The Safeguard runner executes scan jobs on your own machine and uploads SBOMs and findings, never source. What it does, and what the docs do not yet say.
How to run OpenSSF Scorecard on a dependency from the command line
Run the Scorecard CLI against a public repository or npm package, read the per-check reasons, and export JSON. Setup, flags and limits in one guide.
How to run a local embedding model with Ollama for private search
Generate embeddings on your own machine through Ollama's /api/embed endpoint, batch inputs, and keep private code off any third party service.
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.