architecture-diagram
Pass
Audited by Gen Agent Trust Hub on Apr 13, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill includes a bash script
scripts/export.shused to convert diagrams to PNG or PDF formats. - The script implements a security check to verify that the output path is within the current working directory (
ALLOWED_DIR), which prevents directory traversal attacks. - It uses standard system utilities like
mktempfor temporary file handling andsedfor content extraction. - [EXTERNAL_DOWNLOADS]: The
scripts/export.shscript automates the installation of the@resvg/resvg-jsdependency from the npm registry if it is missing. - This dependency is a well-known, high-performance SVG rendering library.
- The installation is scoped to the skill's own script directory and is necessary for the core functionality of exporting images.
- [SAFE]: The core instructions in
SKILL.mdcontain a mandatory security rule for the agent to HTML-entity-escape all user-supplied text inserted into labels, titles, and descriptions. - This proactive measure effectively mitigates the risk of Cross-Site Scripting (XSS) in the generated HTML and SVG outputs.
Audit Metadata