arXiv:2610.42026cs.LGOct 2026

Manuscript Offprint

arXiv:2610.42026

GhostPrefix: Synchronization-Free Universal Prefix Attacks for ASR Manipulation

Shengding Liu, Ashwin Innuganti, Qiben Yan

Shengding Liu*, Ashwin Innuganti*, Qiben Yan†

Michigan State University

Abstract—We present GhostPrefix, the first synchronization-free, universal, general-purpose adversarial prefix attack against automatic speech recognition (ASR) systems. Unlike prior audio adversarial attacks, which are typically crafted per utterance, require tight synchronization with the victim waveform, and are often constrained to narrow, predefined objectives, GhostPrefix learns a short, reusable audio segment that is prepended to arbitrary live speech streams to exert general-purpose, real-time control over ASR outputs, without any knowledge of the future utterance and without temporal alignment. This prefix-at-the-boundary paradigm goes beyond existing perturbation designs and extends adversarial reach from isolated command classifiers to the downstream applications. However, it faces a critical challenge: the learned prefix must maintain stable adversarial effects across unknown and continuously evolving speech context. To address this, GhostPrefix adopts a unified optimization framework that combines both standard token-level loss functions and a novel representation-level objective to produce stable, input-agnostic adversarial effects across arbitrary speech. Within this framework, GhostPrefix supports three attack modes: (i) prompted prefix attacks for semantic steering, (ii) targeted prefix attacks for transcript hijacking, and (iii) untargeted prefix attacks for general transcription degradation. To remain perceptually inconspicuous, we regularize the adversarial prefixes toward benign environmental-sound distributions and further robustify them against over-the-air distortions. We evaluate GhostPrefix across 13 widely deployed open-sourced ASR models from 4 representative families. In digital settings, GhostPrefix achieves an average attack success rate of 97.6% for prompted semantic steering and 93.4% for targeted hijacking, while driving the word error rate to 1.18 under untargeted attacks. In over-the-air conditions, it sustains robust performance with success rates of 91.5% and 89.5% for prompted and targeted modes, respectively. The induced manipulations further propagate into downstream AI-assisted pipelines such as voice assistants and AI note-taking tools, causing systematic semantic misinterpretations. GhostPrefix exposes synchronization-free universal prefixes as a practical, under-explored threat to real-world ASR and the associated applications. Our artifacts and demos are available at https://ghostprefix.github.io/.

I. INTRODUCTION

Automatic speech recognition (ASR) has become a foundational component of modern intelligent audio systems, powering voice assistants, live captioning, meeting transcription, and a rapidly growing set of downstream applications such as question-answering chatbots and AI note-taking tools. Its central role makes ASR a high-value and increasingly exposed attack surface, motivating extensive research on the security and robustness of ASR systems under adversarial conditions.

Audio adversarial attacks have received particular attention because they require no specialized hardware or dedicated transmitters and can be launched with minimal setup. Early work [1], [2], [3], [4] demonstrated that small, carefully optimized perturbations can compromise ASR systems such as DeepSpeech [5] and LSTM-based ASR [6] into producing an attacker-chosen transcript. However, these attacks share three key limitations: each perturbation is crafted for a specific utterance, applied additively across the entire carrier signal, and synchronized with the victim waveform at the sample level. These assumptions all fail in realistic streaming settings, where the speech content and its precise timing are unknown at attack time.

Universal additive perturbations [7], [8] remove per-utterance optimization but still require superimposing the perturbation on the entire utterance. AdvPulse [9] introduces universal, synchronization-free sub-second perturbations that can be played at arbitrary times. Yet, it is evaluated only on specialized tasks, such as speaker recognition and 10-class command recognition, and targets a single predefined label. More recently, short universal prepend attacks against Whisper [10], [11] show that a sub-second segment prepended to any utterance can mute the model or override its task prompt without synchronization. However, such attack remains limited to a single hard-coded objective, relies on Whisper-specific tokens and architectural behaviors, is evaluated only in the digital domain, and does not generalize to open-vocabulary transcription.

To this end, it remains unclear whether a single design can enable synchronization-free, universal, multi-mode, over-the-air adversarial attacks across diverse ASR architectures. At the same time, modern ASR systems are increasingly converging around a small set of widely reused foundation backbones, making the transcription layer a high-value yet underexplored attack surface. Manipulations at this layer can propagate to downstream applications and trigger erroneous system behavior. Despite this risk, such threats remain largely overlooked for general-purpose, streaming ASR systems.

