How to stop fake account creation

Intermediate4 min readUpdated

GET /learn/fake-accounts/how-to-stop-fake-account-creation/ Accept text/html text/markdown

Short answer

Stop fake accounts with layers at signup: an invisible bot check and rate limits on the signup endpoint, email and phone checks, device and network signals, and velocity counts per device, subnet and email domain. Add friction only for risky signups, and hold back bonuses, messaging and payouts until a new account has shown normal behaviour.

Fake accounts arrive in two shapes. Bulk registrations are scripted, fast and repetitive, and they fail simple bot checks. Hand-made accounts come from people running several identities, from account farms or from real browsers driven by tools, and they pass bot checks by design. A signup flow needs controls for both, and a second line of checks at the moment an account first gets something of value.

What should the signup endpoint check?

Start with the controls that stop scripts, since they cost real users nothing.

  • An invisible bot check before the form posts, such as a JavaScript challenge, and a check on the server that its token is present and valid. A signup request that arrives without the page ever loading is scripted.
  • A hidden form field that people never fill, as described in honeypots for bot detection.
  • Rate limits per IP address on the signup route. This nginx example allows five signup requests per minute per IP with a small burst, as a starting point:
nginx
limit_req_zone $binary_remote_addr zone=signup:10m rate=5r/m;

server {
    server_name shop.example;

    location = /api/signup {
        limit_req zone=signup burst=3 nodelay;
        limit_req_status 429;
        proxy_pass http://app_backend;
    }
}

limit_req_zone belongs in the http block, and app_backend stands for your own upstream. Per-IP limits do little against residential proxies, where every request comes from a new address, so also count by /24 subnet, by ASN (the network operator) and by device. Rate limiting for bots covers what limits miss.

How do you check the email and phone?

The email address tells you whether the person can be reached later. Reject addresses whose domain cannot receive mail, give disposable inbox domains a high risk score, and compute a normalised linking key so anna.k+1@gmail.com and annak@gmail.com count as one person. Disposable email detection covers how to do this without blocking privacy relay users.

Phone verification raises the cost of each account, because a phone number is harder to get than an email address. It also has a price per message, and attackers can abuse an open OTP endpoint to send messages to premium-rate numbers, which is SMS pumping. Ask for a phone number only when the signup is already risky, look up the line type, and limit how many codes a session, number and country prefix can request.

Which velocity counts catch account farms?

Count signups over short windows on every attribute you can group by: device fingerprint, IP, /24, ASN, email domain, email linking key pattern, phone prefix and referral code. A rare email domain that suddenly appears many times in an hour is a strong sign. This query, for PostgreSQL, lists domains with an unusual burst:

sql
SELECT split_part(lower(email), '@', 2) AS domain,
       COUNT(*) AS signups_last_hour
FROM users
WHERE created_at >= NOW() - INTERVAL '1 hour'
GROUP BY 1
HAVING COUNT(*) >= 20
ORDER BY signups_last_hour DESC;

Large providers such as gmail.com will always pass a fixed threshold, so compare each domain with its own usual hourly count and alert on the change. The threshold of 20 is a starting point for a mid-sized site.

How much friction should a new account face?

Score each signup from the signals above and pick the response from the score.

  • Low risk. Create the account with no extra step.
  • Medium risk. Create the account but require email confirmation before any reward, or a phone check, or a visible challenge.
  • High risk. Block the signup, or create the account in a restricted state that a person reviews.

Most fake accounts exist to collect something. Hold back what they want until the account has a short normal history: delay signup credit until the first real order, limit messages and listings from new accounts, and keep referral rewards pending until the referred account has paid. This makes bulk accounts worthless even when some pass signup. Kairal's guide to stopping coordinated fake account creation covers accounts prepared early and activated later, which a check on signup volume alone misses.

What should you watch after signup?

Some farms create accounts and leave them for weeks so they look aged before use. Watch for groups of old, inactive accounts that wake up together, change their email or password in the same hour, or claim the same promotion. Link accounts through shared devices, cards and addresses, as described in how to detect multi-accounting, and apply limits to the whole cluster.

Tools that help

StopBots is published by Kairal, which is one of the tools listed. The list is not a ranking.

  • Cloudflare Turnstile: a free challenge that usually runs without a puzzle, enough for a small site's signup form.
  • Twilio Verify: sends and checks one-time codes by SMS, voice and email, which fits phone checks for medium-risk signups.
  • Kairal: protection per endpoint for signup and login, with device, network and behavioural signals, invisible challenges instead of puzzles, and a preview mode to see decisions before blocking.
  • Arkose Labs: challenge-based protection aimed at large platforms facing high-volume account creation attacks.
  • SEON: email, phone and IP checks with rule-based scoring for onboarding flows.

Common questions

Why are fake accounts created?

Mostly to collect something given per account (signup credit, trials, referral rewards), to send spam or scams from accounts that look new and clean, to post fake reviews, or to sell aged accounts to others. Each motive points to a different moment to check, such as signup for spam and first reward claim for promo abuse.

Can machine learning detect fake accounts?

Yes, a model trained on labelled past signups can score new ones, and large platforms do this. A small site gets most of the benefit from simple rules and velocity counts first, because a model needs reliable labels, and those come from reviewing the accounts the rules flag.

Are fake accounts illegal?

Creating an account under a false name is usually a breach of the platform's terms, not a crime by itself. Using fake accounts to defraud, impersonate a real person or harass others can be an offence, depending on the jurisdiction, so a platform's direct remedy is closing the accounts and reporting serious cases to the authorities.