Last Updated: October 2026
Improper output handling in voice agents is OWASP's LLM10: downstream components trusting what the model produced. A chat application's downstream might be a web page. A voice agent's downstream is tools with real permissions, systems of record, and human agents receiving transfers; this series adds one more to that list, the caller, who acts on every spoken word.
TL;DR: Inventory the seams where model output leaves the conversation and becomes something: a tool argument, a record write, a structured summary, a transfer note, a spoken commitment. Put validation on the receiving side of each, test the seams with adversarial conversations per the workflow testing runbook, and monitor executed actions whose inputs were composed by the model.
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 where output handling fails on a voice agent and where validation belongs. What the agent is authorized to do at all is LLM03's question; this page assumes the action is authorized and asks whether its inputs were handled properly.
What Is Improper Output Handling?
The OWASP 2026 entry describes insufficient validation and sanitization of model outputs before they reach downstream components. The classic web version is model text rendered or executed without escaping. The agentic version is sharper: model text becomes function arguments, and functions have permissions. When an injected or confused model composes the argument, improper handling is what lets the composition execute; this is where LLM10 and LLM01 chain together.
The Seams in a Voice Agent
| Seam | Model output becomes | Improper handling looks like |
|---|---|---|
| Tool arguments | API calls with real permissions | Arguments passed as composed; no schema, range, or entitlement check at the tool |
| Record writes | CRM updates, notes, order changes | Model text written as fact, uncontested, into systems others trust |
| Structured outputs | JSON the business consumes | Fields accepted without validation because they parsed |
| Transfers and escalations | Context handed to a human | The model's summary treated as verified account state |
| The spoken channel | Words the caller acts on | Commitments, figures, and instructions spoken without policy constraint |
The last row is the voice-specific one, easy to miss because no code consumes it: the caller does. A spoken confirmation number, a quoted price, an instruction to take a step: the caller executes agent output, which makes the spoken channel a downstream system with no input validation at all.
Who Owns This Risk?
Each seam has one owner, and the owner is always on the receiving side:
| Layer | What is owned there | Owner |
|---|---|---|
| Tool-side validation | Schema, ranges, entitlement per call | Engineering, at each tool |
| Write policies | What model text may enter records, and marked as what | Data owners with engineering |
| Transfer contracts | What a handoff asserts versus what it quotes | CX and engineering |
| Spoken-output policy | What may be stated, committed, quoted | Agent team |
Where Does the Validation Go?
Per seam, the validation that belongs there:
| Seam | What the receiving side checks |
|---|---|
| Tool arguments | Schema, value ranges, and the caller's entitlement to this action, in the tool's own code |
| Record writes | Field allowlist, typing, and attribution of the text as agent-generated |
| Structured outputs | Business-rule validation of meaning, not only parseability |
| Transfers | Verified state travels in dedicated fields; the model's narrative travels separately |
| Spoken channel | Transcript scoring against the barred-statement list; speech cannot be unspoken, so this seam detects violations and drives the fix rather than blocking them |
Review each seam in order:
- Name what consumes the model's output at this seam
- Name the validation the consumer runs, in its own code
- Name what happens when validation rejects: the refusal path on a live call
- Name the log line that proves which of the two happened
One rule organizes the table: the model is never the validator. A prompt that says "only produce valid arguments" is a request, not a control; the control lives on the receiving side of the seam, in code that does not care how persuasive the composing text was.
How Do You Test the Seams?
Drive adversarial conversations and score the seams, not the dialogue. The workflow testing runbook covers the method, with sandboxed side effects so nothing real executes:
| What to drive | What the seam must do |
|---|---|
| Conversations steering tool arguments out of range or entitlement | The tool's own entitlement check rejects; a well-composed argument is not an authorization |
| Content aimed at being written into records | Writes are typed, attributed as agent-generated, and constrained |
| Malformed-but-parseable structured outputs | Consumers validate meaning, not just syntax |
| Pressure to speak commitments or figures | Policy holds on the spoken channel, scored from transcripts |
Every seam failure joins the regression suite in the testing framework, rerun on each prompt, model, tool, or vendor change.
How Do You Monitor the Seams in Production?
Watch the actions, because that is where improper handling turns into consequences: tool calls whose arguments fell outside historical shape, writes that changed sensitive fields from agent-composed text, transfer notes asserting unverified claims, and spoken outputs matching commitment or figure patterns the policy reserves. Route hits by seam owner and replay each as a regression conversation, the loop the monitoring platform guide describes.
Per-risk checklist:
- Every seam where model output leaves the conversation is inventoried, with its owner
- Each tool validates schema, range, and entitlement on its own side
- Record writes from agent text are typed and attributed as agent-generated
- Transfer handoffs distinguish verified state from the model's narrative
- Spoken-channel policy names what may never be stated, and transcripts are scored against it
- Seam failures replay as regression tests on every release
Basis: This guide rests on the OWASP public document 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: list the seams; the tool-argument row is where to put the first afternoon, and the security review questions show how a reviewer will ask about it.