mermaid
Pass
Audited by Gen Agent Trust Hub on Oct 22, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The
scripts/check-mermaid.shscript usesnpxto fetch and execute the@mermaid-js/mermaid-clipackage. This is a well-known, official utility for Mermaid diagram validation. - [COMMAND_EXECUTION]: The skill uses a bash script to automate the validation process. The script executes shell commands such as
find,mktemp,rm, andnpxto locate markdown files and run the diagram parser. - [INDIRECT_PROMPT_INJECTION]: The validation script acts as an ingestion point for external data by reading
.mdfiles provided as arguments or found in the workspace. It extracts content within Mermaid code blocks for processing. The risk is minimized as the extracted content is only passed to a syntax validator, and the script uses standard safety practices for handling file paths and temporary files.
Audit Metadata