Skip to main content

Proxy Detection Internals for KYC, Signup and Account Takeover

Device and IP Analysis checks for VPN, proxy and Tor use and identifies data-center IPs. When a result is available, it appears in the session decision.

Proxy Detection Internals for KYC, Signup and Account Takeover

Contents

In this guide

Jump to the part you need.

Proxy detection fits teams opening accounts and guarding existing ones. Didit's Device and IP Analysis costs $0.03 per check and is part of the $0.33 full KYC. The caveat is scope: it runs inside a verification session, not as a standalone endpoint. Our hosted verification flow collects network and device signals. The decision returns flags, warnings and feature status for each collection point. Your policy determines how those signals affect the session decision.

Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.

Proxy detection in Didit: what you get, where it appears and what it costs
What you buy or readWhere it appearsList priceNotes
Device and IP Analysis: VPN, proxy, Tor and datacenter flags, geolocation, ASN, device fingerprint, duplicate device matchesIP analysis entries in the session decision$0.03 per checkRuns automatically in the hosted session; warnings arrive in the LOCATION bucket
Full ID check (KYC)One session decision$0.33 per checkID document $0.15 plus passive liveness $0.10 plus face match $0.05 plus device and IP $0.03
Transaction monitoring beyond the plan allowanceTransaction Monitoring$0.001 per transactionTransaction activity you review separately from the verification decision
Sandbox testingSandbox applicationFree on every planDeterministic scenarios with no billing

Start free in the sandbox at business.didit.me, with no sales call, and read every line at didit.me/pricing. Developers who want an assistant to connect to Didit can use our free MCP server.

What proxy detection has to decide

Proxy detection flags signs that a connection may use a VPN, proxy or Tor. A data-center flag identifies the type of network associated with the observed IP address. That assessment has to survive several kinds of hiding, from a rented data center address to a residential IP sitting on someone else's compromised laptop.

Choose which warnings trigger review and which can trigger an automatic decline. Strict mode can decline a session on a VPN flag if you configure that rule. Our recommendation: collect the network and device signal inside the same session as the document and the face, then route the session by risk code. Each warning carries a stable code you can test against, and the trail stays in one decision payload.

Proxy types and why each is easier or harder to flag
TypeWhat the connection looks likeDetection difficultyCommon fraud use
Data center proxyAddress owned by a hosting provider, ASN belongs to a cloud or server companyEasyMass signup, credential stuffing, scraping
Residential proxyISP address assigned to a home, often reached through a compromised device or an installed agentHardAccount takeover, ad fraud, geo bypass
Mobile proxyCarrier address shared by many real phones, often rotatedHardMulti-account abuse, promotion abuse
Commercial VPNKnown provider ranges, branded appEasy to mediumLocation masking, re-signup after a block
TorThe verifier sees the exit relay's IP address.A match against a current exit list can flag the connection.High-anonymity abuse, card testing
Corporate proxyCompany egress, stable, shared by hundreds of employeesFalse positive riskLegitimate traffic that needs allowlisting

Prerequisites before you start

  • A Didit account with an application and an API key that can create sessions. See create session.
  • A published verification workflow. Basic Device and IP Analysis runs automatically during the hosted session.
  • A stable vendor_data value per user. Duplicate device and duplicate IP checks compare sessions across different vendor_data values, so a different value on each attempt makes the same person appear to be different users and can produce misleading duplicate results.
  • If allowed domains are configured, an HTTP or HTTPS callback must match an allowed origin, including scheme, host and port. Custom app URL schemes are accepted.
  • A sandbox application for rehearsal. Sandbox testing is free on every plan.
  • A written policy for each risk code: decline, review, or an extra step. Decide it before the first live session.

