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
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
/32flag 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
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:
- IP metadata — ASN, geo, hosting vs consumer → necessary, never enough
- DNS nativeness — which resolvers hit your canary vs the HTTP exit
- WebRTC ICE — server-reflexive candidates vs the claimed exit
- Path shape — app RTT stretched vs TCP RTT
- 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.
30-second demo (no API key)
Open the lab and hit Run 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
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.
| Site | fraudlens.io |
| Docs | Integrate · Placement · API |
| OpenAPI |
openapi/openapi.json · live: https://fraudlens.io/api/openapi.json
|
| Postman | postman/FraudLens.postman_collection.json |
| Get keys | fraudlens.io/get-started |
Scoring weights, harvest DNS DB, and server internals stay proprietary. This repo is clients + examples only (MIT).
60-second quickstart
- Create keys at get-started —
fk_pk_*(browser) +fk_sk_*(server). - Hang collect on the signup page (
hang/index.html). - On submit, call assess from your server with the same
session_id+ your merchantuser_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
- Lab → fraudlens.io/lab/webrtc
- Shadow offer → fraudlens.io/shadow-compare
- Compare lists vs live → fraudlens.io/compare
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.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.


