openspec-apply-change
Pass
Audited by Gen Agent Trust Hub on Sep 29, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes external data from the
openspecCLI and project files, creating a surface for indirect prompt injection. A malicious project could use thecontextoroperationGuidancefields to attempt to override agent instructions. - Ingestion points: The agent ingests data from
openspec status --json,openspec instructions apply --json, and every file listed in thecontextFilesarray inSKILL.md. - Boundary markers: The skill provides explicit instructions to the agent to treat
contextandoperationGuidanceas advisory only, ensuring they do not replace built-in instructions or bypass blocked states. - Capability inventory: The skill utilizes the
Bash(openspec:*)tool to execute CLI commands and performs file modifications during the implementation phase inSKILL.md. - Sanitization: There is no automated sanitization of the input; the skill relies on the agent's reasoning to identify and report conflicts between project guidance and the controlling workflow.
- [COMMAND_EXECUTION]: The skill uses the
openspecCLI to perform various actions like listing stores, checking status, and getting instructions. These calls are scoped to theopenspectool as defined in theallowed-toolsfrontmatter.
Audit Metadata