Developer Tools
Safeguard articles tagged "Developer Tools" — guides, analysis, and best practices for software supply chain and application security.
2876 articles
What is the difference between the go line and toolchain line in go.mod?
The go line sets the minimum Go version a module needs. The toolchain line only suggests which toolchain to run. How both behave since Go 1.21.
Exclude, replace or upgrade: how to fix a vulnerable Go transitive module
To fix a vulnerable transitive Go module, require the fixed version directly. exclude only blocks a version, and replace skips authentication.
How do you know if a Go module is deprecated before you use it?
Go modules mark themselves deprecated with a comment in go.mod. Check with go list -m -u and read the message before adding or keeping a dependency.
How do you give developers self-service security scans?
Self service scanning means developers can run the same checks as the pipeline locally and in the IDE. Options, trade offs and a rollout plan.
Why does GitLab run two pipelines, or none, on a merge request?
Branch and merge request pipelines can both start, or neither. Use workflow rules and CI_OPEN_MERGE_REQUESTS so security jobs run once and never skip.
How do GitLab scheduled pipelines work for recurring security scans?
GitLab pipeline schedules run with their owner's permissions and can go inactive. What to set up for recurring scans, and why to stagger the cron times.
Which GitLab Runner executor isolates jobs: shell, Docker or Kubernetes?
The shell executor gives no clean build and no protected file system. Docker and Kubernetes isolate better. A plain comparison for choosing a runner.
How do protected runners keep GitLab deploy secrets safe?
A protected runner accepts jobs from protected branches and tags solely. How to set one up, how tags route jobs, and what to check on instance runners.
When can a GitLab merge request pipeline use protected variables?
A merge request pipeline gets protected variables and runners only when three conditions hold. Here they are, why forks never qualify, and how to check.
How long do GitLab job artifacts last, and who can download them?
Artifacts expire by expire_in or the instance default, but the latest are kept. Covers artifacts:access, dependencies, and why not to use them as releases.
Can GitLab CI jobs reach the cloud without stored access keys?
Yes. GitLab ID tokens let a job prove who it is to a cloud provider with a short-lived JWT. Here is how the claims work and which ones to trust.
What does the GitLab dependency proxy cache, and is it a safety control?
The dependency proxy caches Docker Hub images to cut pulls and rate limits. It is not a safety check. How it authenticates and how to pin by digest.
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.