Detecting AI Model Prompt Injection Attacks

Use when detects prompt injection attacks targeting LLM-based applications using a multi-layered defense combining regex pattern matching for known attack signatures, heuristic scoring for structural anomalies, and transformer-based classification with DeBERTa models. The detector analyzes user inputs before they reach the LLM, flagging direct injections (system prompt overrides, role-play escapes, instruction hijacking) and indirect injections (encoded payloads, multi-language obfuscation, d...

oyi77 Updated 19 repo stars

File contents

oyi77/1ai-skills commit fd1c24433a

Frequently asked questions

npx get-skill add oyi77/detecting-ai-model-prompt-injection-attacks