Security Guides
Safeguard articles tagged "Security Guides" — guides, analysis, and best practices for software supply chain and application security.
4991 articles
Hardening GitLab merge request approval rules
Approval rules only help if authors cannot approve their own work or edit the rules. Settings to check in GitLab, and which ones need Premium or Ultimate.
GitLab CI masked versus protected variables explained
Masked variables hide values in job logs. Protected variables limit which pipelines can read them. Know what each does and why neither is a full defense.
GitLab fork merge request pipelines and secret safety
Fork pipelines run in the fork, but a member can run one in the parent project, which exposes parent variables. How to review first and block it if needed.
GitLab CI_JOB_TOKEN allowlist: control cross-project access
CI_JOB_TOKEN works only while a job runs and reaches only its own project by default. How the allowlist works and which settings to leave on.
Set GITHUB_TOKEN to read-only and grant permissions per job
Why the default GITHUB_TOKEN should be read-only, how to grant write access per job with the permissions key, and what to check in older workflows.
GitHub push protection: setting a sane bypass policy
Push protection blocks secrets before they land, but anyone with write access can bypass it by default. How to set bypass reasons and delegated review.
Turn on GitHub private vulnerability reporting: steps and form
Maintainers can enable private vulnerability reporting in a few clicks so researchers have a private channel. Steps and the custom form option.
GitHub environments: required reviewers for production deploys
How environment protection rules gate production deploys in GitHub Actions: reviewers, self-review block, wait timers, branch limits and plan caveats.
GitHub branch protection rules versus rulesets: which to use
Branch protection allows one rule per branch. Rulesets layer, toggle without deleting, and are visible to readers. A short guide to choosing between them.
Stopping script injection in GitHub Actions workflows
How script injection works in GitHub Actions run steps and the fix GitHub recommends: pass untrusted values through an environment variable, not inline.
Replace long-lived cloud secrets with GitHub Actions OIDC
How OIDC lets a GitHub Actions job get a short-lived cloud token instead of a stored key, what the subject claim does, and how to scope the trust.
GitHub Actions to AWS with OIDC: no stored access keys
Use OpenID Connect so GitHub Actions gets short-lived AWS credentials. See the setup, the permissions needed and the trust policy condition to include.
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.