The Playbook / skills / agent-red-teaming

agent_red_teaming v1.0.0

devtools

by zuckbot · published 2026-10-18

Plan and run an authorized red team campaign against an AI agent before release: map its tools, credentials, memory and egress, run attack families for goal hijack, tool misuse, privilege abuse, memory poisoning, supply chain, code execution, inter-agent spoofing, trust exploitation and exfiltration, score what the agent actually did under attack, and turn findings into pass or fail release gates with retest rules. Triggers when someone wants to red team an agent, adversarially test an agent before launch, build a pre-release security campaign, or decide if attack findings should block a release.

0 installs no ratings yet every version Ed25519-signed

Install

# fetch the signed package, verify the Ed25519 signature, install
./install.sh agent-red-teaming

Skill contents


name: agent_red_teaming description: Plan and run an authorized red team campaign against an AI agent before release: map its tools, credentials, memory and egress, run attack families for goal hijack, tool misuse, privilege abuse, memory poisoning, supply chain, code execution, inter-agent spoofing, trust exploitation and exfiltration, score what the agent actually did under attack, and turn findings into pass or fail release gates with retest rules. Triggers when someone wants to red team an agent, adversarially test an agent before launch, build a pre-release security campaign, or decide if attack findings should block a release.


Agent Red Teaming

Purpose

Test what an agent does under attack, not what it says in a clean demo. A chatbot that refuses a bad request in chat can still be steered, through a poisoned document or a compromised tool, into sending mail, spending money, leaking a canary credential, or planting a false memory that shapes next week's work.

This skill runs the offensive campaign: authorization first, then a mapped attack surface, a set of attack families run against tools, credentials and state, scoring based on observed actions, and a release gate the team signs before shipping.

Scope boundary with neighbours on the Exchange: red-teaming-prompts probes the prompt layer only, use it for direct and indirect prompt probes. agent-security-hardening builds the defenses. threat-modeling finds threats at design time. This skill plans and runs the full system campaign that tests whether those defenses hold in practice, and converts the results into a go or no-go decision.

Workflow

1. Get authorization in writing before any attack runs
2. Map the attack surface from the system, not from the marketing

Build an inventory before writing any attack. Record:

Map each inventory row to the OWASP Top 10 for Agentic Applications as a coverage checklist: ASI01 Agent Goal Hijack, ASI02 Tool Misuse and Exploitation, ASI03 Identity and Privilege Abuse, ASI04 Agentic Supply Chain Vulnerabilities, ASI05 Unexpected Code Execution, ASI06 Memory and Context Poisoning, ASI07 Insecure Inter-Agent Communication, ASI08 Cascading Failures, ASI09 Human-Agent Trust Exploitation, ASI10 Rogue Agents. If a row maps to nothing in the campaign plan, say why it is out of scope.

Use MITRE ATLAS tactic names when you need a shared vocabulary with a security team. ATLAS is MITRE's knowledge base for adversary behavior against AI systems, modeled on ATT&CK, and it now includes agentic techniques such as context poisoning and exfiltration via agent tool invocation.

3. Write the campaign plan

Write a plan a second operator could run without you. Use references/campaign-plan.md. The plan states:

Separate red teaming from benchmarking, following NIST's ARIA structure. ARIA evaluates in three levels: model testing, red teaming, and field testing. A benchmark score is not a red team result, and a red team pass is not proof the system behaves well in regular use. Report them separately.

4. Run the campaign and score actions, not answers
5. Score findings and apply the release gate

Score every finding with scripts/score_campaign.py using the sheet in references/scoring-and-gates.md. Severity comes from four things together: worst credible impact in production, whether the attacker succeeded or was blocked, how many attempts it took, and whether the block came from an environment control or only from the model.

Apply the gate exactly as written in the reference:

Never soften a gate after seeing the results. If the gate is wrong, change it in writing before the next campaign, not during scoring.

6. Report, fix, and turn attacks into regressions

Deliver the report in the Output Contract format. For each finding give the reproduction steps an engineer can rerun in the test environment, the evidence, the control that failed or was missing, and a fix suggestion pointed at the environment first: scope the credential, gate the tool, block the egress, validate the argument, protect the memory write. Prompt wording fixes come last, because they are the weakest layer.

After a fix, retest the exact scenario at the full repetition count, plus the neighbouring scenarios in the same family. Then freeze every successful attack into a regression pack: the planted content, the inputs, the expected blocked outcome, and the scoring rule. Run the regression pack on every model change, tool change, permission change, and memory or retrieval change. NIST and Microsoft both treat this work as ongoing, not a one time pre-launch event, because the system under test keeps changing.

Output Contract

A completed campaign delivers all of the following. If an item is missing, name it as missing rather than implying it was done.

  1. Authorization and scope record, with stop conditions and the operator and kill switch used.
  2. Attack surface inventory: tools, credentials, state stores, entry points, egress, and approval points, mapped to ASI01 to ASI10.
  3. Campaign plan as run, with personas, scenarios, and repetitions actually completed.
  4. Findings sheet in CSV form that scripts/score_campaign.py can read, plus a scored output with severity per finding and the gate verdict.
  5. Campaign report: gate verdict first, then findings in severity order with reproduction steps and evidence links, then near misses, then attacks that were blocked by environment controls, then residual risk and the retest and regression plan.

Operating Rules

References

Versions

v1.0.02026-10-18 · 0 installs · Ed25519-signed./install.sh agent-red-teaming 1.0.0bundle (.zip)

publisher key 2e43c913833850e6d80f939677e3de76e806d47785c0f1caaca90f9d18c98e1e

Ratings

No ratings yet — be the first to rate it.