Runtime Security for Voice Agents: What Gets Blocked During the Call and What Gets Reviewed After

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

Hamming protects 10K+ voice agents in production.

· Updated · 17 min read

Runtime Security for Voice Agents: What Gets Blocked During the Call and What Gets Reviewed After

Runtime security for voice agents blocks some behavior during the call and reviews calls after they end. Whether a monitoring tool can stop a problem or only report it depends on when its check decides: one that finishes before the agent acts or speaks can stop that action, and one that scores the finished call can only tell you what happened. Hamming's runtime security blocks bad behavior in real time, and it also scores calls afterward and keeps the evidence for review and retest.

TL;DR: Monitoring is not report-only by nature. Block during the call what cannot be undone or would be costly to reverse, when a rule can decide before it happens: an action for an unverified caller, a costly write, a disclosure of protected data. Step in after the turn when a pattern such as rising pressure calls for changing the rest of the call, and review the rest after the call. Use the decision table below in your design review, and prove each block with a retest after every change.

Basis for this guide: public guidance from OWASP and NIST, vendor documentation from AWS and OpenAI, and Hamming's public product pages, each linked where used. It reports no Hamming measurements, and it does not describe how Hamming's blocking is built or what share of attacks it stops.

Scope: This guide covers the block-or-review decision for a production voice agent and what to ask of a tool that claims to intervene. Detecting attacks across traffic is in how to know if your AI agent is being attacked. If your agent only reads public information and calls no tools, a check on replies plus after-call review is enough, and you can skip most of the blocking sections.

Last Updated: November 2026

Does voice agent monitoring only report after the call, or can it block in real time?

It can do either, and the difference is where the check sits relative to the action. A check has to finish before the tool runs or the reply is spoken to stop it. Anything later changes less.

Check runsWhat it can doWhat it cannot doUse it for
Before the action or reply (blocking)Stop the tool call, or hold the reply backAnswer without delay: the caller waits while it decidesActions and disclosures that cannot be undone or are costly to reverse
Alongside the action or reply (parallel)Cancel whatever has not happened yetUndo what already ran or was already saidChecks too slow to hold every turn, where a late stop still limits damage
After the turnChange the rest of the call: remove a tool, hand off to a person, end the callChange the turn it just scoredPressure that builds across several turns
After the callScore the call, alert a person, feed a testChange anything on that callQuality, drift, policy review, and evidence

Vendor documentation describes the first two rows in plain terms. The OpenAI Agents SDK guardrails documentation gives input guardrails two modes. In the default parallel mode the guardrail runs at the same time as the agent, so the agent may already have executed tools before a tripwire cancels it. In blocking mode the guardrail completes first, and the agent never starts if it trips.

AWS documents the same trade for streamed replies. In the synchronous mode of Amazon Bedrock Guardrails, response chunks are buffered and scanned before the user receives them, which adds latency. In asynchronous mode the chunks go out at once and the scan runs in the background, so a chunk may contain inappropriate content until the scan completes.

Neither document is about phone calls. Our reading is that speech makes the asynchronous case harsher, because a sentence the caller has already heard cannot be withdrawn.

So the question to put to any monitoring tool is narrower than "do you block?" Ask which of its checks finish before the action, and which report afterward.

What is runtime security for a voice agent?

Runtime security for a voice agent is production monitoring that can also act. It watches live conversations, blocks defined bad behavior while the call is in progress, and keeps the evidence for review.

Definition: Runtime security for voice agents is the set of production controls that observe live conversations, intervene during the call when a defined behavior appears, and record what happened so the same behavior can be reviewed and retested.

Two of the three parts map to what NIST asks of a deployed AI system. In the NIST AI Risk Management Framework 1.0, MANAGE 4.1 calls for post-deployment monitoring plans that include appeal and override, incident response, recovery, and change management. MANAGE 2.4 calls for mechanisms, with assigned responsibilities, to supersede, disengage, or deactivate a system whose outcomes are inconsistent with its intended use. Monitoring covers the first. We read the ability to stop a behavior mid-call as a small-scale version of the second.

