kata-list-phase-assumptions
Warn
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The validation logic in
references/phase-assumptions.mdinstructs the agent to execute the shell commandcat .planning/ROADMAP.md | grep -i "Phase ${PHASE}". The${PHASE}variable is populated directly from the user-supplied$ARGUMENTS. If the agent executes this in a shell environment without sanitization, a malicious user could perform command injection by providing an argument such as1; [malicious_command]. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from project files to generate its analysis.
- Ingestion points: Content is read from
.planning/STATE.mdand.planning/ROADMAP.mdas specified inSKILL.md. - Boundary markers: None are present to distinguish file content from instructions.
- Capability inventory: The skill has access to file reading, shell command execution via the
grepinstruction, and file writing capabilities via thescripts/kata-lib.cjsutility (specifically theset-configcommand). - Sanitization: No sanitization or validation is performed on the phase number argument before it is interpolated into shell commands.
Audit Metadata