improve-codebase-architecture

Pass

Audited by Gen Agent Trust Hub on Jun 14, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses system-native commands (xdg-open, open, start) to automatically open the generated architectural report in the user's default browser. These commands target a generated file path in the operating system's temporary directory.
  • [EXTERNAL_DOWNLOADS]: The generated HTML reports include references to external scripts and styles from well-known services, specifically cdn.tailwindcss.com for styling and cdn.jsdelivr.net for the Mermaid.js diagramming engine.
  • [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it reads and processes untrusted data from the codebase being analyzed, including domain glossaries, Architectural Decision Records (ADRs), and source code. This data is then used to generate a report that is opened in a web browser.
  • Ingestion points: Reads project source code, CONTEXT.md, and files in docs/adr/ via the Agent tool.
  • Boundary markers: No explicit instruction delimiters or boundary markers are defined to isolate untrusted codebase content from the agent's instructions.
  • Capability inventory: The skill can write files to the temporary directory and the project root (e.g., CONTEXT.md), execute shell commands to open files, and generate HTML content that includes remote scripts.
  • Sanitization: There is no evidence of sanitization or escaping of the ingested codebase content before it is interpolated into the generated HTML report or processed by the sub-agents.
Audit Metadata
Risk Level
SAFE
Analyzed
Jun 14, 2026, 12:59 PM