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 external data provided by the
openspec instructions archiveandopenspec instructions specscommands, which can supply acontextandoperationGuidanceto influence the agent's behavior. - Ingestion points: SKILL.md (Steps 1 and 4) executes shell commands and parses their JSON output to obtain behavioral guidance.
- Boundary markers: The instructions explicitly direct the agent to keep external guidance separate from built-in steps, report conflicts, and never allow advisory inputs to override controlling inputs or command contracts.
- Capability inventory: The skill uses the
Bash(openspec:*)tool to run CLI commands and perform file system operations likemkdirandmv. - Sanitization: The skill contains logic to handle non-zero exit codes or invalid JSON from these commands by proceeding without context rather than failing or executing arbitrary code.
- [COMMAND_EXECUTION]: The skill constructs and executes shell commands for file management based on paths retrieved from the CLI tool's status output.
- Evidence: Step 5 uses
mkdir -pandmvto relocate thechangeRootdirectory to an archive path, both of which are variables derived from the execution ofopenspec status --json.
Audit Metadata