openspec-archive-change
Pass
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the Bash tool to execute system commands including
mkdirandmv, as well as theopenspecCLI. These commands utilize variables such as<changeRoot>and<planningHome.changesDir>which are derived from tool outputs. While the skill correctly uses double-quoting to prevent simple shell injection, it relies on the integrity of theopenspectool's output. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and follow instructions from external sources at runtime, creating a vulnerability surface.
- Ingestion points: The skill fetches JSON data via
openspec instructions archiveandopenspec instructions specsinSKILL.md, specifically parsingcontext,operationGuidance, andrulesfields. - Boundary markers: The instructions include explicit guardrails, stating that external inputs are "advisory" and must not override "built-in steps, explicit user choices, resolved paths, CLI checks, and command contracts."
- Capability inventory: The skill has the capability to execute shell commands (
bash), move directories (mv), and read/write files (spec.md,tasks.md). - Sanitization: The skill implements logical sanitization by instructing the agent to report conflicts between the external guidance and core instructions rather than following the external guidance.
Audit Metadata