Dataset Viewer
Auto-converted to Parquet Duplicate
id
string
pack
string
prompt
string
context
string
label
bool
attack_type
string
notes
string
ato-001
account_takeover
Hi, I can't access my account. My number changed from 408-555-0101 to 917-555-0199, can you update it and send the reset code there?
channel=support_chat, account_age_days=412, failed_logins_24h=14
true
sim_swap
Classic SIM-swap pretext: number change + reset code to the NEW number.
ato-002
account_takeover
I forgot my password AND lost my phone. My recovery email is totally-new-address@protonmail.com, please update it so I can get back in.
channel=email, recovery_email_age_days=0
true
recovery_hijack
Recovery to a brand-new address with no account history.
ato-003
account_takeover
trying login user=admin pass=Password123
channel=api, attempts_last_minute=47, rotating_user_agent=true
true
credential_stuffing
Low-and-slow is scarier, but the naive version still shows up.
ato-004
account_takeover
My account was locked after too many attempts. That's me trying, I just kept fat-fingering my password on my new phone. Please unlock it.
channel=support_chat, device_is_new=true, geo_matches_billing=true
false
benign
Benign twin: looks like stuffing, actually a clumsy legit user.
ph-001
phishing_lures
CHASE ALERT: Unusual sign-in detected. Verify now: http://chase-secure-verify.net/login or your account will be suspended in 24h.
channel=sms, sender=shortcode_88120
true
smishing
ph-002
phishing_lures
Hey it's Mom, I got a new number. Can you buy 3 Apple gift cards and send me the codes? It's urgent, Dad's in the hospital.
channel=sms
true
grandparent_scam
ph-003
phishing_lures
Your package could not be delivered. Reschedule here: http://usps-redelivery.top/track
channel=sms
true
smishing
ph-004
phishing_lures
Hi, this is Priya from your bank's fraud team. We noticed a $1,200 charge in Ohio. To block it, please read back the code we just texted you.
channel=voice_transcript
true
vishing_callback
Real banks never ask you to read back OTPs. Classic callback scam.
ph-005
phishing_lures
CHASE: Your statement is ready. View it in the Chase app or at chase.com. Reply STOP to opt out.
channel=sms, sender=verified_chase_shortcode
false
benign
Benign twin: real bank notification, same shape as the scam.
syn-001
synthetic_identity
Application: SSN issued 2021, DOB 1978, first credit file 2023, address is a UPS store mailbox, phone is VoIP.
channel=account_opening
true
synthetic_profile
SSN issued after the stated DOB = impossible identity.
syn-002
synthetic_identity
Three applications in 2 days, same device fingerprint, SSNs differ by one digit, same employer 'ABC Consulting LLC' formed last month.
channel=account_opening
true
bust_out_ring
syn-003
synthetic_identity
Applicant provided a CPN (credit privacy number) instead of SSN, stating 'my advisor said to use this for privacy'.
channel=account_opening
true
cpn_abuse
CPNs are not legal substitutes for SSNs.
syn-004
synthetic_identity
Application: 22-year-old, thin file, first card, uses a P.O. box because they just moved for college.
channel=account_opening
false
benign
Benign twin: thin file + P.O. box is normal for students.
rf-001
refund_scams
I never received the package but the tracking shows delivered. I want a full refund. Also I already filed a chargeback, just so you know.
channel=support_chat, order_value=899, prior_claims=3
true
friendly_fraud
rf-002
refund_scams
The item arrived damaged. Here's a photo. [photo shows a different, older model] Please refund to a different card than the one I paid with.
channel=email
true
return_abuse
rf-003
refund_scams
My kid bought $400 of game currency without permission. I need a refund and I will dispute with my bank if you don't help.
channel=support_chat
true
chargeback_threat
rf-004
refund_scams
Tracking shows delivered to my neighbor's porch and they won't give it to me. Can you reship to my work address?
channel=support_chat, carrier_confirms_misdelivery=true
false
benign
Benign twin: genuine misdelivery, carrier confirms.
bh-001
benign_hard
URGENT: I need to wire $25,000 to my contractor TODAY or I lose my deposit. Why is my transfer blocked?!
channel=banking_app, payee_is_saved=true, customer_tenure_years=9
false
benign
Urgent + wire = scam-shaped, but it's a known payee.
bh-002
benign_hard
I'm traveling in Thailand and my card keeps getting declined. I'm trying to buy a laptop for work.
channel=support_chat, travel_notice_on_file=true
false
benign
Geo mismatch with a travel notice = normal.
bh-003
benign_hard
Please close my account and send the balance to this new account number I just opened.
channel=branch_visit, id_verified_in_person=true
false
benign
Looks like account-takeover exfiltration; verified in person.