How proxy detection runs inside a Didit session, step by step

  1. If you want Didit to act on a flag automatically, configure strict-mode rules in the Business Console. For example, decline on VPN, review on duplicate device, decline on country mismatch with the document. Rules belong to the workflow, and workflows are versioned: publish a new version when the policy changes and past sessions keep the version they ran with. See the workflow builder docs.

  2. Create the session with the documented endpoint and a stable vendor_data.

    curl -X POST 'https://verification.didit.me/v3/session/' -H 'x-api-key: YOUR_API_KEY' -H 'Content-Type: application/json' -d '{"workflow_id": "YOUR_WORKFLOW_ID", "vendor_data": "user-123", "callback": "https://yourapp.com/post-kyc"}'
  3. Send the user to session.url. At Didit, we run Device and IP Analysis automatically inside the hosted verification session. The verification client collects the device fingerprint and the IP in band while the person goes through the flow, so there is no separate IP call to make. The fingerprint payload is privacy safe: a persistent device ID for exact same-device matches, a composite hash for grouped duplicate checks, and a signal vector for high-confidence recovery.

  4. Fetch the decision when the session finishes, or subscribe to session.status.updated instead of polling. A useful test checks three things separately: the feature status on the IP analysis entry, the warning code in its warnings array, and the overall status of the session. The key must hold read:sessions to fetch the decision.

    curl https://verification.didit.me/v3/session/<SESSION_ID>/decision/ -H "x-api-key: <API_KEY>"
  5. Read ip_analyses[]. A returned ip_analyses entry corresponds to one IP and device collection point. Handle absent, null and empty results before reading the entries. Each entry carries the resolved geolocation, the ASN, the VPN, proxy and Tor flags, the device fingerprint id, duplicate device matches and the warnings array. The entry has its own status, from Not Started through In Progress, Approved, In Review, Declined, Abandoned or Kyc Expired. Read every entry; do not treat the first entry as the overall outcome.

  6. Map the risk codes to actions. IP analysis warnings use LOCATION. The full catalogue is in the warnings reference.

    Risk codes Device and IP Analysis can raise, grouped by signal family
    GroupRisk codeWhat it saysAction to wire
    Network classificationVPN_DETECTEDThe connection was flagged as VPN traffic.Review by default; decline only where a VPN is not plausible for your users
    Network classificationPROXY_DETECTEDThe connection was flagged as proxy traffic.Review, or an extra liveness step before approval
    Network classificationTOR_DETECTEDThe connection was flagged as Tor traffic.Review by default; decline in payout and financial flows when your policy says so
    Network classificationDATACENTER_IPThe address belongs to a hosting or cloud range.Review at signup; combine with another signal before escalating because some legitimate users connect through hosting egress
    Device reuseDUPLICATED_DEVICEThe same device was enrolled under a different vendor_data.Confirm the account linkage before merging or blocking
    Device reusePOSSIBLE_DUPLICATED_DEVICEA high-confidence fingerprint recovery, not an exact match.Review as a candidate before you act
    Device reuseDEVICE_FINGERPRINT_BLOCKLISTEDThe device appears on your blocklist.Decline
    Device reuseDEVICE_LINKED_TO_LIVENESS_ATTACKThe device was seen in an earlier liveness attack.Decline or review
    Device reuseDEVICE_MODEL_INCONSISTENTReported hardware does not fit the rest of the session.Review
    Identity-context mismatchHIGH_RISK_COUNTRYThe IP country was flagged as high risk.Additional checks per your geographic policy
    Identity-context mismatchLOCATION_MISMATCH_WITH_DOCUMENTThe IP country does not match the document's issuing country.Route to review
    Identity-context mismatchIMPOSSIBLE_TRAVELTwo sessions are geographically unreachable in the elapsed time.Review or re-authentication
    Signal groups, one common false positive and the evidence a reviewer should check
    GroupCommon false positiveEvidence a reviewer should check
    Network classificationCorporate or campus egress that looks like a proxy or hosting rangeRepeated approved sessions from the same ASN, a stable company domain, and whether the address is a hosting range rather than a residential ISP
    Device reuseA shared family or office device used by two legitimate peopleSeparate identity documents, separate contact details, and whether the device match is exact or recovered
    Identity-context mismatchA traveler whose document country differs from the IP countryTravel evidence, session history, and whether the mismatch is a single session or a pattern
  7. Keep the review boundary explicit. Sessions your policy routes to review leave automation: the decision shows assignee, waiting_since and sla_due_at while a reviewer holds the case. When a reviewer changes the session status, status_override records when it changed and what the automatic status was.

If a coding assistant does the build, hand it the integration prompt or connect an AI assistant to our free MCP server.

Use Didit with MCP lesson cover showing an assistant connected to Didit
The MCP lesson shows an assistant connected to Didit; your policy stays in the Business Console.

What the result looks like

The decision is a JSON document, and these are the fields to read on each IP analysis entry. Geo, ASN, the VPN, proxy and Tor flags, the device fingerprint id and the duplicate matches sit on the same entry, and warnings is the array your rules read. LOCATION is the warning feature that carries these signals, and PROXY_DETECTED is a documented risk code. Read the decision from the signup session and the decision from the later re-authentication session. If either workflow has multiple collection nodes, inspect every returned IP analysis entry in that session's decision.

