regex-vs-llm-structured-text

Warn

Audited by Snyk on Jul 17, 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.70). The required workflow feeds the runtime “Source Text” (content) into the LLM via validate_with_llm() when confidence is low, and that source text is not guaranteed to be authored by the operating user (it could be outsider-provided document text), creating an indirect prompt-injection path through messages.create(... "Text: {original_text}").

Issues (1)

W011
MEDIUM

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

Audit Metadata
Risk Level
MEDIUM
Analyzed
Jul 17, 2026, 01:14 PM
Issues
1