record-a-decision
Pass
Audited by Gen Agent Trust Hub on Oct 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to use the
exectool to perform shell-based file discovery and content inspection. Specifically, it usesls -Ato list directory contents,grep -rlnto search for specific keywords within files, andcatto read the contents of existing ADR documents. These operations are scoped to thedecisions/andproposals/directories. - [INDIRECT_PROMPT_INJECTION]: The skill acts as a conduit for persisting user-provided narrative content into the project's filesystem, creating a surface for indirect prompt injection.
- Ingestion points: User-provided descriptions of architecture decisions, technical context, and project consequences are captured and written to markdown files in
SKILL.md. - Boundary markers: The skill utilizes a structured template system (via the
writetool'stemplateparameter) which provides some structural separation, though it lacks explicit instructions for the agent to ignore or sanitize embedded instructions within the user's narrative input. - Capability inventory: The skill leverages
exec,write,edit,search,links, andaudittools to manage the documentation lifecycle. - Sanitization: No explicit sanitization or validation logic is defined for the content before it is processed by the
writeoredittools.
Audit Metadata