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.
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.
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.
- 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.
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.
- 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.
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.
- 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.
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.
- 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.
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.
- 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.
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.
- 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.
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.
- 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.
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.