Agent Systems · Advanced · about 30 min
LLM-as-a-Judge Bypass
Sneak policy-violating content past an LLM moderator even though a deterministic checker rejects it.
What you practise
Defeat a moderation or judge layer without obvious payloads. You run the attack yourself on a live model in a private sandbox set up for you, then capture the flag. Nothing to install and no API key.
Adversarial gaps between semantic and syntactic checks
Defense-in-depth assumes layers complement each other. But when one layer judges meaning and another judges syntax, the gap between them is exploitable: anything that's syntactically present but semantically reframed slips through both. This is the same shape as polymorphic malware bypassing AV (signature vs behavior), and it's why LLM-as-a-judge for safety needs adversarial co-training, not just a second LLM with a stricter prompt.
Where this has happened
- Anthropic 'Best-of-N' jailbreaking (2024): Anthropic researchers showed that sampling many slightly-reformatted versions of a harmful prompt reliably finds one that bypasses the judge, directly analogous to this lab's framing attack.
- GPT-4 / Llama-Guard bypass research (2023-2024): Multiple papers (Zou et al., Wei et al.) demonstrated LLM judges fooled by adversarial suffixes and benign reframing, while the underlying content remained literally harmful.
- Constitutional AI red-teaming (2022-2024): Anthropic's published red-team findings repeatedly show LLM judges making context-dependent calls that miss content a string-matcher would catch instantly, and vice versa.
Sign in to launch this lab Learn the theory in the Academy
More Agent Systems labs
- Agentic Email Attack: Social engineer an email AI agent into forwarding confidential data.
- Tool Definition Poisoning: Poison dynamic tool metadata so the agent violates its own restricted-tool rules.
- Multi-Agent Chain Attack: Exploit the trust boundary between a planning agent and an execution agent.
- LLM Authorization Bypass: Bypass role-based access controls enforced by an LLM gatekeeper.
- Markdown Image Exfiltration: Exfiltrate data via LLM-generated markdown images rendered in the browser.
Catalog
Attack labs
20 hands-on scenarios across 4 tracks. Pick a target, launch a private sandbox, capture the flag.
Sessions
Active sessions
Resume a running lab or stop it before starting the next one.