Lion Cipher Lab

Add an adversarial verifier subagent to a noisy alert pipeline — a second agent whose only job is to disprove the first — then measure the false positives it removes AND the real intrusions it wrongly kills

Why it matters

Your detection rule fires 263 times on a 900-alert day. Sixty-five of those are real; 198 are the backup agent running an encoded PowerShell command at three in the morning, exactly as it has every night for two years. A precision of 0.247 is not a broken rule — it is an ORDINARY rule, and it is why alert fatigue is the SOC's oldest occupational disease: an analyst who has been wrong about a hundred and ninety-eight cases in a row does not read the hundred and ninety-ninth as carefully as the first. The fashionable fix is a second agent. Not another detector — a VERIFIER, an adversarial…

What you'll learn

Steps in this lab

  1. The words first: subagent, verifier, false positive, confusion matrix, precision, recall, correlated failure
  2. Open a terminal and make a scratch folder (all three operating systems)
  3. Generate the labelled corpus: 900 alerts whose truth you already know
  4. Both agents are DETERMINISTIC STUBS — read this before you paste it
  5. The scorer: a confusion matrix, and the three ratios that come out of it
  6. Stage one alone: 263 findings, 65 of them real, and an analyst with a bad afternoon
  7. Stage two: a verifier whose only job is to disprove
  8. The bodies: name the eleven real intrusions your verifier dismissed
  9. Sweep the strictness knob and plot the precision/recall curve
  10. The trap: a verifier that shares the finder's blind spot rubber-stamps everything
  11. The fix is different EVIDENCE, not a different prompt — and you can measure how different
  12. Price it: cost, latency, and the precision you actually bought per unit of work
  13. When a verifier is the WRONG tool: fix the finder instead
  14. The way a pro does it differently
  15. What you built, what it cost, and the one thing to change first

Open the full interactive lab →