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 document into the LLM messages content ("Classify this document:\n\n{document}"), so if documents contains outsider-authored free text, that text is fed into the agent’s LLM context via the batch API.

Issues (1)

W011
MEDIUM

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

Audit Metadata
Risk Level
MEDIUM
Analyzed
Jul 15, 2026, 12:55 PM
Issues
1
Security Audit — snyk — message-batches-api