Developer Tools
Safeguard articles tagged "Developer Tools" — guides, analysis, and best practices for software supply chain and application security.
2876 articles
How do Go vendor directories affect scanner onboarding in a monorepo?
A Go vendor directory holds copied dependencies inside the repository. Learn how to check it matches go.mod, scan it once, and avoid double counting.
Go says SECURITY ERROR on a checksum mismatch: what now?
A Go checksum mismatch means a downloaded module differs from the recorded hash. Learn what the go command does, likely causes, and a safe order of checks.
Why does a Go SBOM report detected licenses as evidence?
The CycloneDX gomod tool reports detected licenses as evidence by default because detection can be wrong. Learn the flags, the threshold and how to review.
Why does Go ignore the replace directive in a library I depend on?
Go applies replace and exclude only in the main module's go.mod. A library team cannot fix your build for you, so each service must set its own.
How do you reload a TLS certificate in a Go server without restarting?
Use the GetCertificate callback in Go's tls.Config to load a renewed certificate on the next handshake, with no restart. Steps, caveats and a test.
How long does Go support a release, and when should you upgrade?
Go supports each major release until two newer majors exist. See what that means for upgrade cadence, CI matrices and security fix planning.
Is the Go module cache read only, and how do you clear it?
Go stores downloaded modules in a read only module cache. Learn why it is read only, what the modcacherw flag changes, and when to clear it with go clean.
What does a go.mod replace to a fork change, and what does it hide?
A replace directive swaps a module's contents for your fork but applies only in the main module. Know what it fixes, what it misses and how to track it.
How do you list outdated Go dependencies with go list -m -u all?
go list -m -u all shows each Go module in your build and the newer version available. Learn how to read it, parse it, and turn it into a patch routine.
go install at latest or a pinned version: which should you use?
With a version suffix, go install ignores your current module. Pin an exact version for tools you depend on, and use latest only when you mean to.
Is go install tool@latest safe for developer tools?
What go install with @latest does, why it ignores your go.mod, and how to pin Go developer tools so every laptop and CI job builds the same version.
How does Go choose a toolchain, and what is GOTOOLCHAIN?
Since Go 1.21 the go line in go.mod is a minimum and the go command can switch toolchains. Learn GOTOOLCHAIN values and how to keep patch levels current.
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.