speckit-clarify
Warn
Audited by Gen Agent Trust Hub on Nov 9, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes a local PowerShell script located at
.specify/scripts/powershell/check-prerequisites.ps1with user-supplied arguments ($ARGUMENTS). While the instructions suggest escaping single quotes, passing user-provided strings directly into a shell command shell increases the risk of command injection. - [DYNAMIC_EXECUTION]: The skill implements an extension hook system that reads commands from
.specify/extensions.ymland executes them using theEXECUTE_COMMANDdirective. This allows for the execution of arbitrary commands defined in a configuration file within the workspace, which may be untrusted in collaborative environments. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from the project workspace which could influence agent behavior.
- Ingestion points: The skill reads the feature specification file (
FEATURE_SPEC) and the extension configuration file (.specify/extensions.yml). - Boundary markers: No specific boundary markers or instructions to ignore embedded commands within the spec file are present.
- Capability inventory: The skill can execute PowerShell scripts (
check-prerequisites.ps1), run arbitrary commands via extension hooks, and write updated content back to the specification file. - Sanitization: There is minimal sanitization mentioned for shell arguments (basic quote escaping), but no validation of the commands fetched from the YAML configuration or the content of the spec file.
Audit Metadata