adr-discovery
Pass
Audited by Gen Agent Trust Hub on Sep 24, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill executes several shell commands, including
git logto examine project history andnpx likec4for starting a local diagram server and validating models. These commands are gated by user opt-in and checks for local installations. - [DYNAMIC_EXECUTION]: The skill dynamically generates LikeC4 model and configuration files (
likec4/model.c4,likec4/views.c4,likec4.config.js) at runtime. These files are populated with facts confirmed by the user during the discovery process and are subsequently processed by the LikeC4 tool. - [INDIRECT_PROMPT_INJECTION]: The skill reads external project files (ADRs,
package.json,README.md) to gather architectural context, which could potentially contain malicious instructions. - Ingestion points: Files located in
docs/adr/,adr/, and standard project manifests. - Boundary markers: Strong 'zero-hallucination' instructions that mandate human confirmation before any findings are added to the official brief.
- Capability inventory: Shell command execution via
npxandgit, and file system writes for documentation and modeling. - Sanitization: All ingested data is treated as 'UNCONFIRMED' and is only processed if the user explicitly verifies its accuracy.
- [EXTERNAL_DOWNLOADS]: The skill utilizes
npxto execute thelikec4modeling tool. If the package is not available locally,npxwill download it from the official NPM registry.
Audit Metadata