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 ingests data from external sources (OpenSpec stores) that could potentially influence the agent's actions or lead to unauthorized file access.
- Ingestion points: The skill parses JSON output from
openspec statusandopenspec instructions, specifically thecontextFilesarray,dynamic instruction,context, andoperationGuidancefields. - Boundary markers: The instructions provide logical guardrails, advising the agent to keep external context separate from CLI-returned state and to report conflicts rather than bypassing blocked states.
- Capability inventory: The skill executes Bash commands (limited to the
openspecCLI), reads arbitrary file paths provided in thecontextFileslist, and writes to local files to update task checkboxes. - Sanitization: The skill relies on the agent's reasoning to identify conflicts rather than programmatic sanitization of the CLI output.
- [COMMAND_EXECUTION]: The skill operates by executing system commands through the
openspecCLI via Bash. Although the execution environment is scoped usingallowed-tools, the skill's logic depends on the successful invocation and trusted output of these shell commands.
Audit Metadata