LLM01 Prompt Injection in Voice Agents: The Attack Arrives as Speech

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 · 6 min read

LLM01 Prompt Injection in Voice Agents: The Attack Arrives as Speech

Last Updated: October 2026

Prompt injection in voice agents is OWASP's LLM01: input that alters the agent's behavior against its operator's intent. On a phone call, that input is spoken, which changes where it hides, how it reaches the model, and what your defenses actually see.

TL;DR: LLM01 arrives on a voice agent by two co-equal paths: the caller's own speech, which passes through ASR before any defense sees it, and content the agent retrieves and reads into the conversation, which arrives wearing trusted-context status. The agent team owns the conversation-layer response: blast-radius limits on tools, adversarial testing on the real call path, and production monitoring that flags override attempts. This page is the what-and-why; the prompt injection testing runbook is the how-to.

Scope: This article is part of a ten-part series mapping each risk in the OWASP Top 10 for LLM Applications (2026) to voice and chat agents; the series hub holds the full mapping table. This page covers the risk's voice-channel form, ownership, and the pointers to testing and monitoring. It does not catalog attack phrasings.

What Is Prompt Injection for a Voice Agent?

The OWASP 2026 entry defines the risk: user input that changes the model's behavior in ways the operator did not intend. The model cannot structurally distinguish instructions from data; everything in the context window is just tokens. For a voice agent, the context window fills from more sources than most teams list: the caller's transcribed speech, the knowledge base passages retrieval selected, CRM fields read in for personalization, and tool results returned mid-call. An instruction hiding in any of them is a candidate injection.

The distinction that matters operationally is direct versus indirect:

TypeWhere the instruction comes fromWho controls that source
Direct injectionThe caller's own speechThe attacker, live on the call
Indirect injectionRetrieved content: knowledge base, CRM notes, email or document text the agent readsWhoever could write to that source, possibly long before the call

Indirect injection is the quieter path. Voice agents commonly read from sources other people can write to: a note field someone else populated, a document attached to a ticket, an email thread summarized into context, and each of those writers controls what the model will treat as context.

How Does Injection Arrive on a Phone Call?

The voice channel changes how injection arrives. Two of these paths exist in any LLM deployment; the first two are the phone's own:

PathWhat carries the instructionWhy text-era defenses miss it
Caller speech via ASRThe transcript the model actually receivesASR ambiguity: homophones and mis-segmentation mean the filter sees different tokens than the ear expects
Mid-sentence redirectionOrdinary request with an instruction embedded in a subordinate clauseIn red-team practice, a turn whose dominant intent looks legitimate passes intent-scored filters
Retrieved context read aloudKnowledge base or record text the agent treats as trustedThe content's door is usually scoped for usefulness, not reviewed as an attack surface
Multi-turn assemblyInstructions split across several innocuous turnsPer-turn inspection has nothing to object to in any single turn

The common thread: by the time the model sees it, the instruction is indistinguishable from legitimate context. OWASP's entry lists constrained behavior, privilege control, and input and output filtering among the mitigations; our practice puts the constraint first, because it is the only one fully in your control. MITRE ATLAS catalogs prompt injection among its adversarial techniques; in red-team campaigns it usually serves as the means to the ends the rest of this series covers, data exposure and tool misuse.

Who Owns This Risk?

LayerWhat is owned thereOwner
Conversation policyWhat the agent may say and refuse, under injected pressureAgent team
Tool boundariesWhat an injected agent could actually do: the blast radiusEngineering, per the workflow runbook
Retrieval hygieneWhat can be written into sources the agent reads, and what gets filtered on the way inData owners
Model behaviorInstruction-following tendencies of the base modelThe model vendor

The ownership answer is the page's core: you control the blast radius, not the model's instruction-following. You do not control the model's instruction-following; you fully control what the agent is authorized to do when it is successfully injected. An injection that changes the agent's tone is an incident; an injection that moves money is a breach. The difference is tool boundaries, not filters.

How Do You Test for It?

Testing is adversarial and runs on the real call path, because the ASR layer is part of the attack surface. The prompt injection testing runbook is the full how-to; the shape in brief:

What to exercisePass condition
Direct injection across phrasings and turnsPolicy holds; no prompt content disclosed
Indirect injection via seeded retrieval contentRetrieved instructions are inert; content is used, not obeyed
Injection aimed at toolsNo tool fires outside the caller's authorization
Extraction attemptsSystem prompt and tool names stay internal (LLM08's territory, tested together)

Every successful injection becomes a permanent regression test, rerun on each prompt, model, tool, or vendor change; the red teaming campaign guide covers the surrounding process, and injection scenarios run alongside the persuasion scenarios in the jailbreak testing plan.

How Do You Monitor for It in Production?

Pre-launch testing proves resistance on test day; monitoring covers every day after. Flag, at minimum: turns whose content attempts instruction override or prompt extraction, responses that suddenly diverge from policy mid-call, and tool calls that follow anomalous instruction-shaped input. Each flagged call routes to the security owner and becomes a regression scenario, the loop the monitoring platform guide describes.

Per-risk checklist:

  • Every source that fills the context window is listed, with who can write to it
  • Tool blast radius is set by authorization, not by trust in the conversation
  • Injection scenarios run on the real call path, across phrasings, on every release
  • Indirect injection is tested with seeded retrieval content, not assumed away
  • Production flags override and extraction attempts, and flagged calls become regression tests

Basis: This guide rests on the OWASP and MITRE ATLAS public documents linked above and on Hamming's security testing practice for voice and chat agents. The team behind it breaks AI agents for a living and came to the work from Tesla, Meta, Citizen, Palantir, and NCC Group. It reports no Hamming measurements.

Start here: write the context-source list in the first checklist item; most of LLM01's voice-specific surface is visible in that one artifact. The security review questions show how a reviewer will walk this same ground.

Frequently asked questions

OWASP's LLM01: input that alters the agent's behavior against its operator's intent. On a voice agent the input arrives as the caller's transcribed speech or as retrieved content the agent reads into the conversation, and the model cannot structurally tell instructions from data in either. The arrival-path table in this guide shows where it hides on a phone call.

Instructions planted in content the agent retrieves: a knowledge base passage, a CRM note, a document attached to a ticket. Whoever could write to that source controls the instruction, possibly long before the call, and those sources are usually scoped for usefulness rather than reviewed as attack surfaces.

The attack passes through ASR before any filter sees it, so homophones, mis-segmentation, and transcription ambiguity mean the filter inspects different tokens than a text channel would. Multi-turn assembly adds a second gap: instructions split across turns pass per-turn inspection individually.

Adversarially, on the real call path, across phrasings and turns, with every successful injection kept as a permanent regression test. The prompt injection testing runbook on this site is the full how-to, and the red teaming guide covers the campaign process around it.

OWASP's 2026 entry treats it as a risk to manage rather than eliminate, and the ownership table in this guide shows why: you do not control the model's instruction-following, but you fully control the blast radius through tool authorization. Constraining what an injected agent can do matters more than any filter.

Turns attempting instruction override or prompt extraction, responses diverging from policy mid-call, and tool calls following instruction-shaped input. Each flagged call routes to the security owner and becomes a regression scenario, so any recurrence is caught on the next run instead of passing quietly.