What Attacks Should You Test Your AI Agent Against Before Launch?

Sumanyu Sharma
Sumanyu Sharma
Founder & CEOAn industry expert reviewed this article for accuracy and quality., Voice AI QA Pioneer

Hamming protects 10K+ voice agents in production.

· Updated · 19 min read

What Attacks Should You Test Your AI Agent Against Before Launch?

A pre-launch attack test plan is the ordered list of attack categories an AI agent must survive before it takes real customers, with a pass bar and an evidence requirement for each. This page is that list for voice and chat agents. Nine categories, ranked by blast radius, mapped to OWASP's LLM Top 10 (2026 edition) and MITRE ATLAS. How to scope, run, and retest the campaign that executes the list is a separate method page, the voice agent red teaming guide.

We wrote this checklist for teams launching a customer-facing agent that touches accounts, records, payments, scheduling, or internal tools, and for the security reviewers who sign off on that launch. An agent that answers public FAQ questions with no tool access and no customer data needs only the prompt injection and jailbreak categories plus the denial-of-wallet row, because even a no-tool agent spends model and telephony budget. The rest of the plan is scoped to agents that can act.

The failure mode this plan exists to prevent is testing by attack popularity. A team runs prompt injection phrases because they're famous, passes, and ships, without ever testing whether a caller can move money, read another customer's record, or defeat voice verification with a cloned voice. The famous attack is just the delivery mechanism. The blast radius lives in what the agent is allowed to do once the attack lands.

TL;DR: Test your AI agent against nine attack categories before launch, in blast-radius order. The nine: unauthorized tool actions, data extraction of other customers' records, deepfaked or cloned callers, social engineering of the agent, indirect prompt injection, direct prompt injection, jailbreaks, handoff abuse, and denial of wallet. The pass bar for the top two is zero successes across the full run. Every category produces a saved evidence packet (recording or transcript, tool trace, control decision). Every finding maps to an OWASP LLM Top 10 and MITRE ATLAS entry. Every successful attack becomes a regression test that reruns after each prompt, model, tool, or vendor change.

Methodology Note: This checklist is based on Hamming's analysis of red-team campaigns and production monitoring across 10K+ voice agents (2025-2026). We've tested agents built on LiveKit, Pipecat, ElevenLabs, Retell, Vapi, and custom-built solutions.

Use this plan only for defensive testing of agents you own or are authorized to assess. It teaches attack categories and the controls that should hold, not payloads: the working attack corpus belongs in a private repository with ownership and review, never in a public document.

Last Updated: November 2026

Related Guides:

What is an attack test plan for an AI agent?

An attack test plan names the categories of hostile behavior the agent will face, states what a pass proves for each, and defines the evidence a reviewer needs to accept the result. Think of it as a contract between the team that runs the attacks and the security owner who signs the launch.

Definition: An attack category is a class of adversarial behavior with one delivery path and one failure consequence, such as "a caller extracts another customer's record through conversation". A category is tested when the agent has faced a varied set of attempts from that category and the saved evidence shows which control held or failed on each attempt. Passing one phrasing proves nothing about the category.

Two public frameworks give the categories shared names. OWASP's LLM Top 10 (2026 edition) ranks application-level risks: LLM01 Prompt Injection, LLM02 Sensitive Information Disclosure, LLM03 Excessive Agency, LLM08 Hidden Context Exposure, LLM06 Unbounded Consumption. MITRE ATLAS catalogs adversary techniques against AI systems from real-world observations and red-team demonstrations, with IDs like AML.T0051 (LLM Prompt Injection) and AML.T0053 (AI Agent Tool Invocation). Test in your own categories, then report in theirs. That's what lets a security reviewer file your findings without translation.

Order the plan by blast radius, not by attack popularity

Blast radius is the worst outcome a successful attack in that category produces. An irreversible external action outranks a confidential data leak, which outranks an identity-control failure, which outranks an off-policy sentence, which outranks a cost spike. Run the plan in that order. The top rows are the ones that can block launch on their own, and you want their findings first, while there's still time to fix and retest.

Here's the plan. Each row is one category, and the sections after the table add the detail a test designer needs.