Fields to read on each IP analysis entry
FieldWhat it holds
ip_analyses[]A returned entry corresponds to one IP and device collection point. Handle an absent field, null, or an empty array before reading entries.
ip_analyses[].statusFeature-level status. Possible values are Not Started, In Progress, Approved, In Review, Declined, Abandoned and Kyc Expired.
ip_analyses[].warnings[].featureThe feature that emitted the warning. Device and IP Analysis emits under LOCATION.
ip_analyses[].warnings[].riskThe stable risk code, such as PROXY_DETECTED, VPN_DETECTED or TOR_DETECTED.
ip_analyses[].node_idWorkflow graph node that produced the report. Populated for V3 multi-instance workflows and null for legacy single-feature sessions.
ip_analyses[].warnings[].node_idWorkflow graph node the warning was raised against. Null for legacy V2 logs without a node ID.

If Device and IP Analysis did not run, ip_analyses is absent or null. An empty array contains no result. A blocked fingerprinting script is one documented cause of an empty array. When several entries exist, read each entry's feature status, warning codes and node_id, then read the overall session status separately.

Two cases can look similar in the console and need different actions.

Shared office egress and a recovered device match across accounts
CaseWhat the decision showsReview actionWhat would change it
Several signups from one office egressDifferent vendor_data values share an observed IP or ASN, with separate devices and separate documentsIf the reviewer has only a shared ASN, call this a shared network operator. Use a shared observed IP as the starting evidence for common egress and confirm it before drawing a conclusionA new account from the same egress with a blocklisted device or a document mismatch
Recovered device match across accountsPOSSIBLE_DUPLICATED_DEVICE on a new account, with separate documentsReview as a candidate; confirm the account linkage and the underlying activity before mergingAn exact DUPLICATED_DEVICE plus shared payment details or contact details

The warning object shape is documented in the data models; the per-feature fields are in the IP analysis report.

A session overview in the Didit Business Console with the warnings raised during the check
The same signals a reviewer sees: session status, warnings and the checks that produced them.

Inputs and outputs

What you send when you create the session and what you read back
FieldDirectionWhat it does
workflow_idSend, requiredUUID of the published workflow. A KYC workflow creates a user session and a KYB workflow creates a business session.
vendor_dataSend, recommendedYour stable identifier for the person. It binds the session and drives duplicate detection across sessions.
callbackSend, optionalWhere the hosted flow redirects when finished. If allowed domains are configured, an HTTP or HTTPS callback must match an allowed origin, including scheme, host and port. Custom app URL schemes are accepted.
expected_detailsSend, optionalOptional KYC document expectations: nationality and id_country. The location warning compares the observed IP country with the document's issuing country.
ip_analyses[].statusReadFeature status for the IP and device entry.
ip_analyses[].warnings[].riskReadThe VPN, proxy, Tor, datacenter and device codes your rules act on.
status and decision_traceReadThe session verdict and how it was reached, including warning counts and whether a human decided.

Failure cases and how to recover

What breaks, what you see, and what to do next
FailureWhat you seeRecovery
The user blocks the fingerprinting scriptip_analyses[] is emptyDecide whether that is fail-closed or a fall back to softer signals, and document the choice
A VPN, proxy or Tor flag fires on a legitimate userVPN_DETECTED, PROXY_DETECTED, TOR_DETECTEDTreat per policy: decline, manual review, or an additional liveness step
The same device opens a second accountDUPLICATED_DEVICEConfirm the account linkage before merging or blocking, per your own rule
The IP country does not match the documentLOCATION_MISMATCH_WITH_DOCUMENTRoute to review rather than auto-decline, unless your policy is strict
The callback host is not allowedHTTP 400 on callback.Move the callback to an allowed origin; custom app URL schemes are accepted
The session id is wrong or belongs to another application404 with Not found.Check the id and the key's application
The key lacks read permission403Grant read:sessions to the key
The key is invalid401Check that you are sending a valid key in the x-api-key header before replacing the key
A sandbox scenario is sent to a live application400 on sandbox_scenarioScenarios only run in sandbox applications
ID document details in a Didit session, including issuer data used for the location comparison
The document side of a mismatch case: which country issued the ID the session was approved on.

You pay per completed check from prepaid credit, and a check is charged when it finishes with a result. Device and IP Analysis is $0.03 per check and is already inside the $0.33 full ID check; read the Device and IP Analysis product page and the full list at didit.me/pricing. The workflow orchestrator, the SDKs, reusable KYC and the MCP server carry no separate fee. Sandbox testing is free on every plan.