A dashboard that shows yesterday's calls is monitoring. It becomes runtime security when something in the path can say no.

Which behaviors should be blocked during the call, and which reviewed after?

Block during the call what cannot be undone, or would be costly to reverse, once it happens, and review everything else after. The test for each behavior starts with one question: if this happens and you find out in an hour, can you reverse it cheaply? Then a second: can a rule decide it at that moment, without the rest of the call? Block when the answer is no to the first and yes to the second. Otherwise flag it and review. One row sits between the two: a pattern that builds across turns is handled after the turn, by changing the rest of the call.

BehaviorDecide during the call or afterWhyWhat the caller experiences when it firesEvidence to keep
A tool call for a caller who has not been verifiedDuring, before the tool runsData is read or a record changes the moment the tool runsThe agent declines and offers verification or a personThe attempted call with its arguments, the verification state, the block decision
A write that is expensive to undo (refund, transfer, cancellation)During, before the tool runs, with a person approving above your limitReversal costs more than the delayThe agent says it needs approval and hands offThe approval, tied to the exact action and amount
A reply that would disclose protected dataDuring, before the reply is spokenOnce spoken, it is disclosedA safe reply, or a handoffThe withheld reply and the rule that fired
An off-policy promise or advice (price, medical, legal)During, when the rule is deterministic. After, when it takes judgmentA clear rule can hold a reply. A judgment call needs the whole call as contextA held or safe reply when a rule fires. Nothing when it is reviewed laterThe turn, and the policy version it was scored against
A suspicious caller turn, with nothing done yetAfter. Flag it during the call, do not block on itA guess about intent is not an actionNothingThe flagged turn, and what the agent did next
Rising pressure and repeated refusalsDuring, after the turnThe pattern only exists across turns, and the fix is to change the rest of the callA transfer, or a polite end to the callThe turns and the refusals
Slow or degraded answersAfterA reliability problem, not a security event by itselfNot applicableTiming for each stage of the reply
Drift in quality or behavior across callsAfterOnly visible across many callsNot applicableScores over time, with deploys marked

The first three rows are where blocking earns its delay, and they share a shape: the agent is about to do something on the strength of what a caller said. OWASP's LLM01:2026 Prompt Injection entry tells teams to design on the assumption that the model's instruction boundary will eventually be bypassed, and to constrain what the model's outputs are permitted to reach. Its mitigations include routing privileged calls through a deterministic policy engine that revalidates at execution time, and requiring human confirmation before any privileged, irreversible, or externally visible action.

The OWASP AI Agent Security Cheat Sheet says where that check belongs: in the execution component, outside the agent's context, failing closed for unknown tools or missing approval. We think the strongest block on a tool call is not a classifier listening to the caller. It is a check in front of the tool that asks whether this caller, verified to this level, may do this thing. The caller identity testing checklist covers the verification half, and sandbox testing for tool calls covers proving the check without touching production records.

The fifth row is the one that is easy to get backwards. A caller turn that looks like an attack is worth flagging, and worth scoring after the call. It is a poor reason to interrupt, because nothing has happened yet and the classifier may be wrong. Put the block on what the agent does in response, which is recorded the same way whatever words the caller used. The prompt injection detection runbook works through that layer by layer.

The rows marked After are still worth catching. They just do not need to be caught in the next second, and after-call scoring sees the whole conversation, which an inline check does not.

Runtime guardrails vs monitoring: what is the difference?

A runtime guardrail decides on one input, reply, or tool call while the call is in progress. Monitoring, when it only reports, observes and scores what the agent said and did, on one call and across many. Runtime security is the two joined, so that the thing watching can also stop.

TermWhat it meansDecides whenWhat it leaves open
Runtime guardrailAn inline check on an input, a reply, or a tool callDuring the callWhatever the check was not written for, and whether it still works after a change
Report-only monitoringScoring and alerting on what the agent said and didAfter the turn, or after the callThe behavior itself: an alert is a report
Runtime securityMonitoring that can block, with the evidence keptBothAttacks the block does not cover. It still needs testing to show it holds

