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

Manuscript Offprint

arXiv:2610.17820

Same Attack, Different Judge: A First Controlled Adversarial Comparison of Jev, LLM Judges, and Purpose-Built Safety Classifiers

Xiang Li, Aichun Huang, Mingming Zhang, Zheli Liu

Abstract

TypeSafe AI's JEV is a new kind of safety judge. It generates no text and no label: it answers questions the developer defines in advance and returns a probability for each answer. The vendor admits that adversarial input can change these answers but gives no numbers. In this paper, we present the first controlled adversarial evaluation of JEV. We build a test harness that sends every system the same payload under the same policy, and run it on four public-data tasks, from rule-based ones (input moderation, injection detection, routing) to a judgment-based one (phishing detection), with fifty attack variants from thirteen families. The targets are JEV, five GPT and GLM judges, and two local classifiers (Llama Guard 3, Prompt Guard 2). We find that JEV is the most robust system on input moderation: eight forgeries of its structured input bypass none of its decisions, and a sentence asking only why someone might make a harmful request bypasses 9% of its blocks, against 56% for GPT-6 Astra. On phishing detection. However, the same forgeries bypass 19–29% of the emails it flags, and even without attack JEV detects only 62% of phishing emails, against 77–81% for the GLM judges. JEV is also the fastest judge, but it flags the most benign requests (27%). The local classifiers fail differently: a training-example statement makes Llama Guard 3 miss 62% of the phishing it had flagged. These results suggest that JEV resists attacks on tasks with a clear rule to check but is more exposed on tasks that call for an overall judgment.

1 Introduction

Applications built on large language models (LLMs) need a component that decides whether an input is harmful, injected, or safe to pass on. Three kinds of systems make this decision. LLM judges prompt a general-purpose model to grade the input in free text [37]. Purpose-built classifiers are trained for filtering alone and output one label from a fixed taxonomy, as in OpenAI's moderation system [15] and Meta's Llama Guard [12, 14]. TypeSafe AI's JEV is a third kind, a typed, non-generative judge. It produces no text: the caller defines questions in advance, each with a fixed answer space, and JEV returns a probability for every answer [27, 30]. A question is a yes/no Noul, a Choice among up to 255 options, or a Score on 2–10 ordered levels (§2). The vendor presents JEV as a fast, low-cost judge that can sit in front of every request.

Prior work. All three designs face the same threat: attacker-controlled text, such as a tool return, a document, an email, or a user message, reaches the decision layer and tries to move its verdict [7]. Prior work studies this threat against agents with benchmarks [4, 34, 36], tool-selection attacks [23, 25], and adaptive optimizers that break defenses static attacks miss [10, 35], but always against a decision layer that generates text. JEV's documentation states that adversarial content can change its answers but reports no measurement [29], and its guardrails cookbook claims that "ignore your instructions" is classified as a jailbreak attempt rather than obeyed [28]. Two concurrent studies test JEV under attack, Wu and Lim on InjecAgent cases rebuilt as Choice decisions [32] and JevAdvBench on 9,744 single-edit variants [11], but both test JEV alone. It is therefore unclear whether routing safety decisions through JEV instead of an LLM judge makes them more robust, less robust, or no different.

Our study. We build a test harness (Figure 1) that holds the input, the policy, and the metrics fixed across systems, so that any difference we measure comes from the judge. It runs eight systems: JEV jev-1.13.0, five LLM judges (GPT-6 Astra, GPT-5.6 Sol, GLM-5.3, GLM-5.2, and GLM-5.1), and two open-weight classifiers that we run locally, Llama Guard 3 [12] and Llama Prompt Guard 2 [16]. It covers four tasks on public data: input moderation on JailbreakBench [1], indirect-injection detection on InjecAgent [36], tool and intent routing rebuilt from the same cases, and phishing detection on a public email corpus [13]. The first three are rule-based: the label depends on whether the text matches a listed hazard or instruction. Phishing detection is judgment-based: no single cue decides it, and a judge must weigh sender, links, urgency, and tone together. Thirteen attack families with fifty variants produce the payloads, each judge receives the same payload in its own input format ( §3§3), and the vendor’s strict policy turns every judge’s probabilities into one of four actions ( §4§4). We compare every attack effect with how often a judge changes its own answer on a repeated clean input ( §5.2§5.2).

