planning-with-files
Pass
Audited by Gen Agent Trust Hub on Nov 16, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests data from local research files and plans into the agent context via hooks, creating a surface for indirect prompt injection from external sources captured during research.
- Ingestion points:
task_plan.md,findings.md, andprogress.mdare processed byUserPromptSubmitandPreToolUsehooks inSKILL.md. - Boundary markers: Injected content is wrapped in
===BEGIN PLAN DATA===and===END PLAN DATA===delimiters. - Capability inventory: The agent has
Bashaccess for arbitrary command execution. - Sanitization: The skill provides
/plan-attest(viascripts/attest-plan.sh) to lock plan content with a SHA-256 hash and includes instructions to treat file content as data only.- [COMMAND_EXECUTION]: Hooks and helper scripts (init-session.sh,check-complete.sh) execute shell and PowerShell commands. These scripts include sanitization for project names andPLAN_IDto prevent shell injection.- [DATA_EXFILTRATION]: Thescripts/session-catchup.pyscript accesses sensitive local data, specifically Claude Code's internal session history logs stored in~/.claude/projects/and OpenCode SQLite databases at~/.local/share/opencode/. This is used to recover context from previous sessions but involves reading full conversation history into the current context window.
Audit Metadata