Giverny

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…

by mukul975★ 36,972Security

What Detecting AI Model Prompt Injection Attacks does

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.

How to install Detecting AI Model Prompt Injection Attacks in Claude Code

Giverny gives you a ready prompt with the exact install command from mukul975/Anthropic-Cybersecurity-Skills. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone mukul975/Anthropic-Cybersecurity-Skills and copy the skills/detecting-ai-model-prompt-injection-attacks folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Detecting AI Model Prompt Injection Attacks on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the detecting-ai-model-prompt-injection-attacks skill on my current project.”

More Claude skills for security