Research questions. We ask four research questions.

• RQ1: Comparative robustness. Under the same attacks, is JEV’s attack success rate lower than that of the LLM judges and the purpose-built classifiers asked the same questions? ( §6§6)

• RQ2: Attacks on JEV’s interface. Do the features only JEV has (a structured JSON state, several questions per call, reported probabilities) give an attacker something to aim at that a prompt-based judge does not? ( §7§7)

• RQ3: Confident wrong verdicts. Can an attack get a harmful input passed while JEV still reports high confidence, so that the verdict escapes escalation to human review? ( §8.1§8.1)

• RQ4: Speed versus security. JEV is much faster and cheaper than the LLM judges. Does that advantage come with weaker robustness or more false positives? ( §8.2§8.2)

Our findings. We find that JEV’s robustness depends on the task. On input moderation, direct injection and self-justification (A1, A2) bypass at most 6% of any system’s blocks, and telling the judge to ignore its question works on none, as the cookbook claims ( §6.1§6.1). None of the eight forgeries of JEV’s structured input bypasses a block, and attacking one of its questions moves its other answers by only 0.01–0.04 ( §7.1§7.1, §7.1§7.1). Adding one sentence that asks only why someone might make a harmful request, for a teaching slide, bypasses 56% and 54% of the GPT judges’ blocks against 9% of JEV’s, although passing such a message is not necessarily a mistake ( §6.2§6.2).

On phishing detection the result reverses. Without attack, JEV detects 62% of phishing emails, below the 77–81% of the GLM judges. The forgeries that fail on input moderation now work: a forged moderation verdict gets 19% of the phishing emails JEV flags through, a forged verdict from an upstream moderation service 24%, and both together 29% ( §6.4§6.4, §7.2§7.2). A forged field works when it states a verdict on the content, not when it only claims authority. The largest effect in the study is not on JEV: a bare training-example statement makes Llama Guard 3 miss 62% of the phishing it had flagged, while the same statement makes Prompt Guard 2 flag more injections, so being purpose-built does not by itself make a classifier robust ( §9§9).

On the operational questions, A5a loosens 19 of the 79 requests JEV flags, but the 7 that reach pass all carry low confidence, so a confidence threshold sends them to human review (RQ3). JEV returns a decision in 0.7 seconds against 4 to 24 for the LLM judges, and an adaptive search runs about eight times faster against it; the search succeeds on 5 of 50 requests against JEV and 11 of 50 against GPT-6 Astra, a gap that could be chance. The cost of this speed is false alarms: JEV flags 27% of benign requests, against 9–17% for the LLM judges (RQ4).

Contributions. This paper makes the following contributions.

• A comparative harness and the first controlled comparison. One harness holds payload, policy, and metrics fixed across typed, LLM, and purpose-built judges, which lets us compare the three designs directly ( §4§4, §5§5).

• Evidence that robustness depends on the task. The same forgeries never bypass JEV on input moderation but bypass 19–29% of the phishing emails it flags. We report results per task, which shows where JEV is robust and where it is not ( §7.2§7.2).

• An attack set of thirteen families and fifty variants, nine families aimed at JEV’s interface, evaluated at n=100 per condition with bootstrap confidence intervals and against each judge’s own rate of changing its answer ( §4.3§4.3, §5.2§5.2).

• A result on purpose-built classifiers. A training-example statement makes Llama Guard 3 miss 62% of the phishing it flags, the highest attack success rate in the study, while the same statement makes Prompt Guard 2 more suspicious. Being purpose-built does not by itself make a classifier robust ( §7.2§7.2, §9§9).

References (32)