openspec-archive-change
Pass
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes data from external files and tool outputs which could contain adversarial instructions designed to influence agent behavior.
- Ingestion points: Reads content from
tasks.md(Step 3) and JSON payloads fromopenspec instructions archiveandopenspec instructions specs(Steps 1 and 4). - Boundary markers: The instructions explicitly mandate that
operationGuidanceandcontextare advisory and must not override "controlling inputs" such as CLI contracts, resolved paths, or explicit user choices. It requires the agent to report and explain any conflicts. - Capability inventory: The skill possesses the ability to execute
openspecCLI commands and manipulate the file system viamkdirandmvcommands. - Sanitization: Relies on structural JSON parsing of CLI outputs and logical verification of synced specs before finalizing the archive.
- [COMMAND_EXECUTION]: The skill utilizes the Bash tool to perform system-level operations.
- Shell Operations: Executes
mkdir -pandmvto manage the archive directory structure. - Variable Interpolation: Commands are constructed using variables like
<changeRoot>and<target-name>derived from tool outputs or user input. While intended for local repository management, these represent a standard injection surface if the executing agent does not apply strict shell escaping. - CLI Invocation: Uses the
openspecCLI for gathering project status, listing changes, and fetching workflow instructions.
Audit Metadata