markdown
Pass
Audited by Gen Agent Trust Hub on Jun 12, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill documentation includes commands for component registration and setup using
npx assistant-ui@latest add, which is the vendor's standard CLI workflow. - [EXTERNAL_DOWNLOADS]: The documentation instructs users to install several third-party libraries from the NPM registry, such as
mermaid,remark-math,rehype-katex, andreact-shiki, to support specialized markdown rendering features. - [PROMPT_INJECTION]: This finding identifies the attack surface for indirect prompt injection via rendered content.
- Ingestion points: The
MermaidDiagramcomponent inreferences/latex-mermaid.mdand theMarkdownTextcomponent inreferences/markdown-text.mdingest model-generated text directly. - Boundary markers: The skill relies on standard assistant-ui message part delimitation logic.
- Capability inventory: The
MermaidDiagramexample usesinnerHTMLto inject SVG content andbindFunctionsto attach event listeners to rendered diagrams. - Sanitization: Content rendering relies on the security protocols of the underlying libraries (
mermaid,react-markdown). The alternativeStreamdownTextPrimitiveincluded in the skill documentation provides explicitallowedTagsandlinkSafetyconfigurations for further mitigation.
Audit Metadata