VNX-GH-017: Secret printed to the job log
A run: step prints a secret, relying on log masking to hide it.
Masking only redacts exact matches. Encoded, split or transformed output (base64, JSON, a substring, a multi-line value) is printed in clear to a log readable by everyone with read access.
| Severity | Medium |
| Confidence | medium |
| CWE | CWE-532 |
| Command | vulnetix gha workflows, vulnetix gha audit |
Remediation
Never print secrets. Pass them to tools through environment variables or files with restricted permissions.
Run only this rule
vulnetix gha workflows --rule VNX-GH-017
Scoring
CWSS vector at the rule’s default severity: CWSS:1.0/TI:M/AP:A/AL:A/IC:N/FC:LT/RP:N/RL:A/AV:I/AS:N/IN:A/SC:A/BI:M/DI:M/EX:M/EC:N/P:W. A finding whose severity the repository’s settings moved is scored at its adjusted severity.
All rules: GitHub rules.