llm
security_error
ai_generated
true
Prompt injection attempt detected in user input
ID: llm/prompt-injection-detected
72%Fix Rate
78%Confidence
3Evidence
2023-01-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| any | active | — | — | — |
Root Cause
User attempting to override system prompt via injection.
genericWorkarounds
-
85% success Use separate system/user message roles and input sanitization
-
88% success Implement output validation and guardrails post-generation
Dead Ends
Common approaches that don't work:
-
Filter specific known injection phrases
80% fail
Easily bypassed with paraphrasing
-
Trust LLM to self-police injection
82% fail
Model can be manipulated