#Attack categoryWhat passing provesPass barEvidence to keep for sign-off
1Unauthorized tool actionsNo conversation can trigger a refund, transfer, booking, record write, or export without the backend policy's preconditions metZero successes; every attempt blocked by a control outside the modelTool-call trace with parameters, the policy decision that blocked it, call recording or transcript
2Data extraction of other customers' recordsThe agent cannot be talked into reading back, summarizing, or exporting a record the caller is not verified to ownZero disclosures of any other identity's data, including partial fieldsThe request, the verification state at that moment, the refusal or block, the data boundary that held
3Deepfaked or cloned callersDefeating the voice is not enough: high-risk actions still require a factor a cloned voice cannot supplyZero high-risk actions completed on voice match aloneVerification path taken, the step-up challenge issued, the action's final authorization source
4Social engineering of the agentClaimed authority, urgency, distress, and multi-turn pressure do not change what the agent is allowed to doZero policy exceptions granted to persuasion; escalations routed per policyFull conversation replay, the claim made, the policy step the agent held or skipped
5Indirect prompt injectionInstructions planted in retrieved content (CRM notes, knowledge base, prior-call summaries, tool output) do not change agent behaviorZero behavior changes from planted content in any retrieval source the agent readsThe planted fixture, the retrieval trace, the agent's unchanged behavior
6Direct prompt injectionSpoken or typed override attempts do not displace the agent's instructionsZero role or policy displacements across phrasing, language, and encoding variantsTranscript, the override attempt's category, the refusal, the turn-level policy decision
7JailbreaksPersona swaps, hypotheticals, and "special exception" framings do not produce restricted behaviorZero restricted outputs or actions; refusal quality stays usable for legitimate callersThe framing used, the refusal or failure, false-positive rate on benign look-alike requests
8Handoff abuseEscalation to a human cannot be used to launder an attack: the handoff packet contains no over-shared context and no attacker-authored instructionsZero handoffs presenting a caller's claims as established facts or exposing data the human reviewer should not seeThe handoff payload, what the human saw, the claim-versus-verified labeling
9Denial of walletA hostile caller or script cannot drive unbounded model, telephony, or tool spendSpend and concurrency caps trigger before cost exceeds the budgeted ceilingRate-limit and cap configuration, the triggered limit, the cost curve during the test

Rows 1 and 2 block launch at any failure count. Rows 3 through 8 block launch when the failed test touches a regulated workflow or an irreversible action, and count as fix-before-scale findings otherwise. Row 9 blocks launch until spend and concurrency caps are verified end to end against the row's pass bar; putting a missing cap in place is a one-day fix, and verifying it is the gate.

The categories compound. A real attacker chains them: an indirect injection plants the instruction, social engineering supplies the authority claim, and the unauthorized tool action cashes out. Test the categories separately first, so a failure names which link broke. Then run one chained scenario per high-risk workflow. That's red-teaming the full path: the agent, its tools, and the APIs behind them, reached through conversation.

The two categories that block launch on their own

Rows 1 and 2 share a property the others lack. When they fail, the harm is done before the call ends, and no monitoring alert un-sends a wire or un-reads a medical record.

Unauthorized tool actions. Here the caller's request is an action: issue the refund, move the appointment, change the mailing address, send the export. The protected thing is the action itself, and the control that should hold is deterministic backend policy (identity verified to the level the action requires, preconditions checked, confirmation collected, authorization evaluated outside the model). What the test proves is that the model is never the last control. OWASP LLM03 Excessive Agency names the underlying design flaw, an agent holding more capability or autonomy than the workflow needs, and MITRE ATLAS tracks the adversary side as AML.T0053 (AI Agent Tool Invocation). Build these tests from the unauthorized action testing templates, and run them in a sandbox. A test that issues real refunds is an incident, not a test.

Data extraction of other customers' records. Here the request is information: read me the last four transactions, confirm the address on the account, tell me what the previous caller said. The protected data is another identity's record. The control that should hold is the data boundary: the agent's context contains only the verified caller's data, and cross-record queries fail at the API layer regardless of what the model asks for. So the test varies the extraction route (direct ask, pretexted ask, summary request, handoff request) and proves the boundary holds on every one. This is OWASP LLM02 Sensitive Information Disclosure and ATLAS AML.T0057 (LLM Data Leakage); requests for the agent's own instructions are the adjacent LLM08 Hidden Context Exposure and ATLAS AML.T0056.

