Best AI Red Teaming Tools for Agents
Part of our guide to smart contract audits

Quick answer. Choose Promptfoo for repeatable checks on instrumented tool calls, PyRIT for multi-turn reviews, or garak for model or endpoint scans. For managed testing, the best AI red teaming tools depend on the interface: Microsoft Foundry for supported Azure agents, Prisma AIRS for endpoint scans.
Video transcript
A wallet-connected agent can give a harmless reply and still request a transfer. Choose a red teaming tool for the evidence you need, then verify authorization separately.
Prompt injection is about whether untrusted input can steer the model. Excessive agency is about what the system lets it do. To check whether a transfer was allowed, look at the authorization record.
Use Promptfoo for repeatable checks when your agent records tool calls, PyRIT to review conversations across turns, or garak for a model or compatible endpoint baseline. Guardian compared public documentation and did not run the tools.
Consider Microsoft Foundry for agents using supported Azure tools, or Prisma AIRS for managed endpoint scans. Ask for a sample report and check whether you can match its findings to your application logs.
Before release, measure two outcomes separately. Legitimate tasks must succeed, and unauthorized actions must be blocked. An agent that refuses everything cannot pass.
Use fake assets and a mock wallet that cannot sign. Match the agent's proposal, the policy decision and what reached the wallet by test ID. Missing records leave the case untested, and the mock cannot verify signing or onchain execution.
Read the full comparison for integration limits. If your agent can request transfers, bring your approval flow and signing boundaries to Guardian to scope an offchain automation pentest.
What Red Teaming Covers
AI red teaming evaluates an AI system for unsafe behavior. For agents, that includes both their outputs and what they do through tools.[1]
An agent's reply can look harmless even when it has requested a transfer. Check the authorization record, not just the transcript.[2, 3]
AI pentesting tools automate the tester's work. Here, the AI agent is what you're evaluating.
OWASP distinguishes prompt injection (LLM01) from excessive agency (LLM03). Injection concerns whether untrusted content steers the model; excessive agency concerns what the system lets it do.[4]
Injection can come from a user's message or content the agent reads. Limit the consequences with independent authorization and minimum privileges.
Guardian's offchain automation pentest checks what automated keys can call, what limits apply and how the system handles untrusted inputs.
Compare the Tools
We shortlisted tools with documented model, application or agent targets and public documentation of the evidence they return. Guardian did not run the tools or verify a head-to-head comparison on a wallet-connected agent.
Do not rank products by their dashboard percentages. A detector hit, a dialogue score and a trace assertion describe different observations.[3, 5, 6]
| Tool | Best fit | What you can inspect | Integration to check |
|---|---|---|---|
| Promptfoo | Application regression checks | Assertions on recorded tool spans | Can your agent export the spans you need? |
| Microsoft PyRIT | Multi-turn research and review | Conversation records, scores and reviewed findings | Can you connect the application and reconcile its own logs? |
| NVIDIA garak | Model or compatible REST endpoint baseline | Probe attempts and detector results in JSONL | Does the endpoint expose the responses the detector needs? |
| DeepTeam (DeepEval) | Python-based model and agent assessments | Per-case scores and reasons; grouped summaries | Can you wrap the target in a Python callback? |
| Giskard Open Source | Custom checks for agent tasks | Named check verdicts and a trace | Can your agent return structured steps for tool checks? |
| Microsoft Foundry | Managed checks for supported Foundry agents | Risk evaluations for supported agent and tool types | Is your region and tool type supported? |
| Prisma AIRS | Managed scans for models, apps and agents | Scan sequences, scores and framework mappings | Will your endpoint need a custom adapter? |
| Zscaler AI Red Teaming | Managed REST endpoint assessments | PDF reports and documented failed-case JSON export | Can you supply a session identifier and reply path? |
Open Source Tools
Choose Promptfoo to make application checks part of every release. The MIT-licensed CLI and library integrate with CI.[7]
Promptfoo can assert which tools an agent called and how many times, using OpenTelemetry spans. The main package release checked was 0.126.0.[3, 8]
For a critical recorded field, use an exact assertion rather than a model grader.
Choose PyRIT when researchers need to review conversations across turns. Microsoft's MIT-licensed toolkit includes a Python framework, CLI and CoPyRIT review interface.[6]
PyRIT 1.2.1 is a packaging update. Version 1.2.0 added reusable scenarios and persistent findings that reviewers can confirm in CoPyRIT.[9]
Cloud Security Alliance's June 2026 evaluation praised multi-turn testing and logging, but found gaps in state tracking and enforcement checks. It predates those updates.[10]
Choose garak for a model or compatible REST endpoint baseline. NVIDIA's Apache-2.0 scanner separates probes, target adapters and detectors.[11]
garak 0.17.1 reports hit@k per probe and detector pair. Read the JSONL to see which attempts the detectors evaluated.[5]
DeepTeam moved into DeepEval starting with version 4.3.6. Red teaming is beta, and standalone package deprecation is planned for January 30, 2027.[12, 13]
DeepTeam's callback can receive prior turns and return tool calls or retrieval context. The integration supplies that evidence; a text reply does not.[14]
Giskard's open source checks can inspect a reported tool result and a task success flag. Built-in tool-call tests and scheduling are Hub features.[15, 16]
Commercial Platforms
Microsoft Foundry's core portal red teaming workflow is generally available. Agentic risk checks run only in the cloud.[1, 17]
Microsoft supports hosted prompt and container agents with Azure tool calls. Its agentic checks exclude function tool calls and non-Azure tools.
Zscaler's documented REST integration reads the reply at a configured JSON path. Its public examples show a dashboard and an export request, not the exported files.[18, 19, 20]
Palo Alto Networks documents managed scans over REST and streaming in Prisma AIRS AI Red Teaming. It offers custom adapters for other integrations.[21]
Ask for a sample report. Check whether you can match a reported event to your application log and export the evidence.
Prisma AIRS documents licensing through Software NGFW credits, not a dollar price per scan. Ask for a quote on the planned assessment workload.[22]
Promptfoo's custom-priced Enterprise plan adds a central dashboard and access controls. Its custom-priced On-Premise plan deploys on your infrastructure.[23]
For hosted options, get the approved region, retention window and deletion terms before connecting a staging environment.
Test Agents That Move Money
Use the LLM pentesting checklist to define coverage for prompt injection, data leakage and tool authorization.[24]
Set two release gates: legitimate tasks complete, and unauthorized actions are denied. Count them separately so refusing everything cannot pass.
AgentDojo illustrates why: its 2024 benchmark included 97 legitimate tasks and 629 security test cases. Some agents failed even when the input was not adversarial.[25]
Use synthetic accounts, fake assets and a non-signing wallet mock in isolation. Exclude production credentials, signing keys and real funds.
Use fixed request fixtures to check authorization independently of the model. Keep that policy test separate from the application evaluation.
Join the evidence by test ID: what the agent proposed, what policy decided and what the wallet mock received.
OWASP recommends preserving the user's permission scope through delegated calls and requiring human approval for high-impact actions.[2]
The mock checks the handoff to signing, not the signer implementation or onchain execution. Track those as separate coverage requirements.
Use an approved synthetic transfer as the example. If garak does not exercise that fixture, keep its results as a separate endpoint baseline.
- Allowed case: A routine request within scope reaches the mock with the exact approved recipient, asset, amount and network.
- Denied case: A synthetic request outside the user's scope returns a denial and never reaches the mock.
- Approval case: A high-impact request stays pending until a separate approver confirms it. Record pending and denied as different results.
- Policy outage: Confirm the app reports that it blocked the request and the wallet mock records no request.
- Incomplete evidence: Mark a case untested if expected records are missing or cannot be matched. The outage case needs no normal policy decision.
| Tool | What the tool contributes |
|---|---|
| Promptfoo | Checks that the recorded tool call amount equals the approved amount. |
| PyRIT | Supports transcript review of what the agent proposed across turns. |
| garak | Provides the endpoint reply and detector result. |
Review what your automation can authorize
If your agent can request a transaction, bring the approval flow and signing boundaries to scope an offchain automation pentest with Guardian.
Frequently Asked Questions
How many requests does Promptfoo's free plan cover?
Promptfoo lists 10,000 red teaming probes per month on Community. A probe counts one request to the target, not one test case, so a conversation can use several.[23]
Does a local Promptfoo run keep data on your machine?
Not necessarily. Hosted grading can receive the input, target response and grading criteria, and some Community plugins require hosted inference. Confirm which providers handle generation and grading before using sensitive fixtures.[26]
When should we rerun agent security checks?
Rerun the applicable checks after a change to the model, retrieval sources, tool schemas or approval rules. Save those versions with each run so you can distinguish a control regression from a change in what was tested.
Related reading
- AI Trading Agent Security: Prompt Injection and Wallets
- MCP Pentesting Guide and Checklist
- Agent Payment Risk Platforms: Who Screens AI Payments
Sources
- Microsoft: AI Red Teaming Agent in Microsoft Foundry
- OWASP GenAI Security Project: LLM03:2026 Excessive Agency
- Promptfoo: Promptfoo tracing documentation
- OWASP GenAI Security Project: LLM01:2026 Prompt Injection
- NVIDIA: garak v0.17.1 release
- Microsoft: PyRIT project repository
- Promptfoo: Promptfoo project repository
- Promptfoo: Promptfoo 0.126.0 release
- Microsoft: PyRIT release notes
- Cloud Security Alliance: Evaluating PyRIT for Agentic AI Red Teaming
- NVIDIA: garak project repository
- Confident AI: DeepTeam official repository and migration notice
- Confident AI: DeepEval red teaming risk assessment
- Confident AI: DeepTeam repository documentation: callback and risk assessments
- Giskard: Giskard Open Source: Testing Agents
- Giskard: Giskard Open Source vs Hub
- Microsoft: Microsoft Foundry portal general availability overview
- Zscaler: Zscaler AI Red Teaming: REST API target integration
- Zscaler: Zscaler AI Red Teaming: Platform API export examples
- Zscaler: Zscaler AI Red Teaming: public demo results and PDF reporting
- Palo Alto Networks: Get Started with Prisma AIRS AI Red Teaming
- Palo Alto Networks: Prisma AIRS licenses
- Promptfoo: Promptfoo plans and pricing
- Guardian: LLM Pentesting Checklist for Crypto and Fintech Apps
- NeurIPS: AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents
- Promptfoo: Promptfoo data handling and privacy
- Python Package Index: PyRIT 1.2.1 package record
- Thoughtworks: Technology Radar: Promptfoo
- OpenAI: OpenAI to acquire Promptfoo
- TechCrunch: OpenAI acquires Promptfoo to secure its AI agents
- Patlan et al. via arXiv: Real AI Agents with Fake Memories: Fatal Context Manipulation Attacks on Web3 Agents
- Guardian: Longshot Protocol Review: L-08 Mention-Market LLM Steering