openspec-apply-change
Pass
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and follow natural language instructions provided dynamically from the
openspectool's output via thecontextandoperationGuidancefields. - Ingestion points: The agent parses JSON output from
openspec instructions apply(SKILL.md, Step 3) and reads contents ofcontextFiles(SKILL.md, Step 4). - Boundary markers: The skill includes explicit instructions for the agent to "Keep both fields separate from CLI-returned state" and to "preserve the controlling value" in case of conflicts with built-in instructions (SKILL.md, Step 3).
- Capability inventory: The skill possesses the capability to execute
openspecCLI commands viaBashand perform file system modifications to implement tasks (SKILL.md, Step 6). - Sanitization: The skill implements logical sanitization by directing the agent to report conflicts and prioritize its core instruction set and CLI-controlled values over the external project-level guidance.
- [COMMAND_EXECUTION]: The skill performs multiple shell operations using the
openspecCLI for project management tasks (status, list, instructions, etc.). - Evidence: Multiple bash snippets in SKILL.md (Steps 2 and 3) execute the
openspeccommand with various flags. Theallowed-toolsconfiguration restricts this execution scope toopenspec:*subcommands, which helps mitigate broader command injection risks.
Audit Metadata