improve-codebase-architecture
Pass
Audited by Gen Agent Trust Hub on Jun 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses platform-specific shell commands (
xdg-open,open, orstart) to automatically open the generated architectural report in the user's default browser after the analysis is complete.\n- [EXTERNAL_DOWNLOADS]: The generated HTML report includes references to fetch styling and diagramming libraries from well-known public CDNs, specifically Tailwind CSS fromcdn.tailwindcss.comand Mermaid.js fromcdn.jsdelivr.net.\n- [PROMPT_INJECTION]: The skill presents an indirect prompt injection surface by processing untrusted codebase data into a visual report: (1) Ingestion points: The agent readsCONTEXT.md, Architecture Decision Records (ADRs), and various codebase files. (2) Boundary markers: No explicit delimiters or instructions are used to distinguish codebase data from the report instructions. (3) Capability inventory: The skill has the ability to write local HTML files and execute shell commands to open them. (4) Sanitization: The report scaffold explicitly configures Mermaid withsecurityLevel: "loose", which permits HTML and script tags within the diagram source, potentially allowing malicious content within the codebase to execute in the user's browser context when the report is viewed.
Audit Metadata