prompt-injection

Audit AI applications for prompt injection and authorization bypass vulnerabilities.

345|47|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/briiirussell/cybersecurity-skills --skill prompt-injection-briiirussell
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt-injection
Source: https://github.com/briiirussell/cybersecurity-skills/tree/main/skills/prompt-injection
Command: npx skills add https://github.com/briiirussell/cybersecurity-skills --skill prompt-injection-briiirussell

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents attackers from hijacking LLM or AI-agent instructions to leak secrets, bypass authorization, or trigger unauthorized tool actions.

Core Features & Use Cases

  • Prompt Injection Attack Surface Mapping: Traces every LLM integration, including indirect inputs like RAG chunks, tool outputs, web content, and MCP server data.
  • Prompt Construction Auditing: Identifies vulnerable interpolation patterns, missing instruction/data boundaries, and secret exposure risks in system prompts.
  • Tool/Agent Permission Boundary Testing: Evaluates tool/function calling validation, destructive-action gating, agent loop/memory risks, MCP security posture, and permission-confused-deputy scenarios.
  • Output and Prompt Leaking Assessment: Checks for insecure output handling (e.g., unsafe HTML rendering, code execution paths) and attempts to extract system prompts.

Quick Start

Use this skill to audit your application for prompt injection by uploading the relevant code and asking the agent to produce a prioritized Prompt Injection Audit Report with concrete remediation steps.

Frequently Asked Questions about prompt-injection

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

FAQPage Schema
How do I prevent prompt injection attacks in LLM agents?

To prevent prompt injection attacks in LLM agents, you must audit application surfaces to identify vulnerable interpolation patterns, validate prompt construction, and enforce strict permission boundaries for tool calling.

What is indirect prompt injection in RAG pipelines?

Indirect prompt injection in RAG pipelines occurs when untrusted external data chunks manipulate the LLM. Security audits must trace these indirect inputs to prevent privilege escalation and unauthorized agent actions.

How do I audit MCP security and tool calling permission boundaries?

Auditing MCP security and tool calling permission boundaries involves evaluating function validation, gating destructive actions, and testing for confused-deputy scenarios under real user-role contexts to prevent authorization bypass.

How do I test AI agent authorization bypass and privilege escalation?

Testing AI agent authorization bypass and privilege escalation requires mapping AI attack surfaces, assessing agent loop risks, and verifying data isolation across web apps and API surfaces under various user-role contexts.

How do I secure system prompts and prevent sensitive data leaking?

Securing system prompts and preventing data leaking requires auditing prompt construction for missing instruction boundaries, secret exposure risks, and insecure output handling like unsafe HTML rendering or code execution paths.

Does this prompt injection audit work for web apps and API surfaces?

Yes, this prompt injection audit applies to web apps and API surfaces, evaluating direct, indirect, and cross-privilege injection scenarios across RAG pipelines, tool calling, and MCP-based agent architectures.