openspec-propose
Warn
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: MEDIUMINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests data from external sources that could contain malicious instructions designed to influence the agent's behavior.
- Ingestion points: In Step 5a, the skill reads data from
openspec instructions --json(includinginstruction,rules,template, andcontextfields) and reads existing artifact files from the disk for context. - Boundary markers: The skill lacks explicit boundary markers or instructions to the agent to ignore embedded commands when processing the template or instruction fields.
- Capability inventory: The agent has the capability to write files to the local file system and execute shell commands via the
openspecCLI. - Sanitization: No sanitization or validation is performed on the data fetched from the CLI or the files read from disk before they are processed by the agent.
- [DYNAMIC_EXECUTION]: The skill allows an external tool to dynamically delegate the execution of other skills or commands.
- Evidence: Step 5a explicitly instructs the agent: "If the
instructionfield delegates creation to a specific skill or command, invoke it to produce the artifact instead of writing the file yourself." This creates a vector where compromised CLI output could lead the agent to execute unintended tools or commands. - [COMMAND_EXECUTION]: The skill's primary functionality is built upon the execution of external shell commands.
- Evidence: Multiple steps involve running
openspeccommands (e.g.,new change,status,instructions,context,schemas) using the Bash tool. Although restricted byallowed-toolsin the frontmatter, the reliance on shell execution is a core part of the skill's risk profile.
Audit Metadata