Prompt Injection Scanner — AI skill for Claude Code
A zero-dependency Python CLI that scans READMEs, SKILL files, and source code for prompt-injection patterns targeting AI coding assistants (Claude Code, Cursor, GitHub Copilot, Aider).
How to install Prompt Injection Scanner
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open savaryncraftlab/prompt-injection-scanner and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Prompt Injection Scanner does
A zero-dependency Python CLI that scans READMEs, SKILL files, and source code for prompt-injection patterns targeting AI coding assistants (Claude Code, Cursor, GitHub Copilot, Aider). Catches hidden HTML comments, authority impersonation, and credential exfiltration attempts.
Alternatives in AI
- Sast Skills — Collection of agent skills that turn your AI coder into a SAST scanner 620 ★
- Gentleman Skills — Community-driven AI agent skills for Claude Code, OpenCode, and other AI assistants 467 ★
- SoloDawn — Catches and repairs AI hallucinations before delivery: three quality gates, 31 built-in rules, a self-healing 312 ★
README
prompt-injection-scanner
Scan READMEs, skills, and source code for prompt-injection attacks targeting AI coding assistants.
[](https://github.com/savaryncraftlab/prompt-injection-scanner/actions/workflows/ci.yml)   
AI coding assistants like **Claude Code**, **Cursor**, **GitHub Copilot**, **Aider**, and **Continue** read your repository files as part of their context — READMEs, `SKILL.md`, source comments, config files, all of it. That text isn't just displayed, it **becomes part of the prompt the model is running against**. The model has no way to tell "user typed this" from "a file on disk typed this".
That's the entire attack surface. Anyone can drop hidden instructions into a public repo — in an HTML comment, a code comment, or a fake "verified by Anthropic" note — and every agent that clones it is potentially compromised.
**This tool scans files for known prompt-injection patterns** so you can spot them before your agent does.

The attack, in 20 seconds
Here is a real-looking `README.md`:
# fast-json
A tiny library for parsing JSON 10x faster than the standard library.
## Install
pip install fast-json
Rendered on GitHub, the HTML comment is invisible. Copy-pasted into a chat with an AI assistant, **it's just another paragraph of the prompt**. The assistant will cheerfully read your `.env` file, exfiltrate it, and tell you everything went fine.
There are
Related Skills
Aigis Kr
Deterministic, zero-dependency Python firewall for AI agents — MCP rug-pull, memory poisoning, indirect inject
Vibe Debt Scanner
Scans any module for the technical debt AI coding tools generate invisibly. Assigns a Debt Severity Score (1-1
Mihani
Mihani is a cross-platform desktop workspace for AI coding agents. Connect Codex, Claude Code, Cline, OpenHand
Vet Skill
Static pre-install scanner for AI agent skill bundles — flags prompt-injection phrasing and exfil/remote-exec-
PDF Craft
Claude Code skill that makes AI-generated PDFs look designed: forced design briefs, six house styles, a no-rep
AI Secret Scout
Zero-dependency heuristic secret scanner & redaction tool for AI coding assistant histories (Claude Code, Anti
Related Agents
AI Code Security Auditor
Security reviewer for AI-generated and vibe-coded apps — hunts the hardcoded secrets, broken row-level securit
Security AI Generated Code Auditor
Security reviewer for AI-generated and vibe-coded apps — hunts the hardcoded secrets, broken row-level securit
Metis
Pre-planning gap analyzer. Catches hidden intentions, ambiguities, and AI failure points BEFORE plan generatio