run-adversarial-testing

Run adversarial red-team testing sweeps against AI agents using the Coval CLI.

2|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/coval-ai/coval-external-skills --skill run-adversarial-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-adversarial-testing
Source: https://github.com/coval-ai/coval-external-skills/tree/main/skills/runs/run-adversarial-testing
Command: npx skills add https://github.com/coval-ai/coval-external-skills --skill run-adversarial-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, curl, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill automates the complex, multi-step process of red-teaming AI agents, ensuring they remain robust against bad-actor scenarios like prompt injection, PII extraction, and social engineering without requiring manual test set creation.

Core Features & Use Cases

  • Automated Adversarial Sweeps: Executes a full suite of 10 distinct bad-actor vectors against your agent, including multi-turn escalation and compliance traps.
  • Intelligent Scoring: Uses a composite evaluation metric to provide a per-scenario pass/fail scorecard, distinguishing between true security breaches and coherence issues.
  • Use Case: Before deploying a customer-facing voice agent, use this skill to verify it refuses to disclose internal system prompts or waive fees under emotional pressure.

Quick Start

Use the run-adversarial-testing skill to launch a full red-team sweep against the agent with ID agent-123.

Frequently Asked Questions about run-adversarial-testing

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

FAQPage Schema
How do I automate red-teaming and adversarial testing for my AI agent?

Adversarial testing for AI agents involves executing automated multi-iteration sweeps that simulate bad-actor scenarios like prompt injection, PII extraction, and social engineering. This workflow validates agent robustness without requiring manual test set creation.

What security vulnerabilities should I test for in a customer-facing voice agent?

You should test for prompt injection, PII extraction, and social engineering vectors. Adversarial testing applies 10 distinct bad-actor scenarios including multi-turn escalation and compliance traps to verify the agent refuses unauthorized disclosures under emotional pressure.

Do I need a specific CLI or API key to run automated adversarial testing workflows?

Yes, you need the Coval CLI, an active API key, and a configured agent endpoint. These dependencies are required to coordinate test set creation, persona simulation, and composite metric evaluation during robustness sweeps.

How does composite metric evaluation score AI agent security breaches?

Composite metric evaluation provides a per-scenario pass/fail scorecard that distinguishes between true security breaches and coherence issues. This intelligent scoring analyzes agent responses across simulated adversarial vectors to identify specific robustness failures.

Can I run adversarial testing on both voice and chat AI agents?

Yes, adversarial testing applies to both voice and chat agents requiring validation against security vectors. The workflow coordinates persona simulation and composite metric evaluation to perform multi-iteration robustness sweeps across both agent types.