markdown

Warn

Audited by Snyk on Jun 12, 2026

Risk Level: MEDIUM
Full Analysis

MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).

  • Third-party content exposure detected (high risk: 0.85). Outsider-authored free text is the assistant/user message content rendered by MessagePrimitive.Parts into MarkdownTextPrimitive’s text branch; that text is then parsed as markdown (and can include fenced code for Mermaid/LaTeX) and fed into the LLM context indirectly via the chat system’s message pipeline.

Issues (1)

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

Audit Metadata
Risk Level
MEDIUM
Analyzed
Jun 12, 2026, 07:46 PM
Issues
1
Security Audit — snyk — markdown