VNX-GH-111: Remote script piped into an interpreter
A run: step downloads a script and executes it without verifying it.
curl | sh runs whatever the server returns at that moment, with the job’s token and secrets. A compromised host, CDN or DNS response becomes code execution in CI.
| Severity | Medium |
| Confidence | high |
| CWE | CWE-494, CWE-829 |
| Command | vulnetix gha actions, vulnetix gha audit |
Remediation
Download to a file, verify a pinned checksum or signature, then execute it, or use a pinned action or package instead.
Run only this rule
vulnetix gha actions --rule VNX-GH-111
Scoring
CWSS vector at the rule’s default severity: CWSS:1.0/TI:H/AP:A/AL:A/IC:N/FC:LT/RP:N/RL:A/AV:I/AS:N/IN:A/SC:A/BI:H/DI:H/EX:L/EC:N/P:W. A finding whose severity the repository’s settings moved is scored at its adjusted severity.
All rules: GitHub rules.