coco-diagram
Pass
Audited by Gen Agent Trust Hub on Nov 7, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill defines a clear attack surface as it processes external data from
.drawioand.mermaidfiles. However, the instructions inreferences/import-drawio.mdandreferences/import-mermaid.mdexplicitly direct the agent to treat this data as untrusted and ignore any instructions or URLs found within labels or metadata. The provided extraction scripts include sanitization logic (e.g.,clean_labeland_reject_unsafe_xml) to further mitigate risks from malicious payloads. - [EXTERNAL_DOWNLOADS]: The skill references Google Fonts to provide consistent typography. It also mentions the use of Playwright for PNG export functionality, which is a standard industry tool for browser automation and rendering. These external dependencies are well-known and directly related to the skill's primary purpose.
- [COMMAND_EXECUTION]: The skill utilizes local Python scripts (
drawio_extract.py,mermaid_extract.py, andself_check.py) for core functionality. These scripts perform deterministic parsing and auditing tasks without using dangerous functions likeeval()or making unauthorized network connections. Theself_check.pyscript specifically audits generated HTML to prevent the introduction of unsafe scripts or remote references.
Audit Metadata