Blog

Put a Firewall Behind Your Voice Agent

Medhavi Bhatia · CTO & Co-founder · November 2026

TL;DR

  • A voice agent says what the model writes, so check the words before the caller hears them.
  • Point the Vapi Custom LLM option at the Cortega gateway. The voice stack stays as it is.
  • Our research report has the setup steps and the attack cases.

In December 2023 a car dealer's chatbot "agreed" to sell a new Tahoe for one dollar. The customer had told it to agree with everything and to call every answer a binding offer. No car changed hands, and the chatbot was taken down.

A voice agent has the same weakness and less room for error. A spoken promise cannot be edited after the caller hears it.

A voice agent built on Vapi turns speech into text, sends the text to a model and speaks the answer. Vapi lets you choose where that model call goes. Point it at the Cortega gateway and every turn is checked twice: the caller's words before the model sees them, and the model's answer before the caller hears it. A blocked turn is spoken as a normal refusal, so the call goes on.

What you get:

  • One set of rules, written from your own policy documents and shared with your chat agents.
  • Provider keys that stay in Cortega. Vapi holds one gateway key.
  • A log of every turn, with the rule that fired.
  • Model changes without touching the Vapi assistant.

Attacks on chatbots are rarely one message. The attacker reads each refusal and tries again with a new reason, a new role or a smaller first step. Public cases include the dealer above, a delivery firm's chatbot that swore at a customer, and a zero-click data leak from Microsoft 365 Copilot.

Our research report covers the setup in Vapi and in Cortega, step by step, the main attack techniques and what stops each, the real cases, and a test list to run before launch.

Read the report (business email confirmation required).

Back to all posts

MAKE YOUR NEXT MOVE

Book a demo

Explore how Cortega fits your AI environment.

Request a demo Learn more Explore the Cortega documentation