domains / families / security / detecting-ai-model-prompt-injection-attacks
Detects prompt injection using regex signature matching, heuristic scoring for structural anomalies, and DeBERTa-based transformer classification, flagging direct injections (system-prompt overrides, role-play escapes) and indirect injections (encoded payloads, obfuscation) per OWASP LLM Top 10 (LLM01:2025). Use for input validation layers in chatbots/agents/RAG pipelines, or for retrospectively classifying injection attempts in logs or incident investigations.
| Repository | Path |
|---|---|
| mukul975/Anthropic-Cybersecurity-Skills | skills/detecting-ai-model-prompt-injection-attacks/SKILL.md |