Two boundaries matter for a fraud team. The first is between the automatic verdict and a human one: when a reviewer changes the session status, the decision records the override and its automatic status in status_override. The second is between a signal and a decision: a proxy flag, document-country mismatch or duplicate-device warning can justify review. Confirm the account linkage and the underlying activity before recording a fraud finding or merging accounts.

Worked cost example

Say you verify 20,000 new accounts a month. All arithmetic below uses published list prices.

  • Full ID checks: 20,000 x $0.33 = $6,600.00.
  • Device and IP Analysis inside those checks: 20,000 x $0.03 = $600.00. It is included in the $0.33, not an extra line.
  • Monthly total at list price: $6,600.00.

For the same 20,000 completed full ID checks, Growth usage is 20,000 x $0.3168 = $6,336 and Scale usage is 20,000 x $0.297 = $5,940. These are usage charges before included plan credit and subscription fees.

An eligible Free organization receives $10 in monthly credit. If it spends the full credit on completed full ID checks at $0.33 each, the credit covers 30 checks ($9.90).

Account signup proxy detection

At signup the risk is volume: one person or one script opening many accounts to farm promotions, test stolen cards or prepare mule accounts. Three signals carry most of that case. Duplicated IP across different vendor_data values links accounts that share a network. Duplicated device fingerprint links accounts that share hardware even when the network changes. A datacenter or Tor flag marks the connection as rented or anonymized before the person has any history with you.

The trade is cost against rejection. A blanket decline on VPN at signup will turn away real users in markets where a VPN is normal. Start with review for a single network flag or exact device match, treat automatic declines as a policy choice, and account for shared-device use. Tighten only after you have evidence from your own sandbox and early production sessions.

Account takeover and VPN detection after login

After login the question changes: not who is this person, but is this the same person who signed up. Run a verification session at re-authentication and the network signal arrives with it. At re-authentication, read the Device and IP Analysis warnings from the verification session. If that session checks a document, compare its issuing country with the IP country and review any LOCATION_MISMATCH_WITH_DOCUMENT warning. Two sessions that are geographically unreachable in the elapsed time can raise IMPOSSIBLE_TRAVEL. A device seen in an earlier liveness attack can raise DEVICE_LINKED_TO_LIVENESS_ATTACK, and a blocklisted device fingerprint can raise DEVICE_FINGERPRINT_BLOCKLISTED.

For behaviour after the login, review transaction activity separately. Our Transaction Monitoring product prices each transaction beyond the plan allowance at $0.001. A beneficiary change in the first hour is an example of evidence from your own account activity; the proxy flag comes from the Didit session decision. Together they are a different case from a proxy flag on a dormant account that never moves money.

Proxy rotation and KYC evasion

Rotation means changing the exit IP per request, usually across a pool of residential or mobile addresses. A changing IP reduces the value of a match against a previously listed address. A persistent device identifier can still yield an exact match, and Didit can surface a high-confidence recovered match for review. Treat a document-country mismatch as a separate signal when the session checks a document.

What rotation does not change is the device. Our docs describe duplicate device detection that still links a user who changes sessions, clears browser storage, opens an incognito window or rotates network information. Exact matches use the persistent device id; recovered matches use the v2 fingerprint signal vector behind high-confidence gates, so they arrive as candidates for review rather than automatic merges. The second thing rotation leaves behind is a pattern across sessions: one device appearing under several vendor_data values is a cluster your review queue can see and a blocklist cannot.

Anonymizer detection and the corporate network problem

An anonymizer is any service that hides the origin of a connection: a commercial VPN, a public proxy, Tor, or a paid residential network. VPN, proxy and Tor flags indicate possible use of an intermediary. A data-center flag identifies the type of network associated with the observed IP address. A connection from a data center can be direct.

False positives come from the same place. Corporate egress, university networks and some carriers look like a proxy because thousands of people share one address. So the useful question is not whether this is a proxy but whether the network fits the identity and the history: a stable company IP with a year of approved sessions is a different case from a fresh data center address on an account created two minutes ago. Our docs also support expected IP checks when you pass an allowed IP for the session, and IP blocklist checks configured on your application.

Proxies in AML and bank fraud workflows

In a banking or crypto onboarding flow, treat a proxy flag as one input to the AML file, not a verdict. The pattern to look for is a new account opened from a hosting address with a document issued in another country, or a dormant account that starts transacting from a new country after a Tor login. The proxy signal shortens the investigation; sanctions and PEP results, transaction history and the reviewer's note carry the decision. Our AML screening runs against 1,300+ lists at $0.20 per check. Wallet screening is $0.15 per screening, or bring your own screening provider and run it inside Didit.