The two halves fail differently when used alone. A guardrail with no monitoring behind it gives you no view of what it missed, or of the calls where it fired on a legitimate caller. Monitoring that only reports gives you an accurate account of a refund that already went out. Are guardrails enough to secure an LLM agent? makes the longer argument for why neither layer stands alone.

What does blocking in real time cost, and where does it stop working?

Blocking costs response time and the occasional wrongly stopped caller, and it stops working at the edge of what the check can see.

The time cost comes from ordering. A check that must finish first holds the reply, and AWS says so directly for the synchronous mode of Bedrock Guardrails: the response is delayed until the scan completes. On a call, the caller hears that delay as a pause, so measure it on your own stack before you make a check blocking.

A block that fires on a legitimate caller is a failed call, and you will not know how many of those a rule produces until it has seen real traffic. The OWASP cheat sheet's advice for pre-execution checks applies here: start in log-only mode before enforcing, log every decision, and return the reason when an action is blocked so the agent can take a safe path. Log-only mode tells you what the block would have stopped before it stops anyone. It also lets the action through while you watch, so for actions that cannot be undone or are costly to reverse, run log-only in test and enforce from the first live call.

The same cheat sheet states where blocking runs out: a hook only sees what the agent sends through it, and an exfiltration split across several separate tool calls is hard to catch at a single action. An inline check judges one moment, so by extension a caller who collects a little at a time may not trip it. That is the case for keeping the after-call and cross-call review in attack detection across live traffic when blocking is in place.

Blocking is also not prevention. OWASP's LLM01:2026 entry says no reliable prevention mechanism for prompt injection exists today, and that no single control is sufficient. What a block does is limit what a successful attack can reach.

If your agent has no tools and reads no customer data, most of this cost buys you nothing. A check on replies plus after-call review is a reasonable place to stop.

Does Hamming block bad behavior in real time or only report it after the call?

Hamming does both: its runtime security blocks bad behavior in real time, and it also scores calls afterward and keeps the evidence.

Hamming is the security layer for voice and chat agents. BlueTrace, its runtime security product, watches live conversations and blocks bad behavior while the call is in progress.

After the call, BlueTrace scores production calls with the same evaluators used in testing. Alerts go to Slack, email, PagerDuty, or a webhook, with thresholds you set, and each one links to the affected calls. A production call can be converted into a replayable test case, and each fix is verified by an automated follow-up test.

Blocking is a control. It does not guarantee that every attack is stopped, and it does not replace your own controls: the checks in front of your tools, and the verification rules your workflow enforces, still have to hold.

Which behaviors are blocked for your agent, and where each check sits, are questions for an evaluation. Put the vendor questions further down to Hamming as you would to anyone.

How do you prove a block still holds?

You prove a block holds by attacking it on purpose and rerunning that attack after every change. A block that has never been triggered in a test is a configuration setting, and you do not know yet whether it works.

  1. Reproduce the behavior. Write the scenario that should trigger the block: the unverified caller asking for the account change, the request that would pull protected data into a reply. Run it against the deployed agent, through the channel callers use.
  2. Confirm the block fired. Check the decision record: which check, on which turn, with what outcome.
  3. Check the system of record. A refusal in the transcript is not proof. Confirm that no record changed and no data left.
  4. Rerun after every change. A new prompt, model, tool, or permission can change what the agent does with the same caller words. A pass covers the scenario and configuration that were run, and nothing wider.
  5. Add it to the regression suite. Every block that matters gets a permanent scenario, and every production call where a block was missed becomes a new one.

OWASP's LLM01:2026 entry asks for this kind of testing: test against adaptive attackers who have read the deployed defense, and reject attack-success claims based on static tests alone. The voice agent red teaming guide covers building those scenarios, and continuous red teaming vs point-in-time testing covers how often to run them. For step 5, the failed production call regression runbook shows how a call becomes a test.

What should you ask about a real-time intervention tool?

Ask when its checks decide, what it does when one fires, and what evidence it leaves. A tool that can only answer the last of those is report-only monitoring.

