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
Related Guides
- Voice Agent Security: Threats, Tests, and Controls - the full map this guide sits inside
- How to Detect Prompt Injection Attempts on Live Voice Agent Calls - detection for one attack class, layer by layer
- Are Guardrails Enough to Secure an LLM Agent? - why an inline filter is one layer and needs testing
- Voice Agent Incident Response Runbook - what to do when something gets past both the block and the review
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 runs | What it can do | What it cannot do | Use it for |
|---|---|---|---|
| Before the action or reply (blocking) | Stop the tool call, or hold the reply back | Answer without delay: the caller waits while it decides | Actions and disclosures that cannot be undone or are costly to reverse |
| Alongside the action or reply (parallel) | Cancel whatever has not happened yet | Undo what already ran or was already said | Checks too slow to hold every turn, where a late stop still limits damage |
| After the turn | Change the rest of the call: remove a tool, hand off to a person, end the call | Change the turn it just scored | Pressure that builds across several turns |
| After the call | Score the call, alert a person, feed a test | Change anything on that call | Quality, 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.
| Behavior | Decide during the call or after | Why | What the caller experiences when it fires | Evidence to keep |
|---|---|---|---|---|
| A tool call for a caller who has not been verified | During, before the tool runs | Data is read or a record changes the moment the tool runs | The agent declines and offers verification or a person | The 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 limit | Reversal costs more than the delay | The agent says it needs approval and hands off | The approval, tied to the exact action and amount |
| A reply that would disclose protected data | During, before the reply is spoken | Once spoken, it is disclosed | A safe reply, or a handoff | The 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 judgment | A clear rule can hold a reply. A judgment call needs the whole call as context | A held or safe reply when a rule fires. Nothing when it is reviewed later | The turn, and the policy version it was scored against |
| A suspicious caller turn, with nothing done yet | After. Flag it during the call, do not block on it | A guess about intent is not an action | Nothing | The flagged turn, and what the agent did next |
| Rising pressure and repeated refusals | During, after the turn | The pattern only exists across turns, and the fix is to change the rest of the call | A transfer, or a polite end to the call | The turns and the refusals |
| Slow or degraded answers | After | A reliability problem, not a security event by itself | Not applicable | Timing for each stage of the reply |
| Drift in quality or behavior across calls | After | Only visible across many calls | Not applicable | Scores 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.
| Term | What it means | Decides when | What it leaves open |
|---|---|---|---|
| Runtime guardrail | An inline check on an input, a reply, or a tool call | During the call | Whatever the check was not written for, and whether it still works after a change |
| Report-only monitoring | Scoring and alerting on what the agent said and did | After the turn, or after the call | The behavior itself: an alert is a report |
| Runtime security | Monitoring that can block, with the evidence kept | Both | Attacks 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.
- 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.
- Confirm the block fired. Check the decision record: which check, on which turn, with what outcome.
- Check the system of record. A refusal in the transcript is not proof. Confirm that no record changed and no data left.
- 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.
- 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.
| Question | What a complete answer includes | Why it matters |
|---|---|---|
| Which checks finish before the action or reply, and which run alongside or after? | A list, check by check | Only 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 call | The 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 check | A 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 blocked | You see wrong blocks before a caller does |
| What record does a block leave? | The turn, the attempted action, the rule, and the outcome | Review 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 scenario | Without it you cannot show the block holds after a change |
| What does it not cover? | Named limits | A 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.