New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

GitHub Actions: Environment variable flows to dangerous sink

Severity

High

Short Description

An environment variable flows into a dangerous sink (such as shell command execution). If this environment variable comes from an untrusted source, it could be exploited to inject commands.

Suggestion

Validate and sanitize environment variables before using them in dangerous operations. Ensure environment variables come from trusted sources only, and use parameterized commands or APIs instead of string concatenation.