visualize
Pass
Audited by Gen Agent Trust Hub on Oct 20, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the Bash tool to execute a Python script (
okf_visualize.py) which reads local markdown files and generates an HTML report. This is the core functionality and uses standard file system operations. - [EXTERNAL_DOWNLOADS]: The generated HTML file fetches well-known JavaScript libraries (Cytoscape, Marked, and DOMPurify) from the
cdn.jsdelivr.netcontent delivery network. These resources are loaded with Subresource Integrity (SRI) hashes to verify their authenticity and prevent tampering. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data in the form of markdown files from a bundle directory.
- Ingestion points: The script
okf_visualize.pyrecursively reads all.mdfiles in the user-specified directory. - Boundary markers: Not applicable as the data is rendered for a human viewer rather than being re-processed by the AI agent.
- Capability inventory: The script uses Python's
pathlibfor file I/O andargparsefor parameter handling. - Sanitization: The skill employs multiple layers of defense. It uses
yaml.safe_loadfor parsing metadata, escapes characters when embedding JSON into HTML<script>tags to prevent script injection, and usesDOMPurify.sanitize()in the browser to clean rendered markdown content.
Audit Metadata