openspec-archive-change
Pass
Audited by Gen Agent Trust Hub on Aug 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill reads the contents of
tasks.mdand the output of theopenspecCLI to determine project status. - Ingestion points: The skill reads
tasks.mdfrom the local filesystem and parses JSON output fromopenspec statusandopenspec list. - Boundary markers: There are no explicit delimiters or boundary instructions provided to the agent to treat the contents of these files as untrusted data.
- Capability inventory: The skill has the capability to execute shell commands (
mkdir,mv) and invoke other skills or sub-agents via the Task tool. - Sanitization: No sanitization or validation logic is defined for the content read from the filesystem or CLI tools before it is processed by the agent.
- [COMMAND_EXECUTION]: The skill dynamically generates shell commands using variables retrieved from tool outputs.
- Evidence: The skill uses variables like
planningHome.changesDir,changeRoot, andnameto construct commands:mkdir -p "<planningHome.changesDir>/archive"andmv "<changeRoot>" "<planningHome.changesDir>/archive/YYYY-MM-DD-<name>". - Risk: If these variables (derived from local project configuration or file names) contain shell control characters, they could lead to command injection, although the risk is mitigated by the variables originating from the specialized
openspectool.
Audit Metadata