speckit-clarify
Warn
Audited by Gen Agent Trust Hub on Oct 7, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill implements an extension hook system that reads commands from
.specify/extensions.ymllocated in the project root. Mandatory hooks marked asoptional: falseare executed automatically via theEXECUTE_COMMAND:directive. - Evidence: The
Pre-Execution ChecksandMandatory Post-Execution Hookssections instruct the agent to parse the YAML file and invoke identified commands without user confirmation for mandatory entries. - [COMMAND_EXECUTION]: The skill executes a script placeholder
{SCRIPT}from the repository root to initialize the environment and capture feature metadata. - Evidence: Step 1 of the
Outlinephase requires running{SCRIPT}with--json --paths-onlyarguments to determineFEATURE_DIRandFEATURE_SPECpaths. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data from feature specifications and requirement checklists, which could contain instructions designed to influence the agent's behavior during the clarification or integration phases.
- Ingestion points:
FEATURE_SPECfile,/memory/constitution.md, andFEATURE_DIR/checklists/requirements.md(specifically GitHub task-list items). - Boundary markers: The skill does not define strict delimiters or "ignore instructions" markers when reading the feature spec for the ambiguity scan.
- Capability inventory: The agent has the ability to execute shell commands (via hooks/scripts), write to the filesystem (updating the spec and checklist), and interactively prompt the user.
- Sanitization: No specific sanitization or filtering is performed on the content of the specification files before they are parsed for ambiguity or updated.
Audit Metadata