prompt-injection-scanner

Audit agent skill instructions and system prompts for prompt injection vulnerabilities.

2|1|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/jorgealves/agent_skills --skill prompt-injection-scanner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt-injection-scanner
Source: https://github.com/jorgealves/agent_skills/tree/main/prompt-injection-scanner
Command: npx skills add https://github.com/jorgealves/agent_skills --skill prompt-injection-scanner

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The prompt-injection-scanner audits agent skill instructions and system prompts for vulnerabilities to prompt hijacking and indirect injection. Use when designing new agent skills or before deploying agents to public environments where users provide untrusted input.

Core Features & Use Cases

  • Identifies weak points where malicious users could hijack agent behavior by inserting conflicting instructions into input fields.
  • Provides timely guidance for secure skill design, pre-deployment review, and ongoing security auditing.
  • Works with existing SKILL.md to surface potential injection vectors and recommended mitigations.

Quick Start

Run the scanner against your skill's SKILL.md to generate a risk report and mitigation recommendations.

Frequently Asked Questions about prompt-injection-scanner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit agent system prompts for prompt injection vulnerabilities?

Auditing agent system prompts for prompt injection involves analyzing instruction boundaries and user input handling to identify injection vectors. This scanner reviews your SKILL.md files to surface weak points where malicious users could hijack agent behavior and provides actionable mitigations.

What is indirect prompt injection and how does it affect agent security?

Indirect prompt injection occurs when untrusted user input contains conflicting instructions that hijack an agent's intended behavior. This scanner identifies these injection vectors during skill development by analyzing how your agent processes external inputs against its core system instructions.

How do I secure agent prompts before deploying to public environments?

Securing agent prompts before public deployment requires running pre-deployment security reviews on your SKILL.md instructions. The scanner analyzes instruction boundaries and user input handling to produce a risk report with recommended mitigations against instruction hijacking.

Can I use this scanner for ongoing security audits of existing agent instructions?

You can use this scanner for ongoing security audits of existing agent instructions and system prompts. It works with your current SKILL.md files to continuously surface potential injection vectors and provides timely guidance for secure skill design.

What is the best way to identify instruction hijacking risks in agent skills?

The best way to identify instruction hijacking risks is to analyze instruction boundaries and user input handling for injection vectors. The scanner reviews agent skill instructions to locate weak points where conflicting input could manipulate agent behavior.

When do I need to run a prompt hijacking risk assessment on agent skills?

You need a prompt hijacking risk assessment when designing new agent skills, conducting pre-deployment security reviews, or performing ongoing security audits. It is critical before deploying agents to public environments where users provide untrusted input.