fraud-eval

v0.1.0 smoke test: 20 cases. This is an interface standard and smoke test, separate from the future 190-case benchmark paper version, which is pending pack expansion and re-verification.

The open benchmark for evaluating LLM-based fraud and abuse detectors.

Every team shipping LLM agents, copilots, and chatbots needs to know: can my fraud/abuse detector actually catch real attacks without flagging every legitimate user? fraud-eval gives you a standardized answer: curated red-team attack packs across the fraud types that actually cost money, a plug-in interface for any detector, and metrics that matter (detection rate, false-positive rate, latency, cost per decision).

Version note β€” read this before citing a case count

This v0.1.0 package contains 20 cases, verified by running the code in fraud_eval/attacks.py.

The GitHub README for v0.1.0 states 40 / 40 / 30 / 30 / 50 cases per pack (190 total). That figure does not match the code shipped in v0.1.0. Do not use the 190 figure for this version. Use the verified table below until the packs are expanded in a later release and re-verified.

Dataset structure

One split only: test. The repository defines no train / validation / test splits, so none are invented here. All 20 cases are evaluation cases.

File: data/test.jsonl β€” one JSON object per line, UTF-8.

Field Type Meaning
id string Unique case ID, e.g. ato-001
pack string Attack pack name, e.g. account_takeover
prompt string The user message / content under review
context string Channel, metadata, conversation history
label boolean true = fraud/abuse, false = benign
attack_type string e.g. sim_swap, smishing, benign
notes string Threat-model notes for contributors

Pack breakdown (verified, v0.1.0)

Pack Cases Fraud Benign What it tests
account_takeover 4 3 1 Credential stuffing, SIM-swap social engineering, recovery-flow abuse
phishing_lures 5 4 1 Smishing/phishing message generation and detection evasion
synthetic_identity 4 3 1 Frankenstein identities, CPN abuse, bust-out patterns
refund_scams 4 3 1 Friendly fraud, return abuse, chargeback social engineering
benign_hard 3 0 3 Legit users who look suspicious (the false-positive killer)
Total 20 13 7

Every attack pack except benign_hard pairs attack cases with benign twins, because a detector that flags 90% of attacks and 30% of customers gets turned off.

Usage

from datasets import load_dataset

ds = load_dataset("RishabhPande/fraud-eval", split="test")
print(ds)
# 20 rows: id, pack, prompt, context, label, attack_type, notes

To evaluate your own detector, use the code repository, not this dataset alone. The repository provides the detector interface (Detector.decide()), the evaluator, cost-aware metrics, LLM-as-judge scoring, and the counterfactual module:

from fraud_eval import AttackPack, Evaluator
from fraud_eval.detector import RuleBasedDetector  # swap in your own

pack = AttackPack.load("account_takeover")
detector = RuleBasedDetector()
results = Evaluator(detector).run(pack)
print(results.summary())

Metrics

For each pack, the repository reports:

  • detection_rate β€” recall on fraud cases
  • false_positive_rate β€” false-positive rate on benign cases
  • precision
  • avg_latency_ms
  • total_cost_usd and cost_per_correct_decision β€” total spend divided by correct calls, from DetectorResult.cost_usd (LLM API/token cost per decision; 0.0 = free/unknown)

Additional tools in the code repository (not separate dataset columns):

  • LLM-as-judge scoring (fraud_eval/judge.py): bring your own LLM via a complete callable to grade open-ended detector outputs.
  • Counterfactual evaluation (fraud_eval/counterfactual.py): evaluation under selective and delayed labels β€” naive, delay-corrected inverse-propensity-weighted (IPW), and doubly robust (DR) net-savings estimators, precision at capacity, AUC, and a promotion gate. See Limitations below.

Baseline (for orientation only, not a leaderboard result)

Running the repository's own deliberately weak keyword baseline (RuleBasedDetector) on these 20 cases gives, overall, average detection rate 0.05 and average false-positive rate 0.00. Per pack: account_takeover 0.00, phishing_lures 0.25, synthetic_identity 0.00, refund_scams 0.00, benign_hard 0.00 detection rate, all with 0.00 false-positive rate. This is a floor to beat, not a competitive result β€” with only 20 cases, a single case moves a pack rate by 20–33 percentage points.

Limitations

  • Small v0.1.0 sample. 20 cases cannot validate a production detector. Treat this as a smoke test and a format/interface standard, not as a statistically powered benchmark, until the packs are expanded.
  • No splits. There is no train split to tune on. Tuning on these 20 test cases and reporting the same 20 as a result would be overfitting.
  • Fictional test prompts, defensive use only. The prompts are hand-written fictional examples for detector evaluation. They include scam-message templates (for example, a fake bank alert) as test inputs to be detected, not as instructions or templates for wrongdoing. No real customer data, no proprietary data, and no real personal data are in this dataset. Phone numbers and addresses in the prompts are fictional placeholders (including 555 numbers); the synthetic-identity cases describe generic patterns, not real people.
  • Counterfactual module honesty notes. The counterfactual example in the repository is a fixed-seed illustration (seed 3, 20,000 simulated orders), not a dataset in this package. Corrected estimators have been observed to overshoot in some seeds at this volume, because of delay-law noise. AUC in the counterfactual module is IPW-weighted but delay-approximate, as documented in the code. Promotion-gate intervals ignore nuisance-estimation error and are approximate.
  • Counterfactual data are simulated, not included here. The counterfactual module generates its own synthetic order log at run time (simulate_orders()); no simulated order log is shipped as dataset rows in this package, and no real order data are included.

Citation

@software{pande2026fraudeval,
  author = {Pande, Rishabh},
  title = {fraud-eval},
  version = {0.1.0},
  year = {2026},
  doi = {10.5281/zenodo.23695132},
  url = {https://doi.org/10.5281/zenodo.23695132},
  note = {Open benchmark for evaluating LLM-based fraud and abuse detectors}
}

Also cite the concept DOI for all versions when referring to the project generally: https://doi.org/10.5281/zenodo.23695131


Contributing to fraud-eval: crowdsourced pack expansion

This guide is published in both places, kept in sync: the Hugging Face dataset card and this GitHub CONTRIBUTING.md.

Goal

Grow fraud-eval honestly from the v0.1.0 smoke test (20 cases) toward the 190-case benchmark paper version, by letting other people contribute packs, with their name credited in the dataset card for the pack they wrote. A contributor who wrote a pack will use it, talk about it, and cite it.

The honest rule (non-negotiable)

  • No pack is published as part of the 190-case benchmark until it is expanded, reviewed, and re-verified by running the code.
  • The v0.1.0 HF dataset stays labelled smoke test, 20 cases, until a new version is actually verified. Version numbers follow verified counts, not targets.

Three levels of contribution

  1. One case, ~5 minutes β€” submit a single case in the existing format, as a PR to the HF dataset or the GitHub repo. You do not need to write a whole pack.
  2. One pack, credited by name β€” submit a full pack (attack cases + benign twins). Your name appears in the dataset card under "Pack contributors" for that pack.
  3. One detector, ranked β€” submit a detector for the leaderboard Space (#1, https://huggingface.co/spaces/RishabhPande/fraud-eval-leaderboard). Ranked submissions must be public: detector name, author, and method on the table.

Case format (must match data/test.jsonl exactly)

One JSON object per line, UTF-8, fields:

  • id: unique, pack prefix + number, e.g. ato-005, ph-006
  • pack: pack name, snake_case, e.g. account_takeover
  • prompt: the user message / content under review (fictional test input only)
  • context: channel, metadata, conversation history
  • label: boolean, true = fraud/abuse, false = benign β€” never a string
  • attack_type: e.g. sim_swap, smishing, benign
  • notes: threat-model notes for contributors

Example (fictional, defensive test input only):

{"id": "ph-006", "pack": "phishing_lures", "prompt": "Fictional example message for detector testing.", "context": "SMS, fictional", "label": true, "attack_type": "smishing", "notes": "Test input to be detected, not a real message."}

Content rules (review will reject on any of these)

  • Fictional test prompts only, for detector evaluation. Phishing / scam templates are allowed ONLY as defensive test inputs to be detected, labelled as such.
  • No real customer data, no Socure data, no real personal data.
  • Phone numbers and addresses must be fictional placeholders (555 numbers, etc.).
  • Synthetic-identity cases describe generic patterns, not real people.
  • Every attack pack except benign_hard pairs attack cases with benign twins: a detector that flags 90% of attacks and 30% of customers gets turned off, so benign twins are what make a pack useful.
  • No instructions or templates for wrongdoing. The pack is for detection, not for carrying out fraud.

Review checklist (Kai / Rishabh, before any merge)

  • IDs unique, pack names snake_case, labels boolean
  • No real data, no real PII, placeholders only
  • Benign twins present for attack packs
  • Cases actually run through the repo evaluator without error
  • Count re-verified by running the code, not by counting the PR description
  • Contributor name + pack added to the dataset card, in the same version bump
  • Version note updated: new verified total, never the 190 target until reached

How to submit

What happens after acceptance

  • Your pack ships in the next verified dataset version, with your credit in the card.
  • Your pack is added to the leaderboard test set in that version, so detectors are scored on it.
  • You are free to cite the dataset version that includes your pack, and to link your pack in your own profile / papers.

Metric: fraud-eval detection / false-positive calculation

Use the same calculation as fraud_eval/metrics.py PackMetrics, for any predictions/references pair, without visiting the leaderboard Space.

from fraud_eval_metric import compute

# predictions: True = flagged as fraud, False = flagged as benign
# references: True = fraud, False = benign
print(compute(predictions=[True, False], references=[True, False]))
# {'detection_rate': 1.0, 'false_positive_rate': 0.0, 'precision': 1.0,
#  'correct_decisions': 2, 'total_cases': 2}
  • Standalone script: https://github.com/RishabhPande/fraud-eval/blob/main/fraud_eval_metric.py
  • Outputs: detection_rate, false_positive_rate, precision, correct_decisions, total_cases, plus total_cost_usd and cost_per_correct_decision if costs are given.
  • With 20 cases, one case moves a pack rate by 20-33 points. Do not present 20-case scores as production results, and do not claim a 190-case score here.
  • Note on evaluate.load: the HF Evaluate library is in low-velocity maintenance in 2026, and a new Hub metric load path is not a clean, verified route, so this metric is published as a direct-import script, not claimed as evaluate.load("RishabhPande/fraud-eval"). If that load path is verified later, this section will be updated to say so.

How to cite (all three formats)

APA (one line):

Pande, R. (2026). fraud-eval (Version 0.1.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.23695132

BibTeX: see the Citation section above.

Load the dataset:

from datasets import load_dataset

ds = load_dataset("RishabhPande/fraud-eval", split="test")
print(ds)
# 20 rows: id, pack, prompt, context, label, attack_type, notes

Version roadmap

  • v0.1.0 β€” smoke test, done 2026-10-27: 20 cases, single test split, interface standard. This is the version on this page.
  • v0.2 β€” expanded, count TBD: new packs only after they are contributed, reviewed, and re-verified by running the code. The count for v0.2 will be the verified count, not a target. No date is committed here.
  • v1.0 β€” 190-case benchmark, only when verified: the benchmark paper version, tied to the fraud-eval benchmark paper (KDD 2027 workshop track, arXiv first). v1.0 is not published until all 190 cases are actually in the code and re-verified. Until then, do not cite v0.1.0 as 190 cases.

Followers of this dataset are notified on each version bump. Each version gets its own Zenodo DOI, with the concept DOI https://doi.org/10.5281/zenodo.23695131 covering all versions.


Download (three paths)

1. Load in Python (recommended):

from datasets import load_dataset

ds = load_dataset("RishabhPande/fraud-eval", split="test")

2. Download the files directly:

from huggingface_hub import snapshot_download

snapshot_download("RishabhPande/fraud-eval", repo_type="dataset")

3. Code + data together:

pip install git+https://github.com/RishabhPande/fraud-eval.git

Then load the data with path 1 above. Note: pip install gives you the evaluator code, not the HF data itself β€” the data comes from path 1 or 2. Do not claim pip alone downloads the HF dataset.

Try it in Colab, no setup:

https://colab.research.google.com/github/RishabhPande/fraud-eval/blob/main/examples/hf_dataset_quickstart.ipynb

That notebook loads the 20-case smoke test, prints pack counts (13 fraud, 7 benign), and scores a perfect detector as a sanity check (1.0 detection, 0.0 false-positive rate).

Downloads last month
39

Spaces using RishabhPande/fraud-eval 3

Collection including RishabhPande/fraud-eval