The AudioHijack framework achieves covert audio prompt injection against 13 speech large modelsHijacking Large Audio-Language Models via Context-Agnostic and Imperceptible Auditory Prompt Injection
AudioHijack uses gradient estimation and convolutional reverberation to inject audio, achieving non-tool BMSR of 0.84-0.94 on 13 LALMs.
A third-party attacker can only access and tamper with the audio data input to the LALM, and cannot learn or control the user's text or speech instructions; the target model's architecture and parameters are known; the goal is to induce predefined anomalous behaviors or tool invocations while the user is present and under auditory imperceptibility.
- Under constraints where a third-party attacker can only access audio data and is subject to strict auditory imperceptibility, end-to-end large audio language models are vulnerable to auditory prompt injection, leading to hijacked downstream behavior and even unauthorized tool invocation.
- Propose the AudioHijack framework: penetrating discrete tokenization via Gumbel-Softmax sampling gradient estimation, combining EoT multi-context training and an explicit attention margin loss to steer model attention toward adversarial audio, and using learnable room impulse response convolutional perturbations to simulate realistic reverberation.
- Induced 6 types of abnormal behaviors on 13 LALMs, with average PISR of 0.89-0.95 and BMSR of 0.84-0.94 for non-tool categories; on 3 tool-using models, single-step and cascaded tool misuse BMSR ranged from 0.79 to 0.96; successfully transferred to Microsoft and Mistral commercial voice agents.
- Assumes knowledge of the target LALM's architecture and parameters to compute gradients, with limited black-box cross-model transfer; 6 categories of behaviors do not cover all malicious intents; evaluation is limited to single models and simple speech agents, not covering real devices and integrated systems; long audio experiments were limited to 10 minutes due to GPU memory constraints.
- Evaluated models
- SpeechGPTGLM-4-VoiceVITA-AudioLlama-OmniLlama-Omni2SALMONNQwen-AudioQwen2-AudioGemma-3nUltravox-v5Phi-4-MultimodalVoxtral-MiniKimi-AudioPhi-4-Multimodal-instructVoxtral-Mini-latestVoxtral-Small-latest
- Benchmarks
- AirBenchVoiceBenchEarnings-22RVB2014
- Metrics
- PISRBMSRSNRMCDPESQSTOIAUCEERPrecisionRecall
The researchers propose AudioHijack, a general framework for prompt injection against large audio language models (LALMs) under the constraint of only being able to tamper with audio data while remaining imperceptible to the human ear. Methodologically, it uses sampling-based gradient estimation to bypass non-differentiable audio tokenization, uses attention supervision and multi-context training to make attacks generalize across unknown user contexts, and uses convolutional perturbation mixing to disguise perturbations as natural reverberation. Across 13 LALMs (including Kimi-Audio, Qwen2-Audio, GLM-4-Voice, Gemma-3n, Voxtral-Mini, Phi-4-Multimodal, etc.) covering 6 categories of undesirable behavior, PISR and BMSR average 0.89-0.95 and 0.84-0.94 respectively, with a notable drop in effectiveness against SpeechGPT.
Why it was selectedThe researchers conducted a unified jailbreak injection on 13 speech language models under the constraint of only being able to tamper with audio data and requiring human inaudibility, and verified the tool-calling risks of commercial voice agents.
Related events and news
1 events · 2 news mentions
News that mentions this paper
Check Point 推出语音 Agent 音频护栏
- Check Pointcites the paper's id or link音频提示注入:语音智能体听到、文本护栏却漏掉的内容
And this year, a paper at IEEE S&P showed that instructions hidden in audio, imperceptible to listeners, could push commercial voice agents into actions their users never asked for.
- Check Pointcites the paper's id or linkCheck Point:音频提示注入为何能绕过文本护栏击中语音智能体
And this year, a paper at IEEE S&P showed that instructions hidden in audio, imperceptible to listeners, could push commercial voice agents into actions their users never asked for.
Paper analysis
What problem does this paper attempt to solve?
Studies the auditory prompt injection threat where a third-party attacker, able only to tamper with audio and subject to stealth constraints, hijacks LALM behavior.
Security threat of Auditory Prompt Injection against large audio language models (LALMs) under constraints of audio-data-only access and strong auditory stealth.
- Scenario and importance: Modern LALMs process audio and text end-to-end, and even have tool invocation capabilities to perform external actions. Audio serves both as input data and can carry instructions; if a third-party attacker hijacks model behavior by tampering with audio data, it poses serious real-world harm (Section 1, Section 2.2).
- Shortcomings of existing defenses and attacks: Existing audio jailbreak attacks assume the attacker is the user, with full control over instructions and no need for stealth; the only prior work exploring auditory indirect prompt injection is a proof-of-concept on just two full-modal models, relying on unconstrained conspicuous perturbations with weak generalization (Section 1, Section 2.3).
- Core observation and hypothesis: The bottleneck in attack generalization stems from attention bias during LALM autoregressive generation—the model over-attends to user context while neglecting audio data; additionally, the non-differentiable operation of discrete tokenization blocks gradient backpropagation (Section 4.2, Section 4.3.3).
- Proposed method: Propose the AudioHijack attack framework, combining sampling gradient estimation, attention-guided context generalization, and convolutional perturbation mixing to generate context-independent and auditorily imperceptible adversarial audio (Section 4.3).
- Threat model:
- Attacker goal: Tamper with audio data to induce 6 predefined categories of anomalous behaviors (auditory blindness, prompt refusal, misinformation, phishing link delivery, persona control, tool abuse), while remaining stealthy and undetected by the user (Section 3).
- Attacker knowledge: Possesses the architecture and model parameters of the target LALM (Section 3).
- Attacker capability: Can only modify the audio data input to the LALM, and cannot learn or control the contextual instructions spoken or typed by the user (Section 3).
- Victim system: Speech assistants or commercial speech agents based on end-to-end LALMs (Section 3).
What related research exists?
Reviews work on audio jailbreaks, indirect prompt injection, and audio adversarial examples, comparing multiple attack variants and defense baselines.
Audio Jailbreak and Direct Attacks
- Text jailbreak transfer: VoiceJailbreak (Shen et al., 2024) and Ying et al. (2024) — converting text jailbreak prompts to speech to elicit harmful responses; the paper notes these methods rely on full-modal access and are direct jailbreaks (Section 2.3).
- Signal editing and adversarial perturbations: BoN-Jailbreak (Hughes et al., 2024) and JAB (Cheng et al., 2025) increase the evasiveness of harmful speech through signal editing and enhancement; AdvWave (Kang et al., 2025), SpeechGuard (Peri et al., 2024), and AudioJailbreak (Chen et al., 2025) optimize adversarial suffixes or perturbations to induce affirmative responses; SSJ (Yang et al., 2025) embeds harmful words into speech by spelling them letter by letter; the paper notes these methods all assume the attacker fully controls user instructions and lack stealth requirements (Section 2.3).
Indirect Prompt Injection
- Multimodal indirect instruction injection: Bagdasaryan et al. (2023) — explores using adversarial images and sounds to implant malicious instructions in multimodal LLMs; the paper notes its limitation to proof-of-concept cases on two full-modal models, reliance on unconstrained obvious perturbations, and only preliminary exploration on text context-free settings (Section 2.3).
Adversarial Audio and Physical Stealth Perturbations
- Discriminative audio adversarial examples: Carlini and Wagner (2018), Devil's Whisper (Chen et al., 2020), AdvPulse (Li et al., 2020) — primarily target discriminative models such as speech recognition or audio classification to induce classification errors; the paper notes that LALMs are complex generative models for open-domain generation, subject to partial input control and strict context constraints (Section 2.4).
- Reverberation-aware adversarial perturbations: AdvReverb (Chen et al., 2024) — rethinks the stealth of adversarial examples for human auditory perception; this paper draws on its ideas to design a learnable convolutional mixing method (Section 4.3.4).
Baselines and Comparative Positioning
- Ablation baseline methods: CSA w/o Latt (single-context without attention loss), CSA w/ Latt (single-context with attention loss), CAA w/o Latt (multi-context without attention loss) (Section 5.3).
- Stealth comparison baselines: PGD attack (L_infinity constraint), C&W attack (L2 penalty) (Section 5.4).
- Defense and detection baselines: In-context defense, Self-reflection detection, UniGuardian (token-masked logits divergence detection), WaveGuard (signal distortion logits divergence detection) (Section 7).
- Benchmark datasets: AirBench-chat (SpeechQA, SoundQA, MusicQA), VoiceBench-wildvoice, Earnings-22 (Section 5.1, Section 5.5).
- Distinction from existing work: The authors state this paper proposes the first systematic and practical LALM auditory prompt injection attack, achieving context-free end-to-end attacks under restricted audio data access and perceptual stealth constraints (Section 1, Section 2.3).
How does the paper address this problem?
Propose AudioHijack, integrating Gumbel-Softmax gradient estimation, attention margin loss, and learnable convolutional reverberation perturbation.
AudioHijack adopts an output-layer injection strategy, manipulating the token probability distribution of autoregressive generation by optimizing tiny audio perturbations, so that attacker-specified instructions are embedded in the model's response and executed spontaneously (Section 4.2).
Sampling gradient estimation to penetrate discrete tokenization
To address the challenge (C1) where hard selection in vector quantization (VQ) and embedding lookup block gradients in discrete and hybrid architectures, a differentiable gradient estimation based on Gumbel-Softmax is designed:
- Forward hard selection and backward soft smoothing: Let the negative distance between acoustic features and codebook entries be the classification logits πt = −|et − ck|2. Forward propagation uses one-hot hard selection to simulate real inference, while backward propagation uses Gumbel-Softmax soft weights:
zt = (exp((log(πt) + gt)/τ))/(∑i=1T exp((log(πi) + gi)/τ))where gt ∼ Gumbel(0, 1) and τ is the temperature hyperparameter (set to 10). The gradient with respect to the input audio ∇x̂d L is computed via the weighted embedding ẽt = ∑k=1K zt,k Φk (Section 4.3.2, Section 5.1).
Attention-guided context generalization
To address the challenge (C2) of unknown and sensitive user context, implicit context augmentation and explicit attention supervision are combined:
- Implicit EoT optimization: Based on a small-scale auxiliary instruction set X̂c, optimize the expected loss Ladv = 𝔼x̂c ∼ X̂c L(M(x̂d, x̂c), rt) to suppress interference from surrounding context (Section 4.3.3).
- Explicit attention margin loss: Compute the multi-layer, multi-head average attention weight Wd from target response tokens to audio data tokens, and introduce a margin attention loss:
Latt = max{κ − Wd, 0}where κ is the attention lower-bound threshold (set to 0.015), forcing the model to redirect attention toward the adversarial audio (Section 4.3.3, Section 5.1).
Convolutional perturbation mixing for auditory stealth
To address the stealth constraint (C3) when the user is present, traditional additive noise is abandoned in favor of learnable convolution kernels that redistribute perturbation energy into realistic reverberation patterns:
- Framed convolution and boundary smoothing: The audio is divided into short frames of about 0.2s, each convolved with a short kernel δk initialized from real room impulse responses (RIR, from RVB2014); overlap-add (OLA) with a 0.02s Hann window and 0.01s hop is used to eliminate boundary artifacts (Section 4.3.4, Section 5.1).
- Energy normalization and penalty constraint: RMS normalization maintains loudness consistency; the loss function Lpen = |x̂d − xd ∗ δ0|2 constrains the perturbation shape to resemble natural reverberation (Section 4.3.4).
- Total joint optimization objective: Minimize Ltotal = Ladv + α Lpen + β Latt, with hyperparameters set to α=1 and β=50 (Section 4.3.4, Section 5.1).
What experiments did the paper conduct?
Evaluated on 13 models and commercial agents, with non-tool success rates exceeding 0.84 and tool abuse up to 1.00, and analyzed defenses and detection.
Experimental Setup
- Models under test: 13 LALMs in total, including discrete architectures SpeechGPT (7B), GLM-4-Voice (9B), VITA-Audio (7B); continuous architectures Llama-Omni (8B), Llama-Omni2 (7B), SALMONN (7B), Qwen-Audio (7B), Qwen2-Audio (7B), Gemma-3n (2B), Ultravox-v5 (8B), Phi-4-Multimodal (5B), Voxtral-Mini (3B); hybrid architecture Kimi-Audio (7B) (Table 2).
- Commercial voice agents: Microsoft Azure's Phi-4-Multimodal-instruct (3B), and Mistral AI's Voxtral-Mini-latest (3B) and Voxtral-Small-latest (24B) (Section 6).
- Datasets and scale: 600 audio-text pairs sampled from AirBench-chat (200 pairs each for SpeechQA, SoundQA, MusicQA); 200 real human voice samples from VoiceBench-wildvoice; long-audio extension uses Earnings-22 (Section 5.1, Section 5.5).
- Baseline methods: adversarial attack comparison with additive PGD (L_infinity) and C&W (L2); generalization comparison with CSA w/o Latt, CSA w/ Latt, CAA w/o Latt; defense comparison with In-context defense, Self-reflection, UniGuardian, WaveGuard (Section 5.3, Section 5.4, Section 7).
- Metrics and evaluation criteria: prompt injection success rate PISR (strict string matching); behavior matching success rate BMSR (for non-tool categories, using GPT-5.1, Gemini-2.5-Flash, Qwen3.5-Flash as judges and averaging; for tool categories, computed as Pi × Ps × Pe); stealth metrics SNR, MCD, PESQ, STOI (Section 5.1).
- Sample size and training details: each target response uses a 15s audio carrier, 100 instructions for training, 100 unseen instructions for testing, totaling 13,000 attack trials for non-tool categories; continuous/hybrid models iterate 2,000 steps, discrete models 3,000 steps, step size 0.001, batch size 4 (Section 5.1, Section 5.2).
Main Results
The table below summarizes PISR and BMSR for 3 LALMs with tool-calling capability on tool misuse tasks (single-step tasks list JSON-format results, cascaded tasks are text format):
Swipe horizontally to read the table
Model search_web (JSON) PISR search_web (JSON) BMSR download_file (JSON) PISR download_file (JSON) BMSR list_calendar + send_email (Text) PISR list_calendar + send_email (Text) BMSR Ultravox-v5 0.99 0.99 1.00 1.00 0.95 0.95 Phi-4-Multimodal 0.92 0.92 0.85 0.83 0.85 0.83 Voxtral-Mini 0.97 0.96 0.98 0.95 0.89 0.59 Source: Based on Table 3. Note: The table omits text-format single-step tool results (in text format, the three models' search_web BMSR are 1.00, 0.91, 0.91; download_file BMSR are 0.86, 0.78, 0.89).
- Multi-model breadth effectiveness: The authors report that 13 LALMs achieve average PISR of 0.89-0.95 and BMSR of 0.84-0.94 across 5 non-tool abnormal behavior categories; except for SpeechGPT, all models have average PISR and BMSR exceeding 0.91 and 0.90 (Figure 5, Section 5.2).
- Structured output preference: The authors state that PISR and BMSR are consistently higher for JSON-format target responses than text format; models over-optimized for structured output are more susceptible to tool misuse attacks (Table 3, Section 5.2).
- Cascaded call resistance: Voxtral-Mini's BMSR drops to 0.59 under cascaded tool misuse; the authors state it frequently asks for user confirmation before calling the email-sending tool, showing some resistance (Table 3, Section 5.2).
Injection Stealth Evaluation
- Acoustic quality comparison: As shown in Table 4, convolutional mixing achieves SNR of 29.27 dB, 28.61 dB, 30.05 dB on speech, sound, and music carriers, respectively, and MCD of 4.16, 2.37, 2.80; PESQ reaches 3.16 and STOI 0.92 for speech carriers. Compared to additive L_infinity constraint (speech SNR 9.87 dB, MCD 8.36) and additive L2 penalty (speech SNR 22.15 dB, MCD 5.56), convolutional mixing has higher acoustic fidelity (Table 4).
- Spectral characteristics: Figures 9, 17, and 18 show that additive perturbations produce high-energy electronic noise artifacts, while convolutional perturbation energy distribution is close to natural reverberation (Section 5.4).
- Authors' interpretation: The authors believe convolutional mixing effectively redistributes time-frequency energy, simulating natural reverberation, significantly improving injection stealth, and music is an excellent stealth carrier (Section 5.4).
Black-Box Transfer Attack on Commercial Voice Agents
- Transfer results: On Microsoft Azure and Mistral AI commercial agents (Table 6), locally generated adversarial audio transfers to P4MM-instruct with BMSR of 0.53-0.98; transfers to VM-latest with BMSR of 0.52-0.97; cross-model transfer to VS-latest (24B) has BMSR of 0.37-0.65 except for phishing links (0.14) (Table 6).
- Real-world harm: Successfully induced commercial agents to perform unauthorized single-step or cascaded tool calls, including sensitive searches, malicious file downloads, and email information theft (Section 6).
- Authors' interpretation: The authors believe this indicates that open-source LALMs can serve as effective carriers for attacking deployed commercial agents (Section 6).
Adversarial Defense and Detection Evaluation
- Context and self-reflection defenses: Context defense only reduces Voxtral-Mini's BMSR by less than 0.07 (Figure 13); self-reflection detection has a false positive rate (FPR) of 0.04 but a true positive rate (TPR) of only 0.28 (Section 7).
- Logits and signal distortion detection: UniGuardian (audio token masking) achieves AUC of 0.71-0.85, but equal error rate (EER) is as high as 0.21-0.36; WaveGuard's four signal distortion detection methods all have AUC below 0.6 (Figure 14, Section 7).
- Attention deviation detection: Attention-based PCA+SVM classification achieves 0.98 precision and 0.93 recall; when an adaptive attacker lowers the attention threshold, recall drops to 0.69, indicating a trade-off between effectiveness and detectability (Figure 15, Section 7).
Other Ablations and Analyses
- Context-free and attention loss: Adding attention loss on Voxtral-Mini improves single-context attack BMSR by 0.11-0.33 and multi-context attack BMSR by 0.01-0.14 (Figure 7).
- Auxiliary data scale: When auxiliary context is reduced from 50 to 20, PISR and BMSR remain above 0.81 and 0.64, respectively (Figure 10).
- Carrier audio duration: With a carrier duration of 7.5s, PISR and BMSR are above 0.71 and 0.63; at 10s, they rise to above 0.87 and 0.75, respectively (Figure 11).
- Sampling temperature variation: When Voxtral-Mini's temperature drops from 0.7 to 0.1, success rate slightly increases; when raised to 1.3, BMSR remains above 0.60 (Figure 12).
- Long-audio extension: On the Earnings-22 dataset, optimizing 15s segments, when total audio length increases from 1 minute to 10 minutes, BMSR drops from 0.97 to 0.58; optimizing 30s segments can recover to 0.89 (Table 5).
Negative Results and Exceptions
- Low attack success on SpeechGPT: PISR and BMSR drop to 0.23-0.57 and 0.15-0.42, respectively; the authors explain that its audio token vocabulary is only 1,000, overly restricting the search space (Figure 5, Section 5.2).
- Low misinformation induction rate: VITA-Audio and Llama-Omni have slightly lower BMSR on misinformation; the authors' manual inspection indicates the models tend to correct misinformation in subsequent responses (Figure 5, Section 5.2).
- Difficulty in cross-model phishing link transfer: When adversarial audio generated by Voxtral-Mini transfers to VS-latest, phishing link BMSR is only 0.14; the authors state that precisely inducing specific links across models is difficult (Table 6, Section 6).
What are some points that can be further explored?
The authors point out limitations such as white-box assumptions, cross-model transfer, and single-model evaluation, and suggest future exploration of gradient-free methods and system-level validation.
Limitations and future directions noted by the authors
- White-box knowledge assumption: The current framework assumes the architecture and parameters of the target LALM are known to compute gradients, limiting its application to models with undisclosed parameters (Section 8).
- Gradient-free optimization exploration: To address the insufficient black-box cross-model transfer generalization, future work could explore gradient-free methods that use response-level feedback to refine adversarial optimization (Section 8).
- Diversity of behavior categories: The defined 6 behavior categories represent only a subset of potential malicious intents, requiring a broader taxonomy and benchmarks to reflect the diversity of real-world attacks (Section 8).
- System-level and real-device evaluation: Evaluation focuses on standalone models and simple speech agents, without examining integrated platforms; future work should extend to system-level application scenarios combined with real devices such as phones and smart speakers (Section 8).
Experimental coverage
- Scope of tested models: Covers 13 open-source/open-weight LALMs, as well as 3 commercial speech agents from Microsoft Azure and Mistral AI (Table 2, Table 6).
- Audio carrier types and scale: The main experiments fixed a 15s audio carrier; stealth evaluation covers 5 carriers each for speech, ambient sound, and music (15 in total) (Section 5.1, Section 5.4).
- Task and behavior definitions: Covers 6 categories of predefined anomalous behaviors, with 10 target responses defined for non-tool categories and 4 tools defined for tool categories (search_web, download_file, list_calendar, send_email) (Section 5.1, Section 5.2).
- Long audio duration coverage: Long-audio extension experiments tested 1 to 10 minute audio on Earnings-22 (optimizing 15s or 30s segments within) (Table 5).
- Types of defense and detection evaluation: Covers prompt-level (In-context), response-level (Self-reflection), audio logits-level (UniGuardian, WaveGuard), and internal attention representation-level (PCA+SVM) defenses (Section 7).
Summarize the main content of the paper
Proposed the AudioHijack framework, revealing LALM vulnerability to auditory prompt injection and the limitations of traditional defenses.
- Research positioning: Research on Auditory Prompt Injection attacks against large audio language models (LALMs), revealing severe security vulnerabilities when a third-party attacker can only tamper with audio data and is subject to stealth constraints.
- Problems addressed: Solves three technical challenges: gradient blocking across heterogeneous architectures, attention sensitivity to unknown user context, and the lack of auditory stealth in traditional additive noise.
- Method core: Constructs the AudioHijack framework, using Gumbel-Softmax sampling gradient estimation to penetrate discrete tokenization, combining EoT and an explicit attention margin loss to forcibly redirect attention toward adversarial audio, and using learnable room impulse response (RIR) convolution kernels for natural reverberation disguise.
- Key experimental results: Induces 6 categories of anomalous behaviors across 13 LALMs of different architectures and scales, with average non-tool PISR of 0.89-0.95 and BMSR of 0.84-0.94 (Figure 5); induces tool abuse on 3 tool-calling models with average PISR of 0.90-0.96 and BMSR of 0.79-0.96 (Table 3); convolutional mixing achieves SNR exceeding 28.6 dB and PESQ of 3.16 (Table 4); successfully transfers across models to commercial speech agents from Microsoft Azure and Mistral AI to execute unauthorized tool invocations (Table 6).
- Author conclusions and implications: The authors conclude that LALMs are generally vulnerable to auditory prompt injection, and excessive optimization for structured outputs further exacerbates tool abuse risk; prompt-level, response-level, and traditional signal-level defenses are largely ineffective, requiring deeper detection at the level of internal model mechanisms such as attention dynamics.