ai-sdk-7
Warn
Audited by Snyk on Jun 28, 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 free text can enter the LLM context via the runtime
messages/promptpassed intoToolLoopAgent.generate()orWorkflowAgent.stream()(e.g., user-provided chat content or other parties’ messages), which the agent converts to model messages at runtime.
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata