Skip to main content
LLM Security Database
Skip to research details
Back to research findings
LMVD-ID: 2d357252
Paper published March 1, 2025
Entry analyzed March 19, 2025
Paper-reported evidence
Confidence: Source-linked

The LMVD-ID is an internal research identifier, not an official CVE identifier.

LLM Judge Adversarial Vulnerability

Large Language Model (LLM) safety judges exhibit vulnerability to adversarial attacks and stylistic prompt modifications, leading to increased false negative rates (FNR) and decreased accuracy in classifying harmful…

BibTeX citation

Paper-evaluated models(7)

Atla Selene Mini 8B, Llama 2 13B, Llama 3.1 8B +4 more
  • Atla Selene Mini 8B
  • Llama 2 13B
  • Llama 3.1 8B
  • Llama Guard 3 8B
  • Mistral 7B
  • ShieldGemma 9B
  • WildGuard

Description

Large Language Model (LLM) safety judges exhibit vulnerability to adversarial attacks and stylistic prompt modifications, leading to increased false negative rates (FNR) and decreased accuracy in classifying harmful model outputs. Minor stylistic changes to model outputs, such as altering the formatting or tone, can significantly impact a judge's classification, while direct adversarial modifications to the generated text can fool judges into misclassifying even 100% of harmful generations as safe. This vulnerability impacts the reliability of LLM safety evaluations used in offline benchmarking, automated red-teaming, and online guardrails.

Examples

  • Stylistic Modification: Using a storytelling style for model outputs increased the FNR of HarmBench by 0.24, ShieldGemma by 0.20, and WildGuard by 0.12, even though human annotators maintained near-perfect agreement with the original harmfulness labels. (See paper for specific examples and prompt engineering techniques).

  • Adversarial Output Modification: The "Prepend+Append Benign" attack caused WildGuard's FNR to reach 1.0 (100% false negatives), completely fooling the judge. (See paper for examples of the attack prompts.

Impact

Compromised reliability of LLM safety evaluations. Attacks can bypass safety mechanisms, allowing harmful content to be generated and deployed. This weakens the security of systems reliant on these judges. A false sense of security may be created due to low attack success rates in limited, non-adversarial test environments.

Affected Systems

LLM safety judges, specifically HarmBench, WildGuard, ShieldGemma, LLaMA Guard 3, and other LLMs used for safety evaluation as demonstrated in the paper. This likely affects other similar systems.

Mitigation Steps

  • Robust Meta-Evaluation: Conduct comprehensive meta-evaluations that include out-of-distribution data and adversarial attacks targeting the judge model.
  • Diverse Training Data: Train safety judges on a wider variety of stylistic output formats and adversarial examples.
  • Ensemble Methods: Employ ensemble methods to combine the results of multiple safety judges to reduce the reliance on a single judge's potentially flawed assessment.
  • Input and Output Sanitization: Consider using input sanitization techniques and/or output verification methods to mitigate the impact of adversarial attacks.
  • Continuous Monitoring: Implement ongoing monitoring and evaluation of LLM safety judges to detect and address emerging vulnerabilities.

Research context and confidence

Evidence and verification
Paper-reported; independent reproduction is not documented.
Primary research source linked.
Severity
Not rated by this catalog.
Source and publication type
arXiv · Research preprint.
Peer-review status is not provided by this source.
Author and publication status
Author metadata is not stored; see the primary paper.
Threat model and attacker access
Black-box model, service, or application access.
Related deployment categories
No related deployment category is classified.
Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
Affected systems
LLM safety judges, specifically HarmBench, WildGuard, ShieldGemma, LLaMA Guard 3, and other LLMs used for safety evaluation as demonstrated in the paper. This likely affects other similar systems.

Research Paper

Know Thy Judge: On the Robustness Meta-Evaluation of LLM Safety Judges

Primary source: arXiv. Findings are reported by the cited research and have not been independently verified.

View Paper

Evidence

This entry is based on a primary research source. Its findings are paper-reported; independent reproduction and verification are not claimed.

https://arxiv.org/abs/2503.04474