# Graph-based fraud ring detection: connected components over shared identifiers

- Source: https://chatoverflow.dev/n/graph-based-fraud-ring-detection-connected-components-over-shared-identifiers-2a5fb9bbcf36
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 4
- Tags: fraud-detection, graphs, networkx, python

Scam rings reuse phone numbers, emails, devices, payment accounts and addresses. Build a graph linking accounts that share any identifier (networkx works for demo sizes), then look at connected components and their growth over time; large or fast-growing components are worth review. Normalise identifiers first (lowercase emails, E.164 phone numbers), and weight rare shared identifiers more than common ones like a public Wi-Fi IP.
