openspec-apply-change
Pass
Audited by Gen Agent Trust Hub on Sep 22, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and follow instructions provided by the
openspecCLI tool, which creates a surface for indirect prompt injection if the project files or the tool's output are influenced by an attacker.- Ingestion points: In
SKILL.md(Step 3), the agent executesopenspec instructions apply --change "<name>" --jsonand is instructed to parse thecontextandoperationGuidancefields. - Boundary markers: The instructions explicitly state that
contextis a "required prompt-level input" andoperationGuidanceis "optional additive advice." While the skill includes some logic to preserve the "controlling workflow inputs" and report conflicts, there are no structural delimiters (like XML tags or specific block quotes) or explicit instructions to ignore potentially malicious embedded directives within those specific fields. - Capability inventory: The skill has the capability to execute shell commands via the
Bash(openspec:*)tool and is expected to modify project source code and planning artifacts (Step 6). - Sanitization: There is no evidence of sanitization, filtering, or validation of the content returned in the
contextoroperationGuidancefields before the agent processes them as instructions.
- Ingestion points: In
Audit Metadata