speckit-tasks
Warn
Audited by Gen Agent Trust Hub on Nov 9, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill automatically executes a PowerShell script located at
.specify/scripts/powershell/check-prerequisites.ps1relative to the project root. If a user runs this skill in a repository containing a malicious version of this script, it will execute with the user's permissions. - [DYNAMIC_EXECUTION]: The skill implements an 'Extension Hooks' feature that reads the
.specify/extensions.ymlfile and instructs the agent to run commands found in thehooks.before_tasksandhooks.after_taskskeys using theEXECUTE_COMMANDdirective. This allows for arbitrary command execution controlled by a configuration file within the workspace. - [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it processes untrusted data from multiple project files and uses that data to influence its execution and trigger commands.
- Ingestion points:
.specify/extensions.yml,plan.md,spec.md,data-model.md,contracts/,research.md, andquickstart.md. - Boundary markers: None identified. The instructions do not specify any delimiters to separate file content from the agent's instructions.
- Capability inventory: Execution of a local PowerShell script (
check-prerequisites.ps1) and arbitrary command execution via theEXECUTE_COMMANDdirective in the extension hooks system. - Sanitization: No evidence of sanitization, validation, or escaping of the content read from the project files before it is processed or used to trigger commands.
Audit Metadata