executing-sequential-phase
Fail
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill implements a workflow that parses shell commands from
CLAUDE.mdfiles within the workspace and executes them. In a multi-repo environment, this allows an attacker to gain code execution on the agent's host by placing malicious commands in a repository that the agent is instructed to process.- Evidence: Step 1 of the multi-repo mode instructions uses
grepandsedto extract commands fromCLAUDE.mdand then executes them within abashheredoc:${INSTALL_CMD}and${POSTINSTALL_CMD}.
- Evidence: Step 1 of the multi-repo mode instructions uses
- [COMMAND_EXECUTION]: The skill frequently uses shell command execution to manage the git environment, verify paths, and run build/test cycles.
- Evidence: Multiple
bash <<EOFblocks are used to execute shell scripts for workspace verification, dependency installation, and git-spice operations.
- Evidence: Multiple
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted content from external files like specifications, plans, and constitutions and interpolates them directly into the instructions for subagents without using robust delimiters or safety warnings.
- Ingestion points:
CLAUDE.md(setup commands),specs/{run-id}-{feature-slug}/spec.md(requirements), andspecs/{run-id}-{feature-slug}/plan.md(task boundaries). - Boundary markers: The skill does not use unique delimiters or explicit instructions to ignore potentially malicious embedded content within the interpolated variables.
- Capability inventory: Subagents have the ability to write files and execute arbitrary shell commands via build and test scripts.
- Sanitization: No sanitization is performed on the ingested text beyond simple backtick removal, which is insufficient to prevent injection.
- Ingestion points:
- [DYNAMIC_EXECUTION]: The skill dynamically constructs and executes shell scripts at runtime based on the contents of files found in the working directory.
- Evidence: The extraction of
INSTALL_CMDandPOSTINSTALL_CMDfrom a text file and their subsequent execution in a subshell represents a dynamic execution pattern that bypasses static code analysis of the skill's intended behavior.
- Evidence: The extraction of
Recommendations
- AI detected serious security threats
Audit Metadata