github-actions-validator
Audited by Socket on Sep 15, 2026
3 alerts found:
SecurityAnomalyx2The code is a legitimate GitHub Actions validation utility and contains no clear malicious behavior. However, test_with_act() introduces a command-injection vulnerability by embedding a user-controlled workflow path into strings executed with eval. An attacker able to influence the supplied path or directory name could execute arbitrary shell commands. Replace eval-based invocation with Bash arrays and direct command execution. Docker image pulls are expected functionality. Obfuscation is absent.
This is a deliberately erroneous GitHub Actions workflow. It contains one genuine security issue: shell script injection through direct interpolation of the untrusted issue title. The remaining identified problems are workflow validation or execution errors. The fragment does not itself exhibit malware, credential theft, exfiltration, persistence, or other intentional malicious behavior. Use an environment variable and quote it safely, for example by assigning the expression to `env` and referencing the variable in the shell.
This is a conventional local installer for act and actionlint, with no demonstrated malicious behavior in the provided code. However, it directly executes mutable remote shell scripts, and the actionlint download has weaker curl transport/error controls. Pin installer content to a reviewed commit or release, verify checksums or signatures, and avoid curl-to-shell execution where possible.