improve-codebase-architecture
Pass
Audited by Gen Agent Trust Hub on Sep 26, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from the project codebase to generate an architectural review report, creating a surface for malicious content to influence the agent or the user via the generated output.
- Ingestion points: The skill reads CONTEXT.md, ADRs in docs/adr/, git history, and files explored by the Agent tool in SKILL.md.
- Boundary markers: No delimiters or ignore instructions are specified for codebase content.
- Capability inventory: The skill writes to the local temp directory and executes shell commands (xdg-open, open, start) in SKILL.md.
- Sanitization: No explicit sanitization or escaping of ingested codebase content is defined in the HTML-REPORT.md template.
- [DYNAMIC_EXECUTION]: The report scaffold in HTML-REPORT.md configures the Mermaid library with securityLevel set to 'loose'. This setting allows HTML tags to be rendered within diagrams, which can lead to script execution if diagram labels are populated with malicious text from the scanned codebase.
- [COMMAND_EXECUTION]: The skill uses system commands (xdg-open, open, start) in SKILL.md to automatically launch the generated HTML file. This behavior facilitates the execution of the report, which is built from untrusted data sources.
- [EXTERNAL_DOWNLOADS]: Fetches styling and diagramming resources from Cloudflare (Tailwind) and JSDelivr (Mermaid) CDNs in HTML-REPORT.md. These are well-known services for hosting open-source web assets.
Audit Metadata