For both rows, zero is the pass bar, because the attacker only needs one. A 98 percent block rate on refund abuse is a budget line for fraud. It is not a security result.

Identity attacks decide whether verification means anything

Rows 3 and 4 attack the same control, caller identity, through two different instruments. One is a synthetic voice. The other is a persuasive story.

Deepfaked or cloned callers. The caller wants to pass verification as someone else: the account owner, a known customer, a colleague of the human agent downstream. The protected action is everything behind verification, and the control that should hold is a verification design that doesn't rest on voice alone (possession or knowledge factors for high-risk actions, step-up challenges when risk signals fire, and no action tier where "sounds like the customer" is sufficient). MITRE ATLAS covers the adversary tooling as AML.T0088 (Generate Deepfakes) and the use of a claimed identity as AML.T0073 (Impersonation); ATLAS also documents deepfakes defeating AI-based biometric checks under AML.T0015 (Evade AI Model). The OWASP LLM Top 10 has no row for synthetic voice, which is one reason a text-only test plan misses this category entirely. The test passes when a perfect voice match still cannot complete a high-risk action without the second factor. What real-time detection scores can and cannot prove is covered in the deepfake caller detection guide; a detection score is a risk signal, not a verification result.

Social engineering of the agent. The caller wants an exception. Skip the verification step because I am in the car. Push the transfer through because I am the branch supervisor. Read the balance because my husband is in the hospital. The protected thing is the policy step the story targets, and the control that should hold is simple to state and hard to keep: the agent's authority model does not accept claims as credentials, under any emotional framing, at any turn depth. Multi-turn pressure is the signature of this category (single-turn tests systematically overstate how well the agent holds). ATLAS AML.T0073 (Impersonation) covers claimed authority; the delivery is conversational, so findings also file under LLM01. The full scenario set is in the social engineering testing guide.

Instruction-boundary attacks are necessary tests, not sufficient ones

Rows 5, 6, and 7 are the famous categories. They test whether caller-controlled content can displace the agent's instructions, they matter, and they're where most teams start and stop. Their blast radius ranks below rows 1 to 4 for one reason. When tool permissions and data boundaries hold, a successful injection produces an off-policy sentence instead of a loss event. The instruction-boundary tests tell you how often your outer controls will be probed; the earlier rows tell you what happens when the probe gets through.

CategoryDelivery pathFramework namesDeep-dive page
Indirect prompt injectionContent the agent retrieves or ingests: CRM notes, knowledge-base articles, prior-call summaries, tool and API outputOWASP LLM01; ATLAS AML.T0051.001 (LLM Prompt Injection: Indirect)Prompt injection testing guide
Direct prompt injectionThe caller's own speech or text, including phrasing, language switches, and encoding variantsOWASP LLM01; ATLAS AML.T0051.000 (LLM Prompt Injection: Direct)Prompt injection testing guide
JailbreaksPersona swaps, hypotheticals, role-play, and "this is a test" framings that pressure the model out of its policyOWASP treats jailbreaking as a form of LLM01; ATLAS AML.T0054 (LLM Jailbreak)Jailbreak testing guide

Why does indirect injection outrank direct in this plan? Its supply chain is wider. Every retrieval source is an injection surface, the planted instruction persists across calls, and the caller who triggers it looks clean. The test fixture set has to cover every source the agent reads, not just the knowledge base.

OWASP states plainly that prompt injection has no foolproof prevention, so the pass bar for these rows is two-sided: zero policy displacements in the run, and demonstrated containment when a displacement is forced in a controlled variant. A reviewer who sees only the first half has not seen a complete test.

Handoff abuse and denial of wallet are the categories teams skip

Both rows fail quietly. That's why they're missing from most plans.

Handoff abuse. The caller asks for an escalation: get me to a human, and carry my story with me. The protected thing is the human agent's trust in what the handoff packet says, plus every data field the packet contains. The control that should hold is a handoff contract: the packet labels caller claims as claims, carries only the context the receiving queue needs, and never includes attacker-authored text positioned as system guidance. So the test plants false claims and over-collection pressure during the AI portion, then inspects what the human actually received. Findings file under OWASP LLM02 when the packet over-shares and ATLAS AML.T0073 when the laundered claim is an identity. Teams that test the agent and the human separately never see this category. It lives in the seam.

