red-team

Generate adversarial inputs and log discrepancies between target systems and oracles.

150|19|Updated Jun 15, 2026
One-click install
npx skills add https://github.com/gaasher/Agent-Loop-Skills --skill red-team-gaasher
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: red-team
Source: https://github.com/gaasher/Agent-Loop-Skills/tree/main/loops/red-team
Command: npx skills add https://github.com/gaasher/Agent-Loop-Skills --skill red-team-gaasher

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python3.9+, tools/harness.py, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of adversarial testing to identify security vulnerabilities in guardrails, classifiers, prompts, or APIs.

Core Features & Use Cases

  • Adversarial Testing: Generates adversarial inputs to test the robustness of a target system.
  • Feedback Loop: Continuously runs tests and logs discrepancies between the target system and a ground-truth oracle.
  • Use Case: Use this Skill to test the security of your own classifier or API by providing it with a set of inputs and observing how it behaves over time.

Quick Start

Run the red-team skill with the target command and oracle command to start the adversarial testing loop.

Frequently Asked Questions about red-team

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

FAQPage Schema
How do I automate adversarial testing for AI security vulnerabilities?

Adversarial testing for AI security vulnerabilities is automated by generating adversarial inputs and running them through your target system to identify discrepancies against a ground-truth oracle. This skill requires Python 3.9+ and specific command-line tools to execute the continuous testing loop.

What is the best way to test the robustness of guardrails and classifiers?

Testing the robustness of guardrails and classifiers is best achieved by providing a set of inputs to a target command and oracle command. The system continuously runs tests, generates adversarial inputs, and logs behavioral discrepancies over time to evaluate security.

Can I use this to run vulnerability assessments on my own API?

You can use this to run vulnerability assessments on your own API by executing the red-team skill with your target command and oracle command. It generates adversarial inputs and observes how your API behaves over time against a ground-truth oracle.

Do I need Python 3.9+ to run automated adversarial tests?

You need Python 3.9+ to run automated adversarial tests because the skill depends on it for execution. Additionally, specific command-line tools and the harness.py script are required to generate inputs and compare target system discrepancies against the oracle.

How does the feedback loop work in automated vulnerability assessments?

The feedback loop in automated vulnerability assessments works by continuously running generated adversarial inputs through the target system. It then logs discrepancies between the target system's behavior and the ground-truth oracle to identify security vulnerabilities.