neon-functions
Warn
Audited by Snyk on Aug 10, 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.30). In references/ai-sdk.md, the Neon Function handler reads outsider-authored free text from the inbound request JSON (
const { messages } = (await request.json())) and passes it to an agent (streamText({ …, messages, … })), making the runtime vulnerable to indirect prompt injection via user-supplied chat content.
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata