payload-generator

Generate IPI and H-CoT attack payloads for AI security testing.

2|1|Updated Nov 5, 2025
One-click install
npx skills add https://github.com/RazonIn4K/Red-Team-Learning --skill payload-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: payload-generator
Source: https://github.com/RazonIn4K/Red-Team-Learning/tree/main/.claude/skills/payload-generator
Command: npx skills add https://github.com/RazonIn4K/Red-Team-Learning --skill payload-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of highly effective attack payloads for AI security testing, eliminating the manual effort and specialized expertise typically required. It provides research-grounded IPI, H-CoT, and multi-layer payloads, ensuring high success rates for CTF competitions and penetration tests.

Core Features & Use Cases

  • Automated Payload Generation: Instantly creates Indirect Prompt Injection (IPI) and Hijacking Chain-of-Thought (H-CoT) payloads for various attack vectors.
  • Optimized for Success: Utilizes empirically measured success rates (e.g., 98-100% for H-CoT on reasoning models) and multi-layer combinations for maximum impact.
  • Targeted Generation: Generates payloads for specific models (Claude, GPT, Gemini) or challenge types (Gray Swan Wave 1) with tailored families and templates.
  • Use Case: A red teamer needs to quickly generate a diverse arsenal of payloads for an upcoming AI penetration test. This Skill allows them to generate 18-30 IPI payloads across 6 families and H-CoT variants for multiple models in minutes, ready for immediate deployment.

Quick Start

Use the payload-generator skill to generate a complete arsenal of indirect prompt injection payloads for all families, saving them to a new directory.