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 fd1c244 4.7 KB Updated 10 repo stars

File contents

oyi77/1ai-skills/tree/main/cybersecurity/detecting-ai-model-prompt-injection-attacks commit fd1c24433a

Frequently asked questions

npx skillmds add oyi77/detecting-ai-model-prompt-injection-attacks