Hi everyone, I am Rishabh. I work on fraud detection in production ML, and I kept hitting the same wall: everyone claims their LLM catches fraud, but nobody agrees on how to test that claim. Benchmarks built for chat or coding do not cover the world I live in: account takeovers, synthetic identities, refund scams, and the cases that hurt most in production, the legitimate users your model wrongly flags.
So I built fraud-eval, an open benchmark for evaluating LLM-based fraud and abuse detectors.
What is in v0.1.0:
Curated attack packs: account takeover (4 cases), phishing lures (5), synthetic identity (4), refund scams (4), plus benign hard cases (3). 20 cases total, 13 fraud and 7 benign.
Cost-aware metrics, because in fraud a false positive and a false negative do not cost the same.
A counterfactual evaluation module for selective and delayed labels, the label problem that quietly corrupts most fraud evals.
The honest part: this is a smoke test, not a statistically powered benchmark. One case moves a pack rate by 20 to 33 points, and a simple keyword baseline averages just 5% detection across the packs, so there is real headroom here. I would rather ship a small honest benchmark than a big unverified one, and the full case set follows once it is verified.
If you run a detector against it, I genuinely want your numbers, especially where it fails. Tell me which packs break and why, and I will fold that into the next version.
The sharpest upgrade for a 20-case set is to score pairs, not cases: give every fraud case a benign twin that differs only in the one signal that case is testing, and count a hit only when both sides are called right — flagging both or neither means the detector never used that signal at all. With packs of three to five, one case already swings a pack rate by 20 to 33 points, so per-pair results with the flipped signal named would show exactly which signal each detector relies on, where a pack percentage only shows that something moved.
nootxlm, this is exactly the kind of comment I was hoping for. Thank you.
You are right, and you put your finger on the weakest part of the current scoring: with packs this small, a pack percentage hides as much as it shows. One case flipping moves a pack 20 to 33 points, and the reader learns that something moved but not what the detector actually used.
I love the twin idea. Scoring pairs instead of cases, with the flipped signal named in the result, turns every pack into a small experiment: did the detector use this signal, ignore it, or lean on something else entirely? That is a much sharper claim than a percentage, and it is directly buildable: each fraud case gets a benign twin that differs only in the signal under test, and a hit counts only when both sides are called right.
This is going on the roadmap for the pack expansion. Pair scoring is not in v0.1.0 yet, so I will not pretend it already exists. It is the next thing to build, and the per-pair table is the output format I want.
Quick question for you: if you were picking one pack to twin first, which would it be? Account takeover is my instinct, since it has the cleanest single-signal flips, but I am curious what you would choose.
Phishing first — not because its flips look cleanest, but because its ground truth actually flips with that one signal: keep the message identical and change only where the link goes, and a legitimate notice becomes a lure, with the true destination checkable independently of the text. Account takeover can wait — a new device or a new location alone makes a login neither legitimate nor fraudulent, so a twin built on one of those can punish a detector for weighing signals together, which is the right behaviour there. Run the phishing pairs first: a detector that flags both twins or neither has shown, cleanly, that it read the words and never checked the destination.
Your ground-truth point is the deciding one: keep the message identical and change only where the link goes, and a legitimate notice becomes a lure, with the true destination checkable independently of the text. That is a clean flip, and a detector that flags both twins or neither has shown it read the words and never checked the destination.
You are also right about account takeover, and it changes my instinct. A new device or location alone makes a login neither legitimate nor fraudulent, so a twin built on one of those could punish a detector for weighing signals together, which is the right behaviour there. That pack needs more careful twin design, so it waits.
Phishing pairs go first in the pack expansion, with the per-pair table and the flipped signal named in the result. Thanks for the sharp reasoning, this is exactly what I needed to order the work.
For the account-takeover pack, a pair may be the wrong unit. Since no single signal decides it, I’d score the detector against a small policy table instead: vary device, geo and velocity as a 2x2x2 grid on one base session, write down the expected verdict for each cell, and check whether the detector’s decisions are monotonic. Adding a risk signal should never lower the score. That catches inversions a pair can’t. Also run each case five times at fixed settings and report how many flip. With 20 cases, an unstable verdict on a few of them will move your pack percentages as much as a model change does.
You’re right, a pair is the wrong unit for account takeover. A grid is better, it shows whether the detector actually gets stricter as risk adds up, and running each case five times tells me if a verdict is even stable before I trust the numbers. Both go on the list, thanks.