ai-rag-patterns

Warn

Audited by Snyk on Jun 13, 2026

Risk Level: MEDIUM
Full Analysis

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

  • Third-party content exposure detected (medium risk: 0.65). Outsider-authored free text can enter the LLM context via the RAG retrieval path: retrieved chunk c['text'] (sourced from documents loaded from external inputs like web pages/URLs or other users’ content) is concatenated into the prompt in _build_prompt() / _format_context() and thus fed to the agent LLM.

Issues (1)

W011
MEDIUM

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

Audit Metadata
Risk Level
MEDIUM
Analyzed
Jun 13, 2026, 09:10 AM
Issues
1
Security Audit — snyk — ai-rag-patterns