speckit-adr-context
Warn
Audited by Gen Agent Trust Hub on Sep 6, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes a local shell script
.specify/scripts/bash/adr-context.shusing$ARGUMENTSas parameters in Step 2. Because the arguments are interpolated directly into the command line without shell-escaping or validation, a user could provide shell metacharacters (e.g.,;,&,|,`) to execute arbitrary commands. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from
spec.mdand remote Architecture Decision Records (ADRs) from thedotCMS/platform-adrsrepository. - Ingestion points: Data is read from
.specify/feature.json, the localspec.mdfile, and remote Markdown files via thegh apitool. - Boundary markers: The instructions do not define boundary markers or provide explicit warnings to the agent to disregard instructions embedded within the ingested ADR content.
- Capability inventory: The skill has the capability to execute shell commands and utilize the GitHub CLI tool.
- Sanitization: There is no evidence of content sanitization or filtering applied to the retrieved text before it is summarized for the plan.
- [COMMAND_EXECUTION]: In Step 3, the skill uses the GitHub CLI (
gh api) to fetch file contents. While the repository target is fixed todotCMS/platform-adrs, the specific<file>parameter is derived from the output of a previous script, which could lead to path traversal or unintended API access if the search output is manipulated.
Audit Metadata