Sources

Next step: create a free sandbox application at business.didit.me, create a test session and inspect its decision. No sales call.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alejandro Rosas

Co-founder and CTO

Alejandro Rosas

Alejandro Rosas

Co-founder and CTO

About Didit

Questions

Frequently asked questions

What is proxy detection in KYC?

Proxy detection in KYC flags signs that a connection may use a VPN, proxy or Tor. A data-center flag identifies the type of network associated with the observed IP address. In a verification flow it runs next to the document and biometric checks, so the result covers the network and the device, not only the ID. Didit returns the result as warning codes inside the session decision.

How does Didit detect VPNs, proxies and Tor?

At Didit, we run Device and IP Analysis automatically inside each hosted verification session. The hosted flow collects a privacy-safe device fingerprint and the connection is enriched with geolocation, ASN, and VPN, proxy, Tor, datacenter and private-network detection. Results land in ip_analyses[] on the decision payload, with risk codes such as VPN_DETECTED, PROXY_DETECTED and TOR_DETECTED in the LOCATION warning bucket. Device and IP Analysis costs $0.03 per check.

Is there a standalone Didit IP analysis API?

No. Our docs state that IP Analysis is session-only: there is no standalone /v3/ip-analysis/ endpoint, and the fingerprint and IP are collected in band during the hosted flow. To get the signal you create a session with POST /v3/session/ and read the decision with GET /v3/session/{sessionId}/decision/.

Can proxy rotation defeat proxy detection?

Rotation changes the IP. A changing IP reduces the value of a match against a previously listed address. A persistent device identifier can still yield an exact match, and Didit can surface a high-confidence recovered match for review. Treat a document-country mismatch as a separate signal when the session checks a document.

How do I stop proxy signups without blocking legitimate VPN users?

Start from policy instead of a block: send VPN_DETECTED and PROXY_DETECTED to review where those networks are common among your users. Start with review for a single network flag or exact device match, describe automatic declines as a policy choice, and account for shared-device use. Strict-mode rules such as decline on VPN, review on duplicate device and decline on country mismatch are set in the Business Console. Test your routing logic with documented sandbox outcomes. Measure false positives on labeled production traffic before enforcing automatic declines.

How do I detect account takeover from a new VPN location?

Run a verification session at re-authentication and read the Device and IP Analysis warnings from that session. If the session checks a document, compare its issuing country with the IP country and review any LOCATION_MISMATCH_WITH_DOCUMENT warning. Two sessions that are geographically unreachable in the elapsed time can raise IMPOSSIBLE_TRAVEL, and a device seen in an earlier liveness attack can raise DEVICE_LINKED_TO_LIVENESS_ATTACK. A Didit verification session returns device and IP warnings alongside any document and face checks run in that session. Review relevant transaction activity separately.

How can I tell if I am behind a proxy?

An IP lookup can show that your public address belongs to a hosting or VPN provider. Check your VPN client and system proxy settings for confirmation. Corporate networks send egress through a company proxy, so the answer says more about the network than about you. In a Didit session the same signals appear as flags on the IP analysis entry.

What is an anonymizing proxy and does it always mean fraud?

An anonymizing proxy relays traffic through another host so the real client address is hidden, and Tor is the best-known example. Many legitimate users rely on them for privacy, so a flag is a risk signal, not a verdict. Set the tolerance per product: a payout flow can be strict while a content signup should not be.

What happens if a user blocks the fingerprinting script?

ip_analyses[] can come back empty when a privacy extension or content blocker stops the verification client from collecting the fingerprint. Our docs list that as a failure mode your integration must handle, and you decide whether it is fail-closed or a fall back to softer signals. Whatever you choose, write it down as policy so reviewers apply the same rule.

How do I test proxy detection without real users?

Create a hosted verification session in the free Didit sandbox and fetch its decision to check that your integration handles ip_analyses. Use a proxy-specific scenario only if the sandbox catalog lists one. Test how your policy handles PROXY_DETECTED separately, using the documented warning fields.

Does a proxy flag mean the identity document is fake?

No. The proxy signal describes the network path and the document check describes the person; they are separate features with separate statuses inside one decision. Your policy decides which combinations you accept. When a reviewer changes the session status, status_override records when it changed and what the automatic status was. That separation is why a proxy flag should route to review rather than auto-decline a real user.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Tested in Spain's Treasury sandbox

    Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.