speckit-specify
Warn
Audited by Gen Agent Trust Hub on Oct 23, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests and processes data from various configuration files within the workspace, creating a surface for indirect injection.
- Ingestion points: Reads
.specify/extensions.yml,.specify/init-options.json, and.specify/templates/spec-template.mdfrom the project root. - Boundary markers: Absent. The skill does not use delimiters or instructions to prevent the agent from obeying commands embedded within these files.
- Capability inventory: Includes
mkdir -p,cp, and theEXECUTE_COMMANDtrigger which can invoke other agent tools. - Sanitization: None. The skill does not validate or sanitize values from the YAML or JSON files before using them to construct commands or determine execution flow.
- [DYNAMIC_EXECUTION]: The skill implements a dynamic hook system that triggers other agent tools based on external configuration.
- It extracts command names from the
hooks.before_specifyandhooks.after_specifykeys in.specify/extensions.yml. - These names are used with the
EXECUTE_COMMANDdirective, allowing the project configuration to control which agent skills are executed during the specification process. - [COMMAND_EXECUTION]: The skill performs file system modifications using paths derived from project configuration and user input.
- It executes
mkdir -pandcpoperations using theSPECIFY_FEATURE_DIRECTORYvariable. - The value of
SPECIFY_FEATURE_DIRECTORYis partially determined by thebranch_numberingsetting in.specify/init-options.json, which could be manipulated to target unexpected directory paths.
Audit Metadata