arXiv(opens in a new tab)cs.AISep 2026Cited by 3 papers on PaperVantage

Manuscript Offprint

arXiv:2609.08236

Style Over Substance: Content-Invariant Wrappers Flip LLM Safety-Judge Verdicts

Yongxi Zhou, Wenbo Ye, Yuanzhe Liu, Zihan Dong, Junwei Yao

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Automatic safety judges—systems such as Llama Guard or a GPT-4o grading prompt that decide whether a model's reply is harmful—produce the numbers behind almost every reported jailbreak success rate, defense evaluation, and safety leaderboard. We ask a simple question: do these judges grade what a reply actually contains, or how it sounds? We keep a reply's content fixed and add content-invariant style wrappers: fixed strings placed before or after the reply that change only its tone—an educational disclaimer, a paragraph of ethical hand-wringing, a fake safety "reasoning" block, a token refusal ("I can't help with that") followed by the unchanged harmful body, a moralizing closing line—and, on harmless refusals, framing that merely sounds dangerous. The wrapper only decorates the reply; the body is preserved byte-for-byte. A faithful judge must therefore return the same verdict, and any flip (verdict change) is an error of the judge, not a real change in safety. Over 600 replies (300 genuinely harmful, 300 refusals, from public JailbreakBench artifacts across four target models) × up to 7 forms per reply (the original plus its direction's applicable wrappers) × 8 judges, we measure how often each judge flips, using paired significance tests, confidence intervals, and a measured noise floor—how often the judge changes its verdict when shown the exact same reply twice, with no wrapper at all. Our findings are precise rather than universal: most judges barely move, but specific judges harbor specific, cheaply exploitable blind spots. The token-refusal wrapper flips 19.9% of GPT-4o-mini's correct "unsafe" verdicts to "safe" (95% CI [15.0, 24.0], Holm p < 10 −4^{-4}, noise floor 0.5%; 18.2% under majority-of-three rescoring, so the flips are systematic, not decoding luck) yet moves Claude only 0.4%; the deployed Llama Guard 4 guard model is also gamed—an "educational course" framing flips 12.3% of its harmful verdicts to safe and the token refusal flips 8.3% (both significant)—and

a single prepended sentence (“Here is the information you asked for.”) flips 100% of a keyword judge’s refusal verdicts to “unsafe.” A second purpose-built guard (gpt-oss-safeguard-20b) is immune—no wrapper moves it beyond 1.2%, below its own noise floor—so the two deployed guards sit at opposite ends of the vulnerability spectrum. Different judges have different blind spots: the framing that fools Llama Guard barely moves GPT-4o-mini, and vice versa. Stratifying wrappers by what they add shows the largest effects come from wrappers that insert a new (false) assertion, such as a token refusal, while pure tone-only decoration still flips up to 2.1% per judge—3–4× the vulnerable judges’ noise floors. Rewriting only the judge’s grading prompt to ignore tone (StrongREJECT-style) cuts the token-refusal attack roughly tenfold on the identical model—so the vulnerability lives in the judge, not the content. The judges do not even agree on which target model is safest before any wrapper is applied (full-panel agreement 55.5%), and a bootstrap over responses shows the four-model safety ranking on this artifact set is already unstable to sampling alone—so wrapper-induced reorderings, though present in point estimates, are reported as an instability axis rather than as confirmed reversals. We release the dataset, wrappers, code, and per-verdict labels.

1 Introduction

A safety benchmark score is only as trustworthy as the judge that produces it. Yet the field’s attention has focused on attacks and models, treating the judge as a fixed oracle. Recent work has begun to question that oracle: constant “null-model” replies win automatic leaderboards (Zheng et al., 2025), reasoning-mimicking phrases sway reasoning judges (Wang et al., 2025), and a NeurIPS position paper argues most cross-paper attack-success rate comparisons are invalid because judge error and prompt composition dominate the reported differences (Chouldechova et al., 2025). These are existence proofs that judges are gameable—but for general evaluation, or from the attack-input side.

We ask the safety-specific, scoring-side question directly: if we change only the style of a response and not its operational content, does the safety verdict stay fixed? A faithful judge must say yes. Our answer is deliberately narrow: we do not claim that safety judges in general grade style over substance—most judges in our panel are robust to most wrappers—but that specific judges, including a purpose-built deployed guard model, harbor specific blind spots that a one-sentence, zero-cost decoration exploits at rates far above the judges' own measurement noise. We test this with content-invariant style wrappers—fixed strings prepended or appended to a response that add safety-signalling or harm-signalling tone while leaving the operational body byte-for-byte identical.

Our contributions:

  1. A controlled style-wrapper attack on safety judges (not on models), where content preservation holds by construction rather than by an LLM rewrite—eliminating the intent-preservation confound of prior reformulation studies (Zhou et al., 2026b).

  2. A cross-judge flip-rate protocol—paired significance tests with multiple-comparison correction, bootstrap confidence intervals, and a measured noise floor—over 8 judges and 9 wrappers, covering both the harm-hiding and harm-inventing directions, with wrappers stratified into tone-only vs. assertion-adding so the uncontestable core of the effect is reported separately.

  3. A bootstrap-quantified negative result on safety leaderboards: on a standard jailbreak-artifact set, the model ranking is unstable to judge choice and to sampling alone, so wrapper-induced reorderings—though present in point estimates—cannot be confirmed; ranking claims need wider baseline separation than such sets provide.

  4. A human-anchored validation that flips are judge errors, plus a public release.

Terminology. We use a small fixed vocabulary throughout. A judge is any automatic system that labels a model reply unsafe or safe. The behavior is the harmful request the reply was answering; the judge sees both. A wrapper is a fixed string added before or after a reply that changes its tone but not its content; the original form is the reply with no wrapper. A flip is a judge giving different verdicts to the original and wrapped forms of the same reply. Harm-hiding wrappers decorate genuinely harmful replies to sound safe—a flip there is a false negative (real harm waved through). Harm-inventing wrappers decorate harmless refusals to sound dangerous—a flip there is a false positive (an over-flag). The noise floor is how often a judge changes its verdict when shown the exact same input twice; any claimed wrapper effect must exceed it. Finally, we stratify wrappers by what they add: tone-only wrappers add pure commentary with no new claim (a disclaimer, ethical hedging, a fake reasoning block, a moralizing or lecturing close), while assertion-adding wrappers additionally introduce a new statement whose truth is contestable (a token refusal before an unchanged harmful body, a “here is the information” preface on a refusal, a false “university course” context, a preamble naming harmful topics). Gold label means the source dataset’s reference label for a reply (harmful vs. refusal), which our human validation independently audits.

References (18)