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 files and tool outputs to guide implementation behavior. Specifically, it reads files specified in
contextFilesand interpretscontextandoperationGuidancefields from theopenspecCLI output as prompt-level constraints. - Ingestion points:
SKILL.md(Steps 3 and 4) describes readingcontextFilesand parsing JSON metadata (context,operationGuidance) from the CLI. - Boundary markers: The skill lacks technical delimiters to separate untrusted data from system instructions, though it includes a logical rule to report conflicts between context and built-in instructions.
- Capability inventory: The skill possesses file-write capabilities for implementation and shell execution via the
openspecCLI tool. - Sanitization: A guardrail is present to prevent copying runtime context or guidance metadata directly into implementation files, but no structural validation is performed on the content itself.
- [COMMAND_EXECUTION]: The skill executes shell commands using the
openspecCLI. While scoped to theopenspec:*namespace inallowed-tools, it incorporates user-supplied strings (change names, store IDs) into command arguments, which could be exploited if the CLI tool itself is vulnerable to argument injection.
Audit Metadata