improve-codebase-architecture
Pass
Audited by Gen Agent Trust Hub on Oct 8, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses platform-specific commands (
xdg-openon Linux,openon macOS, andstarton Windows) to open the generated HTML architectural review in the user's default browser. - [EXTERNAL_DOWNLOADS]: The generated HTML report fetches external resources from well-known services, including Tailwind CSS from
cdn.tailwindcss.comand the Mermaid.js library fromcdn.jsdelivr.netfor rendering diagrams. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process untrusted data from the local codebase, including source files, commit history (
git log), and existing documentation (CONTEXT.md, ADRs). - Ingestion points: Codebase files, git history, and domain glossaries are read to identify architectural patterns.
- Boundary markers: The instructions do not define explicit delimiters or instructions for the sub-agents to ignore potentially malicious content embedded in the scanned files.
- Capability inventory: The skill possesses the ability to spawn sub-agents, write files to the system's temporary directory, and execute shell commands to display the report.
- Sanitization: There is no explicit sanitization process described for codebase content before it is interpolated into the HTML report or processed by architectural sub-agents.
- [DYNAMIC_EXECUTION]: The skill generates an HTML file containing scripts that execute in the user's browser environment. Specifically, it initializes the Mermaid diagramming library with
securityLevel: "loose", which permits a wider range of HTML and script content within diagrams, potentially increasing the risk of cross-site scripting (XSS) if scanned code content is rendered unsafely.
Audit Metadata