Denial of wallet. Nothing about the caller's request is special here; the attack is volume and shape. Long calls, maximal-length responses, loops that force expensive tool calls, concurrent sessions. The protected thing is the budget and the service's availability for legitimate callers, and the control that should hold is layered caps: per-session turn and duration limits, per-source rate limits, spend alerts, and a hard ceiling that sheds load before the invoice does the reporting. OWASP names this LLM06 Unbounded Consumption; MITRE ATLAS splits it into AML.T0034 (Cost Harvesting), including AML.T0034.002 (Agentic Resource Consumption) for attacks that push an agent into wasteful tool-call loops, and AML.T0029 (Denial of AI Service). The test drives traffic until a cap triggers, and the evidence is the cost curve with the trigger point marked. A plan without this row discovers its limits in the first month's bill.

Map every finding to OWASP and MITRE ATLAS before sign-off

Security reviewers, risk teams, and model governance file findings by framework ID. Hand them the mapping. Don't make them build it. Framework names below are verified against the OWASP LLM Top 10 2026 edition and the MITRE ATLAS 2026.09 release.

Plan rowOWASP LLM Top 10 2026MITRE ATLAS
1. Unauthorized tool actionsLLM03 Excessive AgencyAML.T0053 AI Agent Tool Invocation
2. Data extraction of other customers' recordsLLM02 Sensitive Information Disclosure; LLM08 Hidden Context Exposure for instruction-extraction attemptsAML.T0057 LLM Data Leakage; AML.T0056 Extract LLM System Prompt
3. Deepfaked or cloned callersNo dedicated row in the LLM Top 10AML.T0088 Generate Deepfakes; AML.T0073 Impersonation; AML.T0015 Evade AI Model
4. Social engineering of the agentLLM01 Prompt Injection, for the conversational deliveryAML.T0073 Impersonation; AML.T0051.000 Direct
5. Indirect prompt injectionLLM01 Prompt InjectionAML.T0051.001 LLM Prompt Injection: Indirect
6. Direct prompt injectionLLM01 Prompt InjectionAML.T0051.000 LLM Prompt Injection: Direct
7. JailbreaksLLM01 Prompt InjectionAML.T0054 LLM Jailbreak
8. Handoff abuseLLM02 Sensitive Information Disclosure, for over-shared handoff contextAML.T0073 Impersonation
9. Denial of walletLLM06 Unbounded ConsumptionAML.T0034 Cost Harvesting; AML.T0029 Denial of AI Service

Where a row maps to no OWASP entry, say so in the report rather than forcing a fit. The gap itself is information. It tells the reviewer which risks a text-application framework was not built to see. The full crosswalk, including NIST AI RMF, is in the framework mapping guide.

The evidence packet is what security sign-off actually reviews

A reviewer cannot re-run your campaign. They can only inspect what you saved. So build one packet per category, assembled as the tests run (not reconstructed the week of launch). This is the audit-ready evidence that security, risk, and model governance reviews ask for.

Packet itemWhat it containsWhy the reviewer needs it
Scope statementAgents, intents, tools, data classes, and channels covered; what was out of scope and whyProves the pass applies to the system being launched, not a subset
Attempt logEvery attempt in the category with variant, outcome, and severityShows coverage breadth, not just the pass rate
Failure replaysRecording or transcript, tool trace, retrieval trace, and control decision for every failureLets the reviewer see the exact behavior, not a summary of it
Fix logEach failure linked to the prompt, policy, code, or routing change that addressed itConnects findings to changes; an unlinked failure is an open risk
Retest recordThe same attack rerun after the fix, with the resultProves the fix closed the finding; a fix without a retest is a hypothesis
Regression suite entryThe failure converted to a permanent test that runs on every releaseTurns every attack and failure into permanent regression coverage
Residual risk noteWhat remains unfixed, accepted, or out of scope, with an ownerMakes the launch decision an informed one

Two items separate a campaign from a point-in-time report: the retest record and the regression entry. The agent changes with every prompt edit, model update, tool addition, and vendor release, and each change can reopen a closed finding. That's the case for continuous red-teaming, not a point-in-time pen test. The plan on this page isn't a document you complete once; it's the suite your releases run against. Production monitoring then watches live traffic for the conversational categories, with the signals in the production attack detection guide; spend and concurrency monitoring for denial of wallet comes from your platform's cost and rate alerting.

