mukul975/anthropic-cybersecurity-skills/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 (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.
Agent skill · version 1.3.1-main.1794313673.g54a7988 · from mukul975/Anthropic-Cybersecurity-Skills
Install
npx yarkr-cli add skill:mukul975/anthropic-cybersecurity-skills/detecting-ai-model-prompt-injection-attacksWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:mukul975/anthropic-cybersecurity-skills/detecting-ai-model-prompt-injection-attacks
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:mukul975/anthropic-cybersecurity-skills/detecting-ai-model-prompt-injection-attacksOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:mukul975/anthropic-cybersecurity-skills/detecting-ai-model-prompt-injection-attacksWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.