RunbookCard Fraud AnalysisJan – Dec 2017 · 254,224 labeled
Analytical brief · Fraud Ops & Risk Strategy

One-third of all fraud sits in three places — and one control halves the risk.

46 merchants, the $2–$5 micro-transaction band, and cards with a prior authorization in the last hour. Signed transactions run at 4.5% fraud versus 10.6% unsigned.

Fraud rate9.47%of labeled transactions
Confirmed fraud24,080of 254,224 labeled · 72,781 pending
Holdout AUC0.764XGBoost · 5-fold 0.759 ± 0.003
Signature effect2.3×protection when signed

Every figure is read from the data when the page loads, by a Vercel Function pinned to Sydney (syd1) next to it. Vercel bills the CPU only while code runs, so a page nobody is viewing costs nothing.

Finding 01Investigations

46 merchants hold 11% of all fraud

A Node function on Vercel's Fluid compute runs a native analytics engine (DuckDB) over the data, so this finding is queried when the page loads, not pasted in.

81.9%fraud at the worst merchant, across 83 transactions
Why
Sustained fraud above ~25% over hundreds of transactions isn't organic — it signals a compromised terminal, a cloned POS, or a complicit operator.
Do this
Hand the top-10 merchant IDs to Investigations this week; route their traffic to secondary review.
Top 10 merchants, n ≥ 50fraud rate
d8ccfbe91b
81.9%
318c1d6957
49.0%
e93df2c7cc
48.1%
629e6f07c9
48.0%
9e84cda3b1
41.0%
3111c6df35
40.6%
445742726b
38.7%
52d3026407
38.2%
6f274b9340
36.5%
fc7d7969c3
36.2%
Dashed line = 9.47% baseline. All ten run 4–9× over it.
Finding 02Rules Engine

The $2–$5 band is a card-testing signature

A rule like this ships as a pull request: a private preview, required checks, and a rollback in seconds if it fires wrongly.

47.9%fraud in the $2–$5 band — ~4× the $5–$10 band
Why
Card testers use amounts small enough to dodge threshold rules. Combined with velocity ≥ 1/h the rate hits 77.9%.
Do this
Deploy amount < $5 AND velocity_1h ≥ 1 → step-up auth. 127 flags in the labeled year at 78% precision.
Fraud rate by amount bandfraud rate
$2–$5
47.9%
$5–$10
12.1%
$10–$20
8.1%
$20–$50
7.6%
$50–$100
8.1%
$100–$250
9.0%
$250–$500
10.3%
$500–$1k
11.2%
$1k+
16.9%
The U-shape: a spike at $2–$5, a second arm at $1k+ where tested cards are cashed out.
Finding 03Rules Engine

One prior authorization in the hour more than doubles risk

The question behind this chapter goes through one AI Gateway integration, so any approved model can answer it with no key stored in the project.

2.5×9.1% → 22.9% with a single prior txn in the last hour
Why
The operational break is at the first repeat, not at 5 or 10. Waiting for v1h ≥ 5 misses 95% of the opportunity.
Do this
Soft-flag ≥ 1 prior-hour transactions into elevated scoring — escalate when paired with any other signal.
Prior transactions in last hourfraud rate
0 prior · n=248,340
9.1%
1 prior · n=5,596
22.9%
2 prior · n=243
45.3%
3 prior · n=28
67.9%
4+ prior · n=17
76.5%
Rate climbs monotonically; tail groups (3, 4+) are under 30 rows each.
Finding 04Fraud Ops

A high-risk five, then a low-risk tail

Every preview of this page sits behind Deployment Protection, so nobody outside the team opens a change before it ships. Production is open here for sharing; one setting puts it behind the same login.

14.0%luxury goods vs 1.0% for restaurant/dining
Why
Fungible, online-deliverable goods are where a stolen card yields the most per test. Low-risk sectors are B2B or identity-locked.
Do this
Route luxury goods and consumer electronics to elevated scoring; de-prioritise flights, restaurants, beauty in review queues.
Top 5 vs bottom 5 subsectorsfraud rate
luxury goods
14.0%
consumer electronics
12.2%
internet
12.0%
insurance
11.2%
gas
10.7%
restaurant/dining
1.0%
beauty & personal care
0.9%
semiconductors
0.9%
flights
0.8%
advertising services
0.6%
The spread is 13.4 points across 38 subsectors.
Finding 05Channels / POS

Signature capture is the highest-leverage control

The figures in this chapter are checked against the source data on every change. Vercel's Deployment Checks hold the production build until those required checks pass.

2.3×unsigned 10.6% vs signed 4.5%
Why
81% of transactions carry no signature. SHAP ranks it #3 — the model leans on it across interactions.
Do this
Audit the unsigned baseline; find signable-but-unsigned channels and fix capture with POS engineering.
Signature providedfraud rate
Unsigned · 81%
10.6%
Signed · 19%
4.5%
206,229 unsigned vs 47,995 signed transactions.
Finding 06Risk Strategy

The 65+ segment is protected

When someone asks this chapter's question, the model, time and cost land in AI Gateway logs, per project: the AI inventory for that answer, generated.

5.8%fraud for 65+ vs 9.5% baseline
Why
Likely spending mix — fewer online, high-risk-sector purchases — not intrinsic resistance.
Do this
No direct action. Calibrate age-conditioned thresholds: a 12% flag on a 65+ customer is a stronger signal.
Fraud rate by age bucketfraud rate
<25
10.9%
25–34
10.4%
35–49
10.3%
50–64
10.0%
65+
5.8%
Near-flat until a sharp drop at 65+.
Finding 07Rules Engine

Impossible-travel flagging is spurious here

The function runs in Sydney next to the data. The model call is the one hop that can leave Australia, because AI Gateway offers US and EU regions only, so classify the data first.

7.7%fraud when flagged — below baseline
Why
Card and merchant coordinates are static registry fields; online purchases trigger '1,500 km in 3 minutes'.
Do this
Deprecate as a rule; reframe as 'registration distance'. Real detection needs device/IP geolocation.
impossible_travel_flagfraud rate
Not flagged
9.5%
Flagged · 4,306
7.7%
An inverse signal — the flag marks slightly safer traffic.
What the model adds

A usable risk score, capped by missing signals.

Transaction-only XGBoost reaches AUC 0.764. The gap to production-grade (0.85–0.90) is device fingerprint, IP and 3DS outcome — not in this dataset.