SWhisper: Black-Box Jailbreaking of Voice-Driven LLMs via Near-Ultrasonic Covert Acoustic ChannelsSirens' Whisper: Inaudible Near-Ultrasonic Jailbreaks of Speech-Driven LLMs
SWhisper sends near-ultrasonic jailbreak voice to LLMs via commercial devices, achieving black-box NR of 0.940 and SC of 0.925 on GLM-4-Air.
Black-box attack on voice-driven LLMs (only audio input/output observable); attacker has a white-box proxy model for offline optimization; uses commercial speakers to emit 17–22 kHz near-ultrasonic waves in the victim's environment, demodulated by microphone nonlinearity into baseband speech; single-round audio query, no physical access to victim device; goal is to induce non-compliant responses within the voice interface's duration limit.
- Voice interaction introduces an open acoustic channel attack surface for large language models. Existing text jailbreaks, when converted to speech, often suffer from recognition errors due to unnatural language or exceed interface duration limits, while existing ultrasonic injection lacks channel modeling and cannot faithfully transmit long structured prompts.
- SWhisper adopts a two-layer collaborative design of text and acoustics: the text layer uses a short template containing rule-based instructions and semantically regularized suffixes, optimized under pronunciation and perturbation constraints; the acoustic layer pre-compensates microphone nonlinearity through channel inversion, modulated into 17–22 kHz near-ultrasonic single-sideband signals.
- On the black-box commercial model GLM-4-Air, NR reaches 0.940 and SC reaches 0.925 (Table 1); on the end-to-end audio model GLM-4-Voice, NR reaches 0.980 and SC reaches 0.813 (Table 2). In the user listening experiment, subjects' discrimination rate is not statistically different from chance level (Table 4).
- Channel modeling uses the average transfer function and does not implement online adaptation; suffix optimization is not explicitly designed for cross-model transfer; the tested models cover 4 open-source, 3 commercial, and 2 end-to-end audio models; the benchmark uses 50 carefully selected harmful prompts from AdvBench.
- Evaluated models
- Meta-Llama-3.1-8B-InstructGemma-3-4BQwen2.5-7B-InstructMistral-7B-Instruct-v0.3DeepSeek (Non-Thinking Mode)GLM-4-Air (glm-4-air-250414)Grok-4GLM-4-VoiceQwen-Omni-Turbo
- Benchmarks
- AdvBenchStrongREJECTFreesound
- Metrics
- Non-refusal score (NR)Specific-convincing score (SC)Word error rate (WER)
The researchers propose SWhisper, a framework for covert prompt injection and jailbreaking of speech-driven LLMs under commodity-grade speaker and microphone conditions. It encodes any target baseband audio into the 17–22 kHz near-ultrasonic band, exploits microphone nonlinearity for demodulation and recovery, and performs spectral precompensation by modeling the microphone and channel transfer functions and solving a regularized inverse problem, so that even long, structured prompts can be recovered with high fidelity. At the text layer, it uses structured templates with semantically regularized adversarial suffix optimization to balance intelligibility, duration, and cross-model transfer. On commercial models, SWhisper achieves non-refusal (NR) and specific persuasion (SC) scores of up to 0.94 and 0.925; on the end-to-end LALM GLM-4-Voice, NR is 0.980 and SC is 0.813. A 32-participant user study shows that the injected jailbreak audio is indistinguishable from pure background playback.
Why it was selectedThe paper provides a complete modeling and compensation method for near-ultrasonic covert acoustic channels and reports attack success rates across commercial and open-source voice models, enabling deployers of voice interfaces to assess physical-layer risks.
Paper analysis
What problem does this paper attempt to solve?
For speech-driven LLMs, use commercial hardware to achieve black-box single-round jailbreak prompt injection through a near-ultrasonic covert channel.
The paper attempts to solve the problem of covertly injecting effective jailbreak prompts into voice-driven large language models via physical acoustic channels under realistic conditions of no white-box model parameter access and using only commercial hardware.
- New attack surface introduced by voice interfaces: Voice-driven systems rely on open acoustic channels; voice input propagates through the environment, is captured by microphones, processed by speech-to-text or end-to-end audio models, and the interaction process lacks user-visible records, making malicious input difficult to audit or intervene (Section 1).
- Limitations of existing jailbreak methods: Optimization-based text adversarial suffixes lack linguistic meaning, and when converted to speech, have high word error rates; heuristic jailbreak-generated prompts are verbose and exceed the one-minute duration commonly limited by voice interfaces (Section 2.1).
- Inadequacies of existing near-ultrasonic injection: Previous nonlinear acoustic injection mainly targets short control commands, lacking modeling and compensation for composite acoustic channel characteristics, making it difficult to faithfully reproduce longer structured baseband signals needed for jailbreaks (Section 2.2).
- Threat model:
- Attacker goal: Covertly inject jailbreak prompts to bypass safety mechanisms and induce non-compliant outputs, with audio meeting the duration limits of voice interfaces (Section 4).
- Attacker knowledge: Only black-box access to the victim model, but has a white-box proxy model for offline optimization (Section 4).
- Attacker capability: Only uses consumer-grade speakers to emit 17–22 kHz near-ultrasonic signals, performs single-round audio queries, and has no physical access to the victim device (Section 4).
- Victim system: Voice-driven LLM systems based on speech-to-text pipelines or end-to-end audio-native architectures (Section 4).
What related research exists?
The paper discusses heuristic and optimization-based text jailbreaks, nonlinear acoustic injection, and adversarial attacks against end-to-end audio models.
The paper reviews related work from two areas: text jailbreaks and acoustic physical injection.
Text jailbreak attacks on large language models
- Manual templates and heuristic methods: DAN (Shen et al., 2024), AutoDAN (Liu et al., 2024), PAIR (Chao et al., 2025) and others use rule-based instructions, automatic rewriting, or multi-turn dialogue to steer the model. The authors note that these methods often produce overly long prompts or require multiple interactions, making them unsuitable for speech interfaces with strict duration limits (Section 2.1).
- Optimization-based adversarial suffixes: GCG (Zou et al., 2023), Faster-GCG (Li et al., 2024), I-GCG (Jia et al., 2025) generate adversarial suffixes through search. The authors note that the generated tokens lack linguistic meaning and, when converted to speech, are difficult to transcribe or recognize correctly (Section 2.1).
- Hybrid methods: approaches combining heuristic templates with optimized suffixes (Andriushchenko et al., 2025). The authors note that neither the templates nor the suffixes are optimized for speech, resulting in unnatural pronunciation and exceeding interface duration limits in speech scenarios (Section 2.1).
Nonlinear acoustic injection attacks
- Traditional ultrasonic injection: DolphinAttack (Zhang et al., 2017) and its extensions (Roy et al., 2017; Yan et al., 2020) exploit the nonlinearity of microphone front ends to demodulate high-frequency carriers into audible commands, but typically rely on dedicated ultrasonic hardware (Section 2.2).
- Commercial-speaker near-ultrasonic attacks: NUIT (Xia et al., 2023) uses commercial speakers to inject control commands in the near-ultrasonic band. The authors note that it lacks modeling and compensation of the covert channel, making it difficult to faithfully reconstruct the longer structured baseband speech needed for jailbreaks (Section 2.2).
- Injection considering channel distortion: VRIFLE (Li et al., 2024) simulates distortion through an ultrasonic transformation module during optimization. The authors note that this mechanism is closer to data augmentation than active compensation and requires additional model training overhead (Section 2.2).
Baseline methods and evaluation benchmarks
- Comparison baselines and benchmarks: The paper selects GCG, I-GCG, PAIR, and Auto-DAN as jailbreak comparison baselines, and uses the harmful behaviors subset of AdvBench as the evaluation benchmark (Sections 6.1.1, 6.1.3).
Positioning relative to existing work The authors argue that SWhisper is the first end-to-end framework that combines a general near-ultrasonic covert channel with speech-adapted jailbreak generation under realistic black-box conditions and commercial hardware (Sections 1, 2.1).
How does the paper address this problem?
Construct a text-layer semantically regularized short-suffix hybrid template, and generate audio at the acoustic layer through channel-inversion precompensation and near-ultrasonic single-sideband modulation.
The paper proposes the SWhisper framework, adopting a two-layer architecture of text-layer jailbreak generation and acoustic-layer near-ultrasonic transmission, balancing the duration and intelligibility constraints of voice interfaces and the nonlinear compensation of the physical acoustic channel.
Attack Initialization and Prompt Construction
- Pre-trained suffix set filtering: Uses previously successful jailbreak sequences to build an initial candidate pool, and filters to retain candidates with low automatic speech recognition word error rate (WER) to ensure pronunciation validity for speech synthesis and transcription (Section 5.1.1).
- Structured hybrid template design: The template consists of four parts: rule-based instructions, jailbreak target, guiding response, and the adversarial suffix to be optimized. This design leverages LLMs' tendency to follow structured instructions while compressing overall length to fit interface limits (Section 5.1.2).
Multi-Constraint Optimization of Adversarial Suffix
- Semantic regularization objective: To balance attack effectiveness and language fluency, optimize the objective function on the proxy model:
xn+1:n+H⋆ = argminxn+1:n+H Ladv + λ · Lsem where L_adv is the negative log-likelihood loss guiding the model to output the target response, L_sem is the negative log-likelihood language model loss of the suffix in context, and the weight coefficient balances attack strength and naturalness (Section 5.2).
- Vocabulary constraint and parallel update: Restrict candidate tokens to a semantic vocabulary excluding unpronounceable words; at each position, filter top-k (k=256) candidates and construct a Cartesian product candidate set, combined with simulated annealing strategy to evaluate proposals, batch size set to 64, optimize for 500 rounds (Sections 5.2.1, 5.2.2, 6.1.5).
- Distortion perturbation injection during optimization: In offline optimization, convert the template and candidate suffix to speech, apply noise perturbation to simulate channel deviation, then transcribe back to text, forcing loss computation on the recovered text to improve robustness against unknown channel distortions (Section 5.2.3).
Acoustic Channel Modeling and Near-Ultrasonic Signal Generation
- Nonlinear transfer matrix measurement: Send stepped baseband test single-frequency signals in the 0 to 5 kHz range, modulated by 17–22 kHz single-sideband, played by commercial speakers and received by microphones; perform 1024-point FFT on steady-state signals, compute the empirical transfer matrix from baseband input to output frequency bands, and average to obtain the transfer matrix (Section 5.3.1).
- Regularized channel inversion pre-compensation: To address instability in inverting the microphone's nonlinear response, solve the pre-compensation spectrum via regularized least squares:
Wattack = argminX | M̄nl X − Wtarget |22 + λ | X |22 This compensates the target speech spectrum W_target while suppressing noise amplification and high-frequency harmonic leakage, enhancing cross-device performance (Section 5.3.2).
- Near-ultrasonic carrier modulation: Apply inverse short-time Fourier transform (ISTFT) to the compensated spectrum, use Hilbert transform-based single-sideband (SSB) modulation to shift to the 17–22 kHz near-ultrasonic band, and apply Tukey window to suppress spectral leakage (Section 5.3.3).
What experiments did the paper conduct?
The evaluation covers 9 models, achieving an NR of 0.940 on commercial models, remaining stable across different distances, angles, noises, and devices, and being indistinguishable to the human ear.
Experimental Setup
- Tested models: Open-source instruction models Meta-Llama-3.1-8B-Instruct, Gemma-3-4B, Qwen2.5-7B-Instruct, Mistral-7B-Instruct-v0.3 (all also used as proxy and target); commercial models DeepSeek (Non-Thinking Mode), GLM-4-Air, Grok-4; end-to-end audio models GLM-4-Voice, Qwen-Omni-Turbo (Section 6.1.2).
- Test benchmark and scale: AdvBench harmful behavior subset, selecting 50 curated representative prompts to evaluate attack effectiveness (Section 6.1.1).
- Comparison baselines: GCG, IGCG, PAIR, Auto-DAN, all evaluated under the same voice transmission path and time limits (Section 6.1.3).
- Evaluation metrics: StrongREJECT's non-refusal rate (NR) and specific persuasiveness score (SC), normalized to [0, 1]; word error rate (WER) to evaluate transcription fidelity (Section 6.1.4).
- Review method: GPT-4o-mini used as automatic judge model, scoring based on a prompt with three dimensions: refusal, specificity, persuasiveness (Section 6.1.4, Appendix C).
- Physical deployment settings: Default playback device HiVi M200MKIII+ speaker, recording device iPhone 14 Pro, distance 1 meter, angle 0°, ambient noise 36–38 dB, TTS uses Alibaba Cloud Lucy voice (Section 6.1.6).
Main Results
Under default physical settings, with LLaMA-3.1-8B-Instruct as proxy model, attack performance on different text target models is compared as follows:
Swipe horizontally to read the table
Target model Auto-DAN NR Auto-DAN SC SWhisper NR SWhisper SC LLaMA-3.1-8B (target is proxy) 0.300 0.298 0.960 0.945 Gemma-3-4B 0.400 0.193 0.620 0.435 Qwen2.5-7B 0.680 0.638 1.000 0.935 Mistral-7B 0.880 0.835 0.960 0.943 DeepSeek 0.680 0.638 0.780 0.745 GLM-4-Air 0.560 0.555 0.920 0.885 Grok-4 0.660 0.658 0.780 0.733 Note: Data from Table 1. The table compares the strongest baseline Auto-DAN with SWhisper.
- Black-box transfer performance: SWhisper achieves the best performance on most target models and transfers effectively to black-box commercial models, e.g., reaching 0.920 NR and 0.885 SC on GLM-4-Air (Table 1).
- White-box vs black-box gap: There is a large white-box vs black-box gap on LLaMA-3.1-8B (white-box NR/SC is 0.960/0.945, while the best from other proxies transferring to this model is 0.580/0.578) (Table 1).
- Baseline performance comparison: GCG and IGCG are almost completely ineffective after conversion to speech, with NR and SC mostly near 0; Auto-DAN is the strongest baseline but performs weakly on LLaMA-3.1-8B and Gemma-3-4B; on DeepSeek, Auto-DAN with Gemma-3-4B as proxy (NR/SC 0.820/0.820) slightly exceeds SWhisper's results (0.780/0.745) (Table 1).
End-to-End Audio Model Evaluation
- Evaluation objects and settings: For GLM-4-Voice and Qwen-Omni-Turbo that directly process raw audio, cross-modal transfer evaluation is conducted using text model LLaMA-3.1-8B-Instruct as proxy (Table 2).
- Experimental values: On GLM-4-Voice, SWhisper's NR reaches 0.980 and SC reaches 0.813, exceeding Auto-DAN by 0.240 and 0.270 respectively; on Qwen-Omni, SWhisper's NR is 0.580 and SC is 0.503, higher than Auto-DAN's 0.520 and 0.475 (Table 2).
- Author interpretation: The authors believe this demonstrates the effectiveness of cross-modal transfer from text proxy to native audio architectures (Section 6.2.2).
Real Physical and Acoustic Environment Performance
- Environmental noise and human voice interference: With 50dB and 60dB interference added in four scenarios (office, park, restaurant, street), SWhisper's NR on Grok-4 remains between 0.720–0.780, and SC between 0.693–0.723 (Table 3).
- Attack distance and angle variation: When distance increases from 1m to 4m, NR only slightly decreases from 0.780 to 0.760, SC remains around 0.730 (Figure 5); when angle increases from 0° to 90°, NR/SC gradually decreases from 0.780/0.733 to 0.700/0.690 (Figure 6).
- Different recording device tests: On HIKVISION microphone, Redmi Note 12, and iPhone 14 Pro, NR/SC are 0.780/0.715, 0.680/0.635, and 0.780/0.733 respectively (Figure 7).
Human Auditory Covertness Experiment
- ABX test setup: Recruited 32 subjects (21 male, 11 female, ages 21–63), under five background sounds (quiet, office, restaurant, park, street), played at approximately 70 dB sound level, judging whether test samples are pure background or audio mixed with near-ultrasonic signals (Section 6.5).
- Statistical test results: Two-sided exact binomial test shows average recognition accuracy across scenarios is 0.475–0.525, with p-values all ≥ 0.516, subjects' discrimination performance is not statistically different from chance level (Table 4).
- Subjective rating results: On a 5-point Likert scale (5 = completely indistinguishable), average perception scores across environments are all between 4.920–4.995 (Table 4).
Other Ablations and Analyses
- Removing adversarial suffix: On Grok-4, NR drops from 0.780 to 0.740, SC from 0.733 to 0.703 (Section 6.4, Figure 8).
- Removing structured template: On Grok-4, NR drops to 0.178, SC to 0.169 (Section 6.4, Figure 8).
- Removing semantic regularization: On Grok-4, NR drops to 0.660, SC to 0.645 (Section 6.4, Figure 8).
- Word error rate analysis: GCG and IGCG have WER generally above 0.75 after transcription, while SWhisper maintains the lowest WER across all proxy models (Figure 4).
- Pure text attack comparison: In a pure text setting without voice conversion, SWhisper and Auto-DAN maintain relatively consistent performance across models (Table 10).
What are some points that can be further explored?
The authors point out limitations including the lack of environmental adaptation in the channel model, generic rather than customized templates, and suffix optimization not explicitly designed for cross-model transfer.
Limitations and Future Directions Noted by the Authors
- Channel modeling relies on static averages: The current system relies on average transfer functions across devices and environments. The authors note that future work could incorporate adaptive or environment-aware channel modeling to handle dynamic acoustic changes (Section 7.2).
- Prompt templates lack task customization: The current design uses structured but generic templates. The authors note that exploring context-aware or task-specific templates could improve generalization (Section 7.2).
- Suffix optimization does not explicitly consider transferability: Current optimization focuses on speech compatibility and semantic fidelity. The authors note that introducing transfer-aware objectives or multi-model joint optimization could further improve black-box effectiveness (Section 7.2).
Experimental Coverage
- Tested model scope: Experiments tested 4 open-source text models (Meta-Llama-3.1-8B-Instruct, Gemma-3-4B, Qwen2.5-7B-Instruct, Mistral-7B-Instruct-v0.3), 3 commercial models (DeepSeek non-thinking mode, GLM-4-Air, Grok-4), and 2 end-to-end audio models (GLM-4-Voice, Qwen-Omni-Turbo) (Section 6.1.2).
- Dataset and test scale: Evaluation uses 50 curated harmful behavior prompts from AdvBench; speech synthesis uses Alibaba Cloud female voice Lucy (Sections 6.1.1, 6.1.6).
- Acoustic hardware and environment coverage: Playback device tested HiVi M200MKIII+ speaker; recording devices tested iPhone 14 Pro, Redmi Note 12, and HIKVISION-DS-VM1 microphone; test distances cover 1m to 4m, angles cover 0° to 90°, background noise covers 4 scene types and 50dB/60dB sound levels (Sections 6.1.6, 6.3).
- Defense mechanism analysis scope: Defense discussion only covers signal-layer detection based on feature tracking and envelope correlation, and text-layer defense based on LLM review (Section 7.1).
- Unreported information: The paper does not report attack performance in non-English languages, does not report attack performance in multi-turn interaction scenarios, and the main experiments do not report statistical variance or standard deviation across repeated runs (Sections 6.1, 6.2).
Summarize the main content of the paper
Proposes a software-hardware combined near-ultrasonic covert jailbreak framework, achieving high-success-rate black-box attacks against voice LLMs on commercial devices and human inaudibility.
- Research positioning: SWhisper is an end-to-end framework for physical-layer covert prompt injection and jailbreaking of speech-driven large language models in black-box settings using commercial speakers and microphones.
- Core challenge and approach: To address the strict duration limits of speech interfaces and physical acoustic propagation with microphone nonlinear distortion, it adopts a co-design combining text-layer speech-adapted jailbreak prompt generation with acoustic-layer near-ultrasonic channel-inversion precompensation.
- Key methodological mechanisms: At the text layer, it optimizes compact templates containing rule-based instructions and semantically constrained suffixes under parallel search and channel perturbation simulation; at the acoustic layer, it compensates for microphone nonlinearity by measuring the empirical transfer matrix and solving a regularized inverse problem, then modulates to 17–22 kHz near-ultrasonic transmission.
- Main experimental results: On the commercial model GLM-4-Air, it achieves a non-refusal rate (NR) of 0.940 and a specific persuasion score (SC) of 0.925 (Table 1); on the end-to-end audio model GLM-4-Voice, NR reaches 0.980 and SC reaches 0.813 (Table 2); attack performance remains stable at distances of 1–4 meters and under various noises (Table 3, Figure 5).
- Covertness evidence: An ABX listening experiment with 32 participants shows that the average discrimination accuracy between near-ultrasonic injected audio and pure background audio is close to chance level (p ≥ 0.516), and the mean subjective rating is above 4.92 (out of 5), confirming its covertness to human hearing (Table 4).
- Authors' conclusions and implications: The authors note that the interaction between hardware nonlinearity and model alignment flaws opens a new physical-layer vulnerability surface; relying solely on microphone front-end filtering or text-level defenses is insufficient to defend against such attacks, and future voice agents need a coordinated defense system spanning both the physical and semantic layers.
Related papers
- Where Does the Audio Jailbreak Live? A Controlled Frequency-Depth Audit of AdvWave-P on Qwen2-AudioAnalysis / interpretabilityarXiv