visualize
Pass
Audited by Gen Agent Trust Hub on Sep 22, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill processes local Markdown files to generate a static HTML visualization for knowledge bundles without performing network operations during execution.
- [DATA_EXPOSURE]: The script uses
pathlib'sis_relative_tomethod to verify that all file read operations remain within the user-specified bundle directory, effectively preventing directory traversal attempts. - [DYNAMIC_EXECUTION]: The Python script utilizes
yaml.safe_loadfor parsing concept metadata, which prevents the execution of arbitrary Python objects during the deserialization of YAML content. - [INDIRECT_PROMPT_INJECTION]: Although the skill handles untrusted Markdown content, the resulting HTML file uses
DOMPurifyto sanitize rendered Markdown before display, which provides a robust defense against Cross-Site Scripting (XSS) in the browser. - [EXTERNAL_DOWNLOADS]: The skill suggests installing
pyyamlif the primary package manager is unavailable.pyyamlis a standard, reputable library in the Python ecosystem. The generated HTML also references well-known libraries from thejsdelivr.netCDN. - [OBFUSCATION]: A helper function is used to escape HTML special characters when embedding JSON data into script tags. This is a standard security practice to prevent script injection rather than a malicious attempt to hide code.
Audit Metadata