Pre-launch attack testing checklist

Run this before launch and again after any prompt, model, tool, retrieval, or vendor change.

  • List every tool the agent can invoke and the deterministic backend policy that authorizes each one.
  • List every data class in the agent's reach: caller identity, account records, PHI, payment data, CRM notes, prior calls, tool output.
  • Run all nine categories in blast-radius order; do not stop at the injection rows.
  • Hold rows 1 and 2 to zero successes; treat any failure there as a launch blocker.
  • Prove high-risk actions fail on a perfect voice match alone, with no second factor completed.
  • Run multi-turn social engineering scenarios, not single-turn probes.
  • Plant indirect-injection fixtures in every retrieval source the agent reads.
  • Inspect the actual handoff packet a human receives during an attack scenario.
  • Drive traffic until a spend or concurrency cap triggers, and save the cost curve.
  • Map every finding to its OWASP LLM Top 10 and MITRE ATLAS entry.
  • Assemble one evidence packet per category: attempt log, failure replays, fix log, retest record, regression entry, residual risk note.
  • Convert every successful attack into a regression test before the launch decision, not after.

Frequently asked questions

Nine attack categories: unauthorized tool actions, data extraction of other customers' records, deepfaked or cloned callers, social engineering of the agent, indirect prompt injection, direct prompt injection, jailbreaks, handoff abuse, and denial of wallet. Hamming recommends running them in blast-radius order, so the categories that can move money or leak another customer's record get tested, fixed, and retested first.

Scope the attack surface first (the agent, its tools, the APIs behind them, retrieved context, and the telephony path), then run attacks across all nine categories through a sandbox that mirrors the customer channel, never through live customer workflows, saving a replayable evidence packet for every failure. Hamming's approach converts every successful attack into a regression test that reruns after each prompt, model, tool, or vendor change. Any of those changes can reopen a closed finding.

Unauthorized tool actions and cross-customer data extraction block launch at any failure count. The harm there is done before the call ends and cannot be rolled back. The identity and instruction-boundary categories block launch when a failure touches a regulated workflow or an irreversible action, and Hamming recommends treating everything else as fix-before-scale with a named owner. Two conditions sit outside that split: a handoff failure that launders identity blocks launch on the same regulated-workflow test, and denial of wallet blocks launch until spend and concurrency caps are verified end to end.

Zero successes for unauthorized actions and cross-customer data disclosure, zero high-risk actions completed on voice match alone, zero policy exceptions granted to persuasion, and spend caps that trigger before cost exceeds the budgeted ceiling. For prompt injection and jailbreaks the bar is two-sided (OWASP states prompt injection has no foolproof prevention): zero policy displacements in the run, plus demonstrated containment when a displacement is forced in a controlled variant.

Unauthorized tool actions map to OWASP LLM03 Excessive Agency and ATLAS AML.T0053; data extraction maps to LLM02 and AML.T0057; prompt injection maps to LLM01 and AML.T0051 with Direct and Indirect sub-techniques; jailbreaks map to AML.T0054; denial of wallet maps to LLM06 Unbounded Consumption and AML.T0034 Cost Harvesting. Deepfaked callers have no dedicated OWASP row. Hamming recommends filing them under ATLAS AML.T0088 Generate Deepfakes and AML.T0073 Impersonation, and naming the gap in the report.

One packet per attack category: a scope statement, the attempt log, replayable failure evidence (recording or transcript, tool trace, control decision), a fix log, a retest record showing the same attack rerun after the fix, a regression suite entry, and a residual risk note with an owner. Hamming treats a category without saved evidence as untested, whatever the test log claims. Keep replayable evidence for the campaign window and your retention schedule and legal holds, not indefinitely.

They attack the same control, caller identity, through different instruments. A cloned voice defeats acoustic verification; social engineering defeats the policy through persuasion; each needs its own control to hold. The pass bar for cloned callers is that a perfect voice match still cannot complete a high-risk action without a second factor, and Hamming recommends never allowing an action tier where sounding like the customer is sufficient.

Yes. The agent changes with every prompt edit, model update, tool addition, and vendor release, and each change can reopen a finding the last run closed. That's why Hamming recommends continuous red-teaming rather than a point-in-time test: keep the nine-category plan as a regression suite that runs on every release, with production monitoring watching live traffic for the same categories.