TL;DR
AudioHijack demonstrates a critical security vulnerability in Large Audio-Language Models (LALMs): third-party adversaries can covertly manipulate a model's behavior via imperceptible audio perturbations. By camouflaging malicious instructions as natural room reverberation, this framework successfully hijacks state-of-the-art LALMs and commercial voice agents, forcing them to execute unauthorized actions like data exfiltration or malware downloads without the user's knowledge.
What Problem Does This Paper Address?
As Large Language Models evolve into multimodal Large Audio-Language Models (LALMs), they natively process continuous, high-dimensional audio signals to enable low-latency, full-duplex voice interactions. However, this tight integration of audio and text expands the attack surface.
While prior work has explored "direct jailbreaks" (where a malicious user intentionally coaxes harmful text out of a model), this paper tackles a more insidious threat: indirect auditory prompt injection. Here, the user is innocent, but a third-party adversary tampers with the audio data itself (e.g., embedding an attack into a background track, an online video, or a shared meeting stream).
The authors address three primary challenges that make this attack difficult to execute under realistic conditions:
- Structural Gradient Obstruction: Many LALMs use discrete tokenization schemes that rely on non-differentiable vector quantization, blocking standard gradient-based optimization.
- Context Opacity and Sensitivity: The attacker cannot predict what the user will say, meaning the adversarial audio must generalize across completely unknown user contexts.
- Perceptual Stealth Constraints: Unlike a blatant voice command, the injected prompt must be completely imperceptible to the human user while remaining highly effective to the model.
Methods
The authors introduce AudioHijack, an end-to-end adversarial optimization framework designed to overcome these hurdles through three core innovations:
- Sampling-based Gradient Estimation: To bypass the non-differentiable tokenization layers found in discrete and hybrid LALM architectures, AudioHijack replaces hard token selection with Gumbel-Softmax sampling. This allows gradients to flow smoothly from the language model backbone all the way back to the raw input audio.
- Attention-guided Context Generalization: LALMs often suffer from "attention bias," prioritizing the user's explicit text/speech instructions over the background audio data. AudioHijack counters this by combining multi-context training (using Expectation over Transformation) with an explicit marginal attention loss. This forces the LALM's internal attention mechanism to shift toward the adversarial audio, regardless of what the user asks.
- Convolutional Perturbation Blending: Instead of adding standard electronic noise (which sounds like an obvious static buzz), AudioHijack partitions the audio and applies short, learnable convolutional kernels initialized with Room Impulse Response (RIR) signals. This effectively blends the adversarial payload into the audio as natural-sounding room reverberation or echo.
Datasets
The framework was trained and evaluated using several open-source audio-text datasets:
- AirBench (AirBench-chat subset): 600 audio-text pairs split evenly across
SpeechQA,SoundQA, andMusicQAto test diverse audio types. - VoiceBench (VoiceBench-wildvoice subset): 200 real human voice samples used to incorporate varied speaker identities and acoustic conditions.
- RVB2014: Used for realistic Room Impulse Response (RIR) initialization.
- Earnings-22: Utilized to evaluate the scalability and attention dilution of the attack on long-duration audio clips (up to 10 minutes).
Key Insights and Ideas
- The Modality Blur: In LALMs, the boundary between "data" (the audio being analyzed) and "instruction" (the command to follow) is fundamentally blurred. The model processes both in a unified embedding space, allowing data to easily override instructions.
- Over-Optimization Backfire: LALMs that are heavily optimized to output structured formats (like JSON for tool use) are actually more vulnerable to tool misuse. Once the adversarial audio triggers the initial syntax, the models eagerly complete the structured tool call with high confidence.
- Deep Attention Hijacking Defeats Surface Defenses: Standard text-level or prompt-level defenses (like self-reflection or in-context learning guards) fail because the adversarial audio hijacks the model's internal attention maps directly.
- The Detectability Trade-off: While surface defenses fail, the authors found that analyzing internal attention deviation can reliably detect attacks. However, an attacker can counter this by lowering their attention-steering strength, revealing a fundamental trade-off between attack effectiveness and detectability.
Key Results
The authors evaluated AudioHijack against 13 state-of-the-art LALMs (including Qwen2-Audio, GLM-4-Voice, and Kimi-Audio) and 3 production-grade commercial voice agents from Mistral AI and Microsoft Azure.
- High Success Rates: AudioHijack achieved average prompt injection success rates (PISR) and behavior match success rates (BMSR) between 79% and 96% across unseen user contexts.
- Versatile Misbehaviors: The attack successfully triggered six distinct categories of malicious behavior: auditory blindness, prompt refusal, disinformation, phishing delivery, persona control, and tool misuse.
- Real-World Tool Exploitation: When targeting commercial agents, the attack successfully forced models to execute unauthorized single-step and cascaded tool calls—such as performing sensitive web searches, downloading malicious files from attacker-controlled servers, and exfiltrating user calendar data via email.
- Excellent Stealth: The convolutional blending method maintained high acoustic fidelity, yielding a Signal-to-Noise Ratio (SNR) above 28.6 dB and a low Mel-Cepstral Distance (MCD), making the perturbations sound like ordinary room acoustics to human listeners.
Limitations and Future Work
- White-Box Dependency: The optimization process currently requires white-box access to the target LALM's architecture and parameters to compute gradients. While the attacks successfully transferred to black-box commercial APIs, cross-model generalization across entirely different model families remains a challenge.
- System-Level Scrutiny Needed: The evaluation was primarily restricted to standalone models and APIs. Future work must explore how these auditory injections interact with broader system components, operating systems, and third-party applications on actual physical devices like smartphones and smart speakers.
Summary updated