AI Prompt Injection Detection

0•

Detects direct and indirect prompt injection attacks against LLM applications using a multi-layered defense pipeline with regex, heuristics, and DeBERTa classification.

Detects and mitigates prompt injection vulnerabilities targeting LLM-powered applications, chatbots, and RAG pipelines using a defense-in-depth approach. By combining sub-millisecond regex signature matching, structural heuristic scoring, and fine-tuned DeBERTa transformer sequence classification, it reliably flags direct overrides, instruction hijacking, and indirect obfuscated payloads before they reach the model. Aligned with OWASP LLM01:2025 and MITRE ATLAS frameworks, this skill provides pre-processing filters, risk scoring, and batch audit tools for robust AI application security.

주요 기능

010 GitHub stars
02High-performance execution modes ranging from sub-millisecond regex screening to full NLP classification
03Pre-processing integration and batch log auditing with structured JSON output
04Multi-layered defense combining regex patterns, heuristic scoring, and DeBERTa transformer models
05Identifies both direct system prompt overrides and indirect obfuscated injection payloads
06Configurable risk thresholds and weighted composite scoring across detection layers

사용 사례

01Auditing historical interaction logs and conversation datasets for security incident investigations
02Hardening Retrieval-Augmented Generation (RAG) pipelines against untrusted external document injection
03Sanitizing user inputs in real time before forwarding prompts to LLMs or AI agents