message-batches-api
Warn
Audited by Snyk on Jul 15, 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 builds batch requests by embedding the runtime variable
documentinto the LLMmessagescontent ("Classify this document:\n\n{document}"), so ifdocumentscontains outsider-authored free text, that text is fed into the agent’s LLM context via the batch API.
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata