crisis-response-protocol
Warn
Audited by Snyk on Jul 30, 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
src/lib/ai/chat-handler.ts, the runtime callsassessCrisisLevel(message, ...)and then uses the samemessage(user free text) when generating the AI response viagenerateAIResponse(message, systemPrompt), so outsider-authored chat content directly enters the LLM workflow.
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata