Dev.to Security 🔐 Cybersecurity 👁 2 📖 3 min read

How to detect residential proxies when the IP looks clean

Short version If IPQS or MaxMind say “residential” and the mailbox looks aged, you can still be staring at a relay. Stop asking “is this IP bad?” Ask whether HTTP, DNS, and WebRTC tell the same story. The s

How to detect residential proxies when the IP looks clean

Residential proxy vs clean IP — FraudLens

Short version

If IPQS or MaxMind say “residential” and the mailbox looks aged, you can still be staring at a relay.

Stop asking “is this IP bad?”

Ask whether HTTP, DNS, and WebRTC tell the same story.

The standup that keeps happening

Tuesday standup. Growth is pissed. Risk is defensive.

Overnight: forty signups, each on a different “clean” Comcast / Vodafone exit. Lists said residential. Emails were boring Gmails. Two weeks later the chargebacks arrived anyway.

That’s the 2026 shape of signup abuse:

The address is real. The session isn’t coherent.

For a decade we got good at catching hosting ranges, Tor, and commercial VPNs. Attackers noticed. Proxy shops rebuilt around consumer ISP egress and sold “residential” as the feature.

  • Rotation → your /32 flag is stale by lunch
  • ASN bans → you hit real customers on CGNAT
  • Lists still matter for datacenter junk — and quietly fail on fresh home exits

IP lists vs live path

What “detect” actually means

You’re not hunting a magic bit. You’re stacking independent contradictions that a cheap relay has to fake at once:

  1. IP metadata — ASN, geo, hosting vs consumer → necessary, never enough
  2. DNS nativeness — which resolvers hit your canary vs the HTTP exit
  3. WebRTC ICE — server-reflexive candidates vs the claimed exit
  4. Path shape — app RTT stretched vs TCP RTT
  5. TLS ↔ User-Agent + locale (TZ / language vs IP country)

One oddity is a traveler on Cloudflare DNS.

Three independent mismatches rarely land on a genuine household session.

Soft canvas fingerprints alone are not a residential-proxy detector. They’re identity glue. Different job.

DNS nativeness for fraud teams

30-second demo (no API key)

Open the lab and hit Run lab:

👉 fraudlens.io/lab/webrtc

WebRTC ICE vs HTTP exit lab

It compares your HTTP exit to ICE from a short STUN gather:

Result Meaning
srflx matches HTTP Coherent (normal home / office)
Public ICE ≠ HTTP Interesting for review — not auto-ban
No ICE / WebRTC off Soft / unknown — privacy browsers do this

That’s one pillar. Production stacks add DNS canaries + path timing after you hang collect.

Policy that doesn’t nuke conversion

If your only dial is allow/block, soft public DNS becomes a ban and growth will kill the project.

Keep three lanes:

  • ✅ allow — coherent enough
  • 🟡 challenge — MFA / email OTP
  • 🚫 block — stacked high-confidence junk

Ship shadow first: log suggestions next to IPQS with zero UX change → sample deltas → enforce block → then yellow.

More on that: Challenge without killing conversion

Code & docs

I work on FraudLens — EmailRep-shaped mailbox checks plus live session coherence in one POST /v1/assess.

You keep allow / challenge / block. We suggest; your app enforces.

npm i fraudlens-js
pip install fraudlens

GitHub logo fraudlens-io / fraudlens-examples

Hang + assess examples, OpenAPI, Postman, EmailRep drop-in — FraudLens antifraud API (clients only, no scoring core)

FraudLens examples

Copy-paste hang + assess for signup / login fraud.
Email reputation + live session coherence → suggested allow | challenge | block. You enforce.

Scoring weights, harvest DNS DB, and server internals stay proprietary. This repo is clients + examples only (MIT).

60-second quickstart

  1. Create keys at get-started — fk_pk_* (browser) + fk_sk_* (server).
  2. Hang collect on the signup page (hang/index.html).
  3. On submit, call assess from your server with the same session_id + your merchant user_id:
export FRAUDLENS_SECRET_KEY=fk_sk_…
bash curl/assess.sh [email protected] ses_… merchant-user-1

Layout

Path What
curl/ CLI assess + EmailRep-shaped email GET
hang/ Minimal HTML — FX.auto + publishable key
nodejs-signup/ Node 18+ assess (no deps)
express-signup/ Express route: allow / challenge / block
python-signup/ Python stdlib assess
php-signup/ PHP cURL assess
emailrep-dropin/ Swap emailrep.io
…

Full guide (canonical):

How to detect residential proxies when the IP looks clean

If you’re already on IPQS / MaxMind — don’t rip them out. Add the live path for exits lists still call “home.”

Questions about ICE false positives or DNS canary placement — ask below.

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.