openspec-bulk-archive-change

Pass

Audited by Gen Agent Trust Hub on Oct 31, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from both the local codebase and external CLI outputs, using this information to drive its archiving logic and conflict resolution.
  • Ingestion points: The skill reads JSON data from openspec list, openspec status, and openspec instructions (found in SKILL.md steps 3 and 7). It also inspects the codebase (step 5) to understand requirement implementations.
  • Boundary markers: The instructions do not specify any delimiters or safety prompts to prevent the agent from being influenced by malicious instructions embedded within the codebase or the CLI tool's output.
  • Capability inventory: The skill possesses the capability to create directories (mkdir), move files/folders (mv), and invoke the openspec-sync-specs workflow, which modifies specification files.
  • Sanitization: There is no mention of sanitizing or validating the contents or paths retrieved from external sources before they are used in logic decisions or shell commands.
  • [COMMAND_EXECUTION]: The skill executes shell commands to perform file system operations based on variables derived at runtime.
  • Evidence: In SKILL.md step 8c, the skill uses mkdir -p "<planningHome.changesDir>/archive" and mv "<changeRoot>" "<planningHome.changesDir>/archive/<target-name>". If the CLI output providing these variables is compromised, it could lead to directory traversal or unintended file moves.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 31, 2026, 01:28 PM