Documentation Index
Fetch the complete documentation index at: https://docs.pipefort.com/llms.txt
Use this file to discover all available pages before exploring further.
| Field | Value |
|---|---|
| Category | CICD-SEC-3 |
| Severity | MEDIUM |
| OWASP | CICD-SEC-3: Dependency Chain Abuse |
| Auto-fix | ✓ (what it does) |
What the check does
Flags every step whoseuses: value references a third-party action by anything other than a 40-character commit SHA:
owner/repo@v1owner/repo@mainowner/repo/path@release
./ or .github/) are ignored.
Why it matters
Tags and branches are mutable. If a maintainer (or an attacker who compromises their account) updates@v1 to point at a malicious commit, every workflow tracking @v1 runs that code on its next invocation — typically with access to repo secrets.
Pinning to a commit SHA freezes the exact bytes you reviewed.
Vulnerable example
Safe alternative
Pin to a full commit SHA, with the original ref preserved as a comment for human-readable updates:Auto-fix
--fix resolves the tag or branch to a commit SHA by calling the GitHub API, then rewrites the uses: value to owner/repo@<sha> with the original ref preserved as a trailing line comment: