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 mkdir and mv, as well as the openspec CLI. 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 the openspec tool'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 archive and openspec instructions specs in SKILL.md, specifically parsing context, operationGuidance, and rules fields.
  • 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
Risk Level
SAFE
Analyzed
Sep 20, 2026, 06:49 AM