c4-model
Pass
Audited by Gen Agent Trust Hub on Sep 24, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes 'npx likec4 validate' to verify the syntax and structure of generated architecture models within the development environment.- [INDIRECT_PROMPT_INJECTION]: The skill ingests data from external project files to generate architectural models, creating a potential surface for indirect injection if these files contain untrusted content.
- Ingestion points: Reads from 'docs/architecture/discovery-brief.md', 'docs/architecture/open-questions.md', and ADR directories.
- Boundary markers: Employs a 'Canonical-C4 locked specification' and a 'Canonical-C4 lint' step to restrict output to a predefined schema.
- Capability inventory: Performs file system reads, writes DSL and configuration files, and executes shell commands for validation.
- Sanitization: Output is constrained by a strict DSL specification, though explicit input sanitization of the markdown source files is not described.- [DYNAMIC_EXECUTION]: The skill generates LikeC4 DSL files ('.c4') and a basic configuration file ('likec4.config.js') at runtime based on the discovered project architecture.
Audit Metadata