planning-with-files
Warn
Audited by Gen Agent Trust Hub on May 19, 2026
Risk Level: MEDIUMDATA_EXFILTRATIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [DATA_EXFILTRATION]: The script
scripts/session-catchup.pyis designed to access and read files from~/.claude/projects/. This directory contains the agent's internal session history and project logs. While intended for context recovery, this allows the skill to expose sensitive data from previous conversations. - [COMMAND_EXECUTION]: The skill uses
Stophooks and instruction-based triggers to execute shell scripts. These includeinit-session.sh/ps1,check-complete.sh/ps1, andsession-catchup.py. PowerShell execution is performed using-ExecutionPolicy Bypass, which circumvents local security restrictions. - [PROMPT_INJECTION]: The 'Session Catchup' functionality creates an indirect prompt injection surface. It extracts content from previous session logs (
.jsonlfiles) and injects them into the current context without sanitization. - Ingestion points:
scripts/session-catchup.pyreads session history files from the internal.claude/projectsdirectory. - Boundary markers: No boundary markers or 'ignore' instructions are used when presenting the recovered context to the agent.
- Capability inventory: The skill possesses extensive capabilities including
Bash(shell execution),Write, andEdit(filesystem modification). - Sanitization: No sanitization or filtering of the extracted session content is performed before it is output.
Audit Metadata