firebase-vertex-ai
Warn
Audited by Snyk on Mar 11, 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.90). This skill explicitly reads public, user-generated Firestore documents (see firestore.rules: match /posts/{postId} allow read: if true) and the RAG implementation in functions/src/vertex/rag-query.ts concatenates those posts' title/content into prompts sent to Gemini, so untrusted third-party content is ingested and can materially influence model/tool behavior.
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata