llm-prompt-injection

Test AI/LLM applications for prompt injection and defense bypass techniques.

120|8|Updated Jun 2, 2026
One-click install
npx skills add https://github.com/Prohao42/aimy-skill --skill llm-prompt-injection-prohao42
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: llm-prompt-injection
Source: https://github.com/Prohao42/aimy-skill/tree/main/ai-mian/hack-skills/skills/llm-prompt-injection
Command: npx skills add https://github.com/Prohao42/aimy-skill --skill llm-prompt-injection-prohao42

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill equips security professionals with a comprehensive playbook to test AI/LLM applications for direct and indirect injection, tool abuse, data exfiltration, and defense bypass techniques.

Core Features & Use Cases

  • Direct Prompt Injection: Override system instructions and manipulate AI behavior.
  • Indirect Prompt Injection: Embed malicious instructions in external data.
  • Tool/Function Calling Abuse: Exploit AI's access to tools for unauthorized actions.
  • Data Exfiltration: Extract sensitive data using various techniques.
  • MCP Security Risks: Identify vulnerabilities in the Model Context Protocol.
  • Defense Bypass Patterns: Utilize encoding, splitting, and few-shot manipulation.
  • Impact Classification: Assess the severity of discovered vulnerabilities.
  • Testing Methodology: A structured approach to testing AI/LLM applications.

Quick Start

Use the llm-prompt-injection skill to perform a direct prompt injection test on the AI/LLM application.

Frequently Asked Questions about llm-prompt-injection

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

FAQPage Schema
How do I test AI applications for prompt injection vulnerabilities?

To test AI applications for prompt injection, use a structured testing methodology covering direct instruction override, role play, RAG poisoning, and web browsing injection to manipulate AI behavior and identify vulnerabilities.

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

Indirect prompt injection in LLM security involves embedding malicious instructions within external data sources, which manipulates the AI's behavior when processed, leading to potential data exfiltration and unauthorized tool execution.

How can I prevent data exfiltration through tool calling abuse in LLMs?

To identify data exfiltration risks via tool calling abuse in LLMs, simulate unauthorized actions and exploit function calling vulnerabilities to uncover security gaps in the application's tool access controls.

What are common defense bypass techniques for LLM security testing?

Common defense bypass techniques for LLM security testing include utilizing encoding, payload splitting, and few-shot manipulation to circumvent existing AI safety filters and successfully execute injection attacks.

Do I need prior AI security knowledge to perform LLM injection testing?

Yes, performing LLM injection testing requires existing knowledge of AI/LLM security testing to effectively assess vulnerabilities like Model Context Protocol risks and classify the severity of discovered impacts.

What is the best way to assess the severity of LLM injection vulnerabilities?

The best way to assess the severity of LLM injection vulnerabilities is to apply a structured impact classification methodology after successfully executing defense bypass patterns and verifying data exfiltration techniques.