Skip to content

[Aikido] AI Fix for Template Injection in GitHub Workflows Action - #1

Merged
StringManolo merged 1 commit into
mainfrom
fix/aikido-security-sast-199474123-1ulx
Nov 26, 2026
Merged

StringManolo merged 1 commit into
mainfrom
fix/aikido-security-sast-199474123-1ulx

Conversation

@aikido-autofix

Copy link
Copy Markdown
Contributor

This patch mitigates template injection vulnerabilities in GitHub Workflows by replacing direct references with an environment variable.

✅ 1 issue fixed by this PR, including 1 critical 🚨 issue
Issue Severity           Description
Sast#1219376855
🚨 CRITICAL
A GitHub Actions workflow step contains a template expression referencing potentially untrusted GitHub context fields. This may allow malicious input to be injected into shell commands, leading to a potential supply chain attack as tokens of the CI/CD pipeline could be exfiltrated.

High confidence: Aikido has a robust set of benchmarks for similar fixes, and they are proven to be effective.

@StringManolo
StringManolo merged commit c660a7f into main Nov 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant