planning-with-files
Pass
Audited by Gen Agent Trust Hub on Jun 18, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection due to its automated planning workflow. The
PreToolUsehook automatically reads the first 30 lines oftask_plan.mdinto the agent's context whenever sensitive tools likeBash,Write, orEditare invoked. Since the agent is instructed to log all errors and research findings (from tools likeWebSearch) into this file, an attacker could potentially influence the agent's behavior by causing malicious instructions to be saved in the plan file. - Ingestion points:
task_plan.mdis read into the context via thePreToolUsehook defined inSKILL.md. - Boundary markers: None. The content of the plan file is appended to the context without delimiters or instructions to ignore embedded commands.
- Capability inventory: The skill has access to powerful tools including
Bash,Write,Edit, andWebFetch(as defined inSKILL.md). - Sanitization: None. The raw content of the user-controlled plan file is re-injected into the session context.
- [COMMAND_EXECUTION]: The skill uses lifecycle hooks to execute shell commands for session management and task verification.
- Evidence: The
Stophook inSKILL.mdexecutes${CLAUDE_PLUGIN_ROOT}/scripts/check-complete.shto verify task phases. - Evidence: The
PreToolUsehook inSKILL.mdexecutescat task_plan.md 2>/dev/null | head -30 || trueto refresh context. - Evidence:
scripts/init-session.shis provided to initialize the working environment. These commands are local and serve the stated purpose of the skill.
Audit Metadata