QuestionWhat a complete answer includesWhy it matters
Which checks finish before the action or reply, and which run alongside or after?A list, check by checkOnly the first kind stops the behavior
What happens on the call when a check fires?The options it supports: refuse the action, hold the reply, hand off, end the callThe caller is still on the line and the agent has to do something
What happens when the check itself fails or times out?Whether it fails closed or open, per checkA check that fails open stops blocking whenever it errors or times out
Can it run in log-only mode first?Yes, with a record of what it would have blockedYou see wrong blocks before a caller does
What record does a block leave?The turn, the attempted action, the rule, and the outcomeReview and retest both start from this record
How does a blocked or missed behavior become a test?A path from the production call to a replayable scenarioWithout it you cannot show the block holds after a change
What does it not cover?Named limitsA vendor that names none has not answered the question

The voice agent security review questions cover the rest of a vendor review: data handling, access, and retention.

Runtime security checklist

These ten lines cover the block-or-review decision for your agent. Each should be true before you rely on a block.

  • Every behavior you have a rule for is sorted into block during the call or review after, using the decision table above.
  • A deterministic check sits in front of every tool that reads or changes customer data, outside the model, and fails closed.
  • Writes that are expensive to undo need a person's approval above a limit you set.
  • Replies are checked for protected data before they are spoken.
  • The in-call response to each blocking check is decided: refuse, hold, hand off, or end the call.
  • Each blocking check ran in log-only mode first, and its added delay was measured.
  • Every call is scored after it ends, and alerts carry the turn, the action, and the outcome.
  • Every block leaves a record a reviewer can read without listening to the call.
  • Each block has a scenario that triggers it, and that scenario reruns on every prompt, model, tool, or permission change.
  • Someone owns the alerts and the block rules by name.

Start with the first line. Sorting behaviors tells you which blocks you are missing. The voice agent security hub lists the tests behind each of the others, and the incident response runbook covers the day a behavior gets past both the block and the review.

Frequently asked questions

Hamming does both. Its runtime security watches live conversations and blocks bad behavior in real time, and it also scores production calls afterward and keeps the evidence for review and retest. Blocking is a control and does not guarantee that every attack is stopped, so the checks in front of your own tools still have to hold.

Voice agent monitoring can block or report, depending on when its check decides. A check that finishes before the agent acts or speaks can stop that action, and a check that scores the finished call can only say what happened. The timing table in this guide sorts checks into before the action, alongside it, after the turn, and after the call.

A runtime guardrail is an inline check that decides on one input, reply, or tool call during the call. Report-only monitoring scores and alerts on what the agent said and did, after the turn or after the call, on one call and across many. Runtime security joins the two, and the comparison table in this guide shows what each leaves open.

Real-time intervention tools for AI voice agents can change what happens while the caller is still on the line: refuse a tool call, hold a reply back, hand off to a person, or end the call. A tool that only alerts after the call is report-only monitoring. The vendor question table in this guide lists seven things to ask, starting with which checks finish before the action.

Block during the call the voice agent behaviors that cannot be undone, or are costly to reverse, once they happen: a tool call for a caller who has not been verified, a write that is expensive to reverse, and a reply that would disclose protected data. Suspicious caller turns, quality problems, and drift are better reviewed after the call. The decision table in this guide gives the reason and the evidence to keep for each.

Real-time blocking does not stop every attack. OWASP's LLM01:2026 Prompt Injection entry says no reliable prevention mechanism exists today and that no single control is sufficient. A block limits what a successful attack can reach, and an inline check that judges one moment can miss a pattern spread across several actions.

A blocking check adds time, because it has to finish before the reply or action goes ahead. AWS documents this for the synchronous streaming mode of Amazon Bedrock Guardrails, where the response is delayed until the scan completes. On a phone call that delay is a pause the caller hears, so measure it on your own stack before making a check blocking.

Rerun the scenario that triggers the block and confirm three things: the block fired, the decision was recorded, and no record changed and no data left. A spoken disclosure leaves the system of record untouched, so check the reply as well as the record. The five-step retest procedure in this guide covers it. OWASP's LLM01:2026 entry asks for testing against adaptive attackers, not static tests alone, and a pass covers only the scenario and configuration that were run.