prompt-injection-tester

Automate system prompt robustness testing with 225+ adversarial probes.

4|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/thejordanleopold/claude-code-skills-distilled --skill prompt-injection-tester
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt-injection-tester
Source: https://github.com/thejordanleopold/claude-code-skills-distilled/tree/main/prompt-injection-tester
Command: npx skills add https://github.com/thejordanleopold/claude-code-skills-distilled --skill prompt-injection-tester

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the evaluation of system prompt robustness by running 225+ adversarial probes and quantifying resistance with a trust score, enabling red-teaming and reproducible security assessments.

Core Features & Use Cases

  • Automated prompt-robustness testing against extraction and injection probes to reveal weaknesses before deployment.
  • Manual probe battery that lets researchers reproduce reported attacks and validate defenses.
  • Integrates with or without AgentSeal for automated scoring, and provides remediation guidance based on results.

Quick Start

Run the included scripts/run-probes.sh with your prompt file and target model to start automated testing.

Frequently Asked Questions about prompt-injection-tester

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

FAQPage Schema
How do I test system prompts against prompt injection attacks?

You can test system prompts against prompt injection attacks by running automated adversarial probes that evaluate extraction and injection resistance. This Skill applies over 225 probe techniques to measure robustness and generates a trust score to guide prompt hardening before deployment.

What is adversarial red-teaming for AI assistants?

Adversarial red-teaming for AI assistants is the process of validating security by simulating malicious inputs against system prompts. It automates evaluation across 225+ probe techniques to identify extraction vulnerabilities and quantify resistance with a reproducible trust score.

How do I automate prompt robustness testing in a CI/CD pipeline?

Automate prompt robustness testing in a CI/CD pipeline by running shell utilities to execute probe batteries against target models. This validates system prompts as a security gate, scoring resistance across 225+ techniques to ensure hardening before production deployment.

Do I need AgentSeal integration to score adversarial probe results?

You do not need AgentSeal integration to score adversarial probe results, as it is optional. The Skill can automate evaluation and provide remediation guidance independently, but integrating AgentSeal enables automated detection and scoring of probe success across the 225+ techniques.

Can I manually reproduce reported prompt injection attacks for research?

You can manually reproduce reported prompt injection attacks for research using the included probe battery. This allows researchers to validate defenses by running specific adversarial techniques against system prompts and analyzing the resulting robustness scores.

What's the best way to harden system prompts against extraction vulnerabilities?

The best way to harden system prompts against extraction vulnerabilities is by running adversarial probes to reveal weaknesses, then applying the provided remediation guidance. This automated evaluation quantifies resistance with a trust score to guide security validation across development environments.