planning-with-files
Warn
Audited by Gen Agent Trust Hub on May 18, 2026
Risk Level: MEDIUMPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill uses platform hooks (
UserPromptSubmitandPreToolUse) to automatically inject content from local files liketask_plan.mdandprogress.mdinto the agent's context window. This creates a persistent attack surface for Indirect Prompt Injection, where malicious instructions from external sources (e.g., web research) could be saved into these files and executed by the agent in subsequent steps. - [COMMAND_EXECUTION]: The skill frequently executes shell commands and local scripts through hooks to manage context. This includes using
powershell.exe -ExecutionPolicy Bypassin theStophook andSKILL.mdinstructions, which explicitly circumvents local security policies to run the skill's own automation scripts. - [COMMAND_EXECUTION]: The
session-catchup.pyscript accesses and reads internal platform data from sensitive directories, specifically~/.claude/projects/and~/.codex/sessions/, to find previous conversation logs and restore state. While functional for session recovery, it involves reading system-level application data. - [INDIRECT_PROMPT_INJECTION]:
- Ingestion points: Reads
task_plan.md,findings.md, andprogress.mdviaPreToolUsehooks andSKILL.mdinstructions. - Boundary markers: None; the content is injected via direct
catorheadcommand output into the prompt. - Capability inventory: Uses
Bash,Write,Edit,Read,Glob, andGrepacross multiple scripts. - Sanitization: None; external research results are written directly to files that are later re-read into the context.
Audit Metadata