arch-builder
Pass
Audited by Gen Agent Trust Hub on Nov 3, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONOBFUSCATION
Full Analysis
- [COMMAND_EXECUTION]: The Python CLI in
tools/src/arch_builder/cli.pyusessubprocess.runto orchestrate internal helpers, including a Node.js rendering script and an AWS icon build script. The skill also provides configuration for an optional MCP server initialized vianpxinvendor/drawio/.mcp.json. - [EXTERNAL_DOWNLOADS]: The skill references external packages from established registries. It optionally fetches the
@next-ai-drawio/mcp-serverpackage via NPM and lists requirements likepython-hcl2andsqlglotfor parsing infrastructure files. - [DYNAMIC_EXECUTION]: JavaScript logic in the
vendor/drawiodirectory uses dynamicimport()calls to load specific parsing engines liketree-sitterandes-module-lexeronly when needed for specific input formats. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from Terraform, Kubernetes, and SQL sources, creating a potential injection surface. 1. Ingestion points: Data is read by specialized adapters in
kubernetes.js,terraform-config.js, andsql-ddl.js. 2. Boundary markers: Input is processed through formal parsers (YAML, JSON, HCL, SQL) before being used in the diagramming pipeline. 3. Capability inventory: The skill can execute local commands and perform file writes for diagram generation. 4. Sanitization: It features extensive filtering logic inartifacts.jsto strip sensitive information such as secrets and credentials from processed metadata. - [OBFUSCATION]: The skill includes logic to encode and decode standard draw.io Base64-compressed XML and image data URIs, which are required for interoperability with the draw.io file format.
Audit Metadata