Designing such attacks presents three key challenges. First, synchronization-free deployment: in streaming settings, adversaries lack access to future utterances and cannot rely on precise temporal alignment with the victim signal, which limits the effectiveness of existing perturbation-based attacks. Second, general-purpose and multi-mode control: attacks must operate across diverse ASR architectures and support flexible objectives beyond single-task or fixed-label manipulation.

∗^{*}Shengding Liu and Ashwin Innuganti contributed equally to this work.

†^{\dagger}Corresponding author: Qiben Yan.

Figure

Fig. 1: Threat scenario for GHOSTPREFIX 's adversarial prefix attacks against streaming ASR.

Third, robustness under open-vocabulary, real-world conditions: the learned perturbation must maintain stable adversarial effects across unknown and continuously evolving speech content, heterogeneous decoder families, and over-the-air distortions, while remaining perceptually inconspicuous.

To address these challenges, we present GHOSTPREFIX, an adversarial prefix attack against ASR systems. First, to enable synchronization-free operation, GHOSTPREFIX adopts a prefix-at-the-boundary paradigm, in which a short, reusable audio prefix is concatenated at the input boundary of the streaming pipeline. As illustrated in Figure 1, this design exerts real-time control over ASR outputs without requiring temporal alignment or knowledge of future utterances, as the prefix remains structurally insensitive to the onset time and content of incoming speech. Second, to achieve general-purpose, multi-mode attack capability, GHOSTPREFIX employs a unified optimization framework and naturally supports three attack modes across diverse ASR architectures: (i) prompted prefix attacks, which prepend attacker-chosen semantic cues to steer transcription behavior; (ii) targeted prefix attacks, which force ASR outputs toward an attacker-specified transcript; and (iii) untargeted prefix attacks, which broadly degrade transcription quality. We combine standard token-level loss functions for prompted and targeted attacks with a novel representation-level objective that maximizes divergence in the ASR encoder's latent space for untargeted attacks. Third, to ensure robustness in open-vocabulary, real-world settings, GHOSTPREFIX incorporates robustness-oriented training strategies. Specifically, we adopt expectation-over-transformation (EOT) to model over-the-air distortions, and regularize the prefix toward benign environmental-sound templates, enabling it to remain both effective and perceptually inconspicuous. Table I contrasts GHOSTPREFIX with representative audio adversarial attacks along dimensions most relevant to streaming, general-purpose ASR.

We evaluate GHOSTPREFIX across 13 widely deployed open-sourced ASR models from 4 representative families, covering Connectionist Temporal Classification (CTC) [12], [5] and encoder-decoder [13], [14] architectures. In digital settings, GHOSTPREFIX achieves an average attack success rate of 97.6% (up to 100%) for prompted semantic steering and 93.4% for targeted hijacking, while driving the word error rate to 1.18 under untargeted attacks. Under over-the-air conditions, it sustains robust performance with success

rates of 91.5% and 89.5% for prompted and targeted modes, respectively. It remains effective on live human speech, including heterogeneous speakers and spontaneous conversations. Furthermore, we utilize two use cases (smart voice assistants and AI note-taking tools) to demonstrate that prefix-induced manipulations reliably propagate into ASR-driven downstream applications. Our artifacts and demos are available at https://ghostprefix.github.io/, and the source code is publicly released at https://anonymous.4open.science/r/GhostPrefix.

In summary, this paper makes the following contributions:

  • New attack: we present the first universal, synchronization-free adversarial prefix attack that operates across diverse ASR architectures eliminating the need for temporal alignment or knowledge of future speech in streaming settings.
  • New optimization framework: we introduce a unified optimization framework that enables general-purpose adversarial control under a single design, supporting prompted, targeted, and untargeted attack modes.
  • Over-the-air deployment: we design the attack to be both perceptually inconspicuous and physically robust by combining environmental-sound mimicking with robustness training, enabling reliable over-the-air attacks under realistic acoustic conditions.
  • Real-world impact: we conduct extensive experiments on 13 ASR models from 4 representative families under both digital and over-the-air settings, and demonstrate that prefix-induced manipulations propagate to downstream applications such as smart voice assistants and AI note-taking systems.

References (38)