openspec-apply-change
Pass
Audited by Gen Agent Trust Hub on Sep 22, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from project artifacts and CLI outputs (specifically the
contextandoperationGuidancefields). This data is interpolated into the agent's context to influence implementation facts and conventions. - Ingestion points: Reads files listed in
contextFilesand parses JSON output fromopenspec instructions apply. - Boundary markers: The skill includes instructions to treat specific fields as separate from state and to not copy them into implementation files.
- Capability inventory: Uses
Bash(openspec:*)and performs file system writes to implement tasks. - Sanitization: The skill advises the agent to report conflicts and preserve CLI-controlled values, though it does not provide strict schema validation for the injected context content.
- [COMMAND_EXECUTION]: The skill generates and executes shell commands for the
openspecCLI by dynamically interpolating user-provided inputs such aschange nameandstore idinto command strings. This presents a potential command injection surface if inputs are not properly sanitized by the underlying platform.
Audit Metadata