Risk and privacy
Fraud gate
Two systems look at every payment. Overflow's gate judges the session before a payment form is shown. Stripe Radar judges the card when the buyer pays. They see different things, so they catch different fraud.
Before either of them, the buyer's browser has to solve a small proof-of-work puzzle, which judges nothing and only puts a small computing cost on every attempt.
The gate
When a buyer opens a checkout, Overflow scores what it can see about their browser and network. Each signal adds points and the total, from 0 to 100, decides what happens next.
| Score | Verdict | What the buyer gets |
|---|---|---|
| below 30 | Allow | The normal payment form. |
| 30 to 69 | 3D Secure | The payment form, with their bank's 3D Secure check forced on the card. |
| 70 and up | Block | A message that the payment can't go through. No payment is attempted. |
Both thresholds are yours to change under Settings → Fraud gate thresholds.
Why the middle step matters
A VPN is not fraud. Plenty of honest buyers use one, and blocking them costs you sales. So one doubtful signal on its own never blocks. It sends the buyer through 3D Secure, where their own bank confirms it is really them.
That check also protects you. When a payment passes 3D Secure, a later "I didn't make this payment" chargeback is normally the card issuer's loss and not yours.
Blocking is kept for sessions where several signals stack up, or one is damning by itself.
Signals
From the request
| Signal | Points | Meaning |
|---|---|---|
automation_ua | 60 | The user agent belongs to a script or headless browser. |
no_user_agent | 40 | The request has no user agent. |
no_accept_language | 15 | No language header. Real browsers always send one. |
From the network
| Signal | Points | Meaning |
|---|---|---|
tor | 70 | The address is a Tor exit node. |
datacenter | 35 | A hosting, VPN or proxy company's network, not a home or mobile connection. |
abuser | 25 | The address is on an abuse list. |
tz_mismatch | 15 | The browser's timezone doesn't fit where the address is. |
Overflow checks every address itself, against public lists it downloads and keeps on its own server. No buyer's address is sent to anyone for this :
- Tor : the Tor Project's exit list, every hour.
- Datacenter : which network owns the address, from iptoasn.com, against a list of hosting, VPN and proxy companies' networks, bad-asn-list. Most VPNs run on those networks, so they show up here.
- Abuse : FireHOL level 1, ranges known for attacks and botnets, including Spamhaus DROP.
The lists are refreshed daily. tz_mismatch needs to know where the address is, which comes from the proxy in front of Overflow when it says so.
When a signal can't be checked, because a list isn't loaded yet, it is skipped and adds no points. Overflow never guesses. The payment's timeline shows which lists were checked and which network the buyer came from.
From the browser
| Signal | Points | Meaning |
|---|---|---|
webdriver | 50 | The browser says it is being driven by automation. |
ua_mismatch | 25 | The browser and the request disagree about the user agent. |
fake_chrome | 20 | It claims to be Chrome and lacks Chrome's internals. |
no_screen | 20 | No usable screen size. |
no_languages | 15 | The browser lists no languages. |
These come from the buyer's own machine, so a skilled attacker can fake a clean result. That is why they only ever add points and never remove them.
From behaviour
| Signal | Points | Meaning |
|---|---|---|
card_testing | 60 | Six or more failed payments from this device or its address today. |
velocity_high | 50 | More than 15 checkouts opened from this device today. |
failed_payments | 30 | Three or more failed payments from this device or its address today. |
velocity | 20 | More than 5 checkouts opened from this device today. |
"Device" here is a hash of the address and user agent with a secret that changes every day. It can count repeats within a day and can't follow anyone beyond it. Failed payments are also counted for the address alone, so a script that changes its user agent on every try still adds up. Privacy has the details.
Proof of work
One step comes before the gate: the buyer's browser has to solve a small puzzle. It starts by itself when the checkout opens, so there is nothing to click. It usually takes a fraction of a second, and a few seconds when the session looks risky.
The puzzle is a proof of work: the browser searches for numbers that make a SHA-256 hash start with a set number of zero bits. Finding them takes many tries. Checking them takes Overflow a moment. A request without a valid answer is refused as a failed browser check, before the gate scores the buyer and before Stripe is contacted.
- It gets harder with risk. To set the difficulty, Overflow takes a first look at what it can tell before the browser reports anything: the request itself, the address checks above, and behaviour such as a run of failed payments. A session those would send to 3D Secure gets a harder puzzle, and one they would block gets the hardest. The starting difficulty is the same for every store and is set by the person who runs Overflow.
- The difficulty is checked twice. When the answer comes back, Overflow works out again how hard the puzzle should have been for the request that carries it. An answer to an easier puzzle is refused and the checkout fetches a new one, so asking politely and answering as something else doesn't help.
- An answer can't be reused. Each puzzle is tied to one checkout, works once and expires after five minutes.
- Sign-in and sign-up use it too. On Overflow's own account pages it gets harder after repeated failed sign-ins or invalid invite codes from one address.
- A flood gets the hardest puzzle. An address that asks for more than 60 puzzles in a minute is handed the hardest one until it slows down.
What it buys is a small cost on every attempt. A buyer pays it each time the checkout loads and hardly notices. A script can't skip it: without a solved puzzle no checkout opens and no password is tried, and a client that looks scripted or keeps failing gets a puzzle that is 8 or 64 times the work.
That thins out bulk abuse. It does not stop card testing by itself. A program written for the purpose solves the easiest puzzle in a few thousandths of a second, and once a payment form is open, trying another card on it needs no new puzzle. It doesn't identify anybody either. So it decides nothing: the gate, Stripe Radar and 3D Secure do. Privacy says what it keeps.
Stripe Radar
Every card payment is scored by Radar using what Stripe sees across its whole network: the card's history, the device, and thousands of other signals. Radar blocks the payments it rates highest risk on its own.
Overflow records Radar's result on each payment as risk.radar_level: normal, elevated or highest. You see it next to the gate's verdict in the dashboard, in the API and in webhooks.
Radar runs on the platform's Stripe account, so its rules are managed there by the person who runs Overflow, not from your dashboard. The gate's verdict and score are attached to every payment in Stripe as gate_verdict and gate_score, so Radar rules can take them into account.
Early fraud warnings
Sometimes a card issuer tells Stripe a payment was fraud before the cardholder disputes it. Overflow adds the warning to the payment's timeline and sends a payment.fraud_warning webhook.
Refunding at that point usually avoids the dispute and its fee. You can do it by hand, or turn on Refund automatically when a card issuer sends an early fraud warning in Settings. Overflow then refunds the rest of the payment whenever Stripe marks a warning as actionable. It is off by default because a refund can't be undone.
Test the gate
Open a checkout with a browser that a script drives, such as headless Chrome under Playwright, and it is blocked. The user agent and the automation flag give it away.
The checkout stays blocked after that, so use one you don't need. Then look at the payment in the dashboard to see each signal and its points.
A bare command-line request never reaches the gate. It carries no solved puzzle, so the proof of work refuses it and the checkout stays open:
curl -X POST https://overflowpay.net/api/pay/co_.../start
# {"error":{"code":"pow_failed","message":"the browser check did not pass, try again"}}What it can't do
- It won't stop a careful human fraudster with a clean browser, a residential connection and a stolen card. Radar and 3D Secure are the defence there.
- It can't prevent "friendly fraud", where a real buyer pays and disputes anyway. Evidence is how you win those.
- A shared address, such as an office or a mobile carrier, can reach the velocity limits honestly. Those signals lead to 3D Secure long before they block.