Safeguard
Topic

Developer Tools

In-depth guides and analysis on developer tools from the Safeguard engineering team.

2959 articles

Developer Tools

Do vulnerability scans cover git submodules?

A plain clone leaves submodule folders empty, so a scan sees nothing inside them. Learn how to initialise submodules in CI and decide scan ownership.

Oct 18, 20263 min read
Developer Tools

How do you record which library commit shipped in a firmware release?

A git submodule stores a commit pointer, not files, so the superproject commit records the exact library version. How to use it for firmware releases.

Oct 18, 20263 min read
Developer Tools

How do you generate hashes for a Python requirements file?

Steps to add sha256 hashes to a pinned requirements file, turn on pip hash checking, and cope with platforms that have several files per package.

Oct 18, 20263 min read
Developer Tools

Gemfile or gemspec: which one decides the versions you install?

An application locks versions in Gemfile.lock. A gem cannot, since Bundler ignores a gem's own lockfile when resolving. What that means for risk.

Oct 18, 20263 min read
Developer Tools

Fuzzing or property-based testing: which fits your code?

A decision guide for choosing between fuzzing and property-based testing: what each needs, what each finds, and when to use both on the same code.

Oct 18, 20263 min read
Developer Tools

Fuzzing in CI: short runs on pull requests, long runs overnight

How to add fuzzing to CI without slowing every build: corpus replay on each commit, a bounded run on pull requests, and longer batch runs on a schedule.

Oct 18, 20264 min read
Developer Tools

Fuzzing in CI: short runs on pull requests or continuous runs?

How to schedule fuzzing: replay the corpus on every pull request, run time-boxed fuzzing nightly, and keep a long running job for critical parsers.

Oct 18, 20263 min read
Developer Tools

Fuzzing Python code and C extensions with Atheris

Atheris brings libFuzzer to Python. Set up a harness, instrument imports, and pair it with sanitizers when you test native extension modules.

Oct 18, 20263 min read
Developer Tools

Fuzzing Java and Kotlin with Jazzer and JUnit

Jazzer is a coverage-guided fuzzer for the JVM. Add a FuzzTest method, run in regression mode by default, and switch fuzzing on when you want a hunt.

Oct 18, 20263 min read
Developer Tools

Fuzzing a Rust library with cargo-fuzz: setup and first run

Rust is memory safe, but unsafe code, panics and logic bugs still need fuzzing. Install cargo-fuzz, add a target, run it, then minimize what it finds.

Oct 18, 20263 min read
Developer Tools

Fuzz a parser with Go's built-in fuzzing, step by step

A walkthrough of writing a Go fuzz test for a parser: the target function, seed corpus, running with the fuzz flag, and keeping failing inputs as tests.

Oct 18, 20263 min read
Developer Tools

npm ci vs pnpm frozen-lockfile vs yarn immutable: how do they compare?

Each package manager has a CI install mode that fails when the lockfile is out of sync. Compare npm ci, pnpm frozen lockfile and yarn immutable defaults.

Oct 18, 20264 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.