Exposing the Systematic Vulnerability of Open-Weight Models to Prefill Attacks
Lukas Struppek, Adam Gleave, Kellin Pelrine

TL;DR
This paper systematically investigates prefill attacks on open-weight language models, revealing a widespread vulnerability that poses significant risks and highlights the need for improved defenses.
Contribution
It is the first large-scale empirical study of prefill attacks, evaluating over 20 strategies across multiple open-weight models, demonstrating their effectiveness and exposing a critical security gap.
Findings
Prefill attacks are highly effective against all tested models.
Large reasoning models show some robustness but remain vulnerable to tailored attacks.
The study emphasizes the urgent need for defenses against prefill vulnerabilities.
Abstract
As the capabilities of large language models continue to advance, so does their potential for misuse. While closed-source models typically rely on external defenses, open-weight models must primarily depend on internal safeguards to mitigate harmful behavior. Prior red-teaming research has largely focused on input-based jailbreaking and parameter-level manipulations. However, open-weight models also natively support prefilling, which allows an attacker to predefine initial response tokens before generation begins. Despite its potential, this attack vector has received little systematic attention. We present the largest empirical study to date of prefill attacks, evaluating over 20 existing and novel strategies across multiple model families and state-of-the-art open-weight models. Our results show that prefill attacks are consistently effective against all major contemporary open-weight…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Topic Modeling · Explainable Artificial Intelligence (XAI)
