openspec-apply-change
Pass
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the
Bashtool to executeopenspeccommands. While theallowed-toolsconfiguration restricts execution to commands starting withopenspec:*, a potential risk of command injection exists if user-provided change names containing shell metacharacters are not sanitized before interpolation into CLI arguments (e.g., inopenspec status --change "<name>"). - [INDIRECT_PROMPT_INJECTION]: The skill possesses a vulnerability surface for indirect prompt injection because it ingests and processes data fields (
contextandoperationGuidance) from external CLI tool outputs as prompt-level instructions. The skill includes specific defensive instructions inSKILL.md(Step 3) to treat these fields as separate from core workflow state and to prioritize 'controlling' workflow values, which serves as a mitigation. Ingestion points:openspec instructions applyoutput; Capability inventory:openspeccommand execution and file modification.
Audit Metadata