detecting-ai-model-prompt-injection-attacks
80 / 100 · Low risk
Fine to try. Some of what it can do is expected: a security skill usually runs scanners and checks websites.
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.
What this skill can do
Downloads and installs other software
Runs commands on your computer
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'detecting-ai-model-prompt-injection-attacks' ] || [ -L ~/.agents/skills/'detecting-ai-model-prompt-injection-attacks' ]; then echo 'A skill folder named detecting-ai-model-prompt-injection-attacks already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/mukul975/Anthropic-Cybersecurity-Skills' "$d" && git -C "$d" checkout --quiet '54a798831d2266a3ca61ce68a7acb80b81160d57' -- 'skills/detecting-ai-model-prompt-injection-attacks' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/detecting-ai-model-prompt-injection-attacks' ~/.agents/skills/'detecting-ai-model-prompt-injection-attacks' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'detecting-ai-model-prompt-injection-attacks' ~/.claude/skills/'detecting-ai-model-prompt-injection-attacks' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/mukul975/Anthropic-Cybersecurity-Skills/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-08 | 54a7988 | 80 |
| 2026-11-07 | 54a7988 | 80 |