github-actions-validator
Fail
Audited by Gen Agent Trust Hub on Mar 4, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The
scripts/install_tools.shscript downloads and executes code from the internet using insecure patterns. - It pipes a remote script from
nektos/actdirectly intobash. - It uses bash process substitution to execute a script from
rhysd/actionlint. - These repositories are not included in the trusted vendors list.
- [COMMAND_EXECUTION]: The script
scripts/validate_workflow.shis vulnerable to shell command injection. - The script uses
evalto run commands that incorporate the variable${workflow_flag}, which is derived from the user-provided<workflow-file-or-directory>argument. - A maliciously crafted file path (e.g., containing backticks or semicolons) provided as input could lead to arbitrary command execution on the host system.
- [EXTERNAL_DOWNLOADS]: The skill relies on fetching scripts and binaries from
raw.githubusercontent.comat runtime, which is an external dependency from non-whitelisted sources. - [PROMPT_INJECTION]: The skill processes untrusted GitHub Action workflows and interpolates their content into the agent's context. This presents an indirect prompt injection surface (Category 8).
- Ingestion points:
scripts/validate_workflow.shreads files provided by the user (e.g., in.github/workflows/). - Boundary markers: The
SKILL.mdinstructions do not define strict delimiters (like XML tags) to wrap the untrusted workflow content when the agent processes it. - Capability inventory: The skill has the ability to execute shell scripts, run
act(which involves Docker), and runactionlint. - Sanitization: The skill lacks sanitization for the input file paths used in dynamic command execution.
Recommendations
- HIGH: Downloads and executes remote code from: https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash, https://raw.githubusercontent.com/nektos/act/master/install.sh - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata