planning-with-files
Warn
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: MEDIUMPRIVILEGE_ESCALATIONCREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PRIVILEGE_ESCALATION]: The
Stophook inSKILL.mdutilizespwsh -ExecutionPolicy Bypassandpowershell -ExecutionPolicy Bypass. This explicitly circumvents the PowerShell Execution Policy, a security feature intended to prevent the unauthorized execution of scripts. - [CREDENTIALS_UNSAFE]: The
session-catchup.pyscript programmatically accesses~/.claude/projects/to read and parse session history logs stored as.jsonlfiles. These logs contain the full history of previous interactions and tool outputs, which constitutes access to sensitive application data and private user history. - [INDIRECT_PROMPT_INJECTION]: The skill represents an indirect prompt injection surface by ingesting and processing data from historical session logs and project files.
- Ingestion points:
session-catchup.pyreads historical JSONL logs, and thePreToolUsehook readstask_plan.mdfrom the current working directory. - Boundary markers: There are no explicit delimiters or instructions provided to the agent to treat the retrieved historical context or file content as data rather than instructions.
- Capability inventory: The skill utilizes
Bash,Write, andEdittools, which can be leveraged for significant system impact if an injection occurs. - Sanitization: The
session-catchup.pyscript performs no sanitization or filtering of the text content extracted from session logs before presenting it to the agent's context. - [COMMAND_EXECUTION]: The skill makes extensive use of local script execution in its hooks and documentation, including
python3,bash, andpowershellcalls. Thesession-catchup.pyscript also takes a user-influenced directory path ($(pwd)) as an argument, which could be exploited if not properly handled by the underlying shell.
Audit Metadata