skills/144126/skills/plan/Gen Agent Trust Hub

plan

Warn

Audited by Gen Agent Trust Hub on Sep 30, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The core logic of the plan CLI tool (located in bin/plan.ts) uses spawnSync with shell: true to execute arbitrary strings retrieved from the v (staleness check) and t (proof gate) fields of the plan JSON files. This allows the execution of any system command, such as pnpm test, grep, or complex bash scripts, without validation or sanitization.
  • [DYNAMIC_EXECUTION]: The skill dynamically loads and executes shell commands from a data file (.plan.json) at runtime. This behavior occurs automatically when a user or agent invokes the plan command to check status or mark a step as complete.
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process instructions from external plan files, creating a vulnerability surface for indirect prompt injection.
  • Ingestion points: The agent reads the s (step description) and _ (preamble) fields from plan/*.plan.json files.
  • Boundary markers: The tool lacks explicit delimiters or "ignore instructions" warnings when presenting these fields to the executor agent.
  • Capability inventory: The skill possesses significant capabilities, including arbitrary shell command execution, file creation (writeFileSync), file renaming (renameSync), and file deletion (unlinkSync).
  • Sanitization: There is no sanitization of the content within the JSON fields before they are executed as commands or interpreted as instructions by the AI agent.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Sep 30, 2026, 10:22 AM