For Prompt Injection, Press 1: Hacking AI Voice Agents

What happens when you social engineer an AI agent that was trained to be helpful over the phone? Can you get it to reveal its system prompt out loud? Will it disclose information about other callers? How far can you push it before its guardrails kick in?

Voice AI agents are the same LLMs we've been prompt injecting, just with a phone number instead of a chatbot. Yapper is the open-source tool I built to test them.


Yapper is an open-source security testing tool built specifically to probe voice-based AI agents that are replacing human operators, such as those that usually answer IR hotlines, customer service lines, and intake systems. While the security community has developed solid tooling for text-based chatbot testing, voice AI agents operate through a fundamentally different pipeline: speech-to-text transcription feeds into an LLM, which generates a response that gets converted back to speech. Each layer introduces its own attack surface, and the combination hasn't received as much scrutiny as the classic prompt injection against chatbots.

Yapper targets the LLM layer of this pipeline. It places outbound calls via Twilio, delivers scripted multi-turn attack utterances using text-to-speech, captures the agent's responses via Twilio's built-in speech-to-text transcription, and analyzes the resulting transcripts using both pattern matching and an LLM judge powered by Claude. Attack scenarios are defined in YAML files, each containing a sequence of utterances and detection rules (keywords and regex patterns) that flag whether the agent was successfully exploited.

Attack scenarios are organized by OWASP Top 10 for LLM Applications (2025) category, including prompt injection, system prompt extraction, tool abuse, and jailbreaking. Each scenario is designed to be reusable and shareable, with the goal of building a community-driven library of voice agent attack cases.

The talk will walk through the architecture of a typical AI voice agent, explain why the voice pipeline changes the threat model, demonstrate Yapper running attack scenarios against a target agent, and show how to interpret results. All demos will be pre-recorded as a backup. Yapper will be released on GitHub alongside the talk if it isn't already released by then.

Willie Zhang

Willie Zhang is an Offensive Security Consultant with experience protecting companies by thinking like an attacker. What started as a $1 online course on ethical hacking in college turned into a career built on finding the gaps in systems that aren't supposed to have any. Willie has a growing passion for understanding and attacking AI systems, building on a foundation of testing everything from corporate networks to the humans that run them. When he's not learning something new, Willie is in a League of Legends lobby, because apparently cybersecurity isn't chaotic enough.