Live fraud graphs for decisioning and investigation

JetGraph keeps a live, compact fraud graph in memory so scoring services can check novelty and rolling windows at authorize time — and fraud analysts or AI agents can investigate rings over MCP.

What a fraud graph models here

Entities (customers, cards, devices, IPs, merchants, BINs) are nodes. Interactions and shared identifiers are compact edges. Fraud is usually a relationship problem: a new card appearing on a device linked to an open fraud case; a merchant suddenly sharing devices with a known ring; an IP with exploding distinct-account cardinality.

Signals on the decision path

Rolling behavior & bursts

How active has this card, account, or device been over the last 1 hour, 24 hours, or 7 days? QueryNodeHistogram reads pre-maintained hourly and daily ring buffers (with 8 value buckets) without scanning raw transactions, while GetEdgeState reads up to 4 sliding windows from the pair's 21-tick activity bitmap.

Pair novelty

Has this card ever transacted at this merchant? Has this account ever used this device? GetEdgeState returns found: false when a (src, dst) pair has never been seen. Check before ingest so you do not mark the current event as historical.

Shared-entity context

One- and two-hop neighborhoods: devices shared across cards, IPs shared across accounts. A Cypher example for a shared-device ring pattern lives in the fraud detection documentation.

Case provenance & retraction

CreateFraudCase links participant nodes to a case with a score, reason, and rule_id; GetFraudContext surfaces open and confirmed cases on connected entities. When an analyst resolves a case as false_positive via ResolveFraudCase, that evidence is cleanly withdrawn from every linked participant.

Fan-out cardinality

GetNeighborCount estimates distinct neighbors (how many unique cards hit a device, how many accounts share an IP) using HyperLogLog when enabled — spotting mule and ring fan-out without scanning adjacency lists.

Authorize-time loop

JetGraph does not decide approve or decline on its own. Your rules, model, or registered scoring_profile combine graph features, then always ingest the event (including declines) via IngestTransaction or UpsertEdge so velocity windows and novelty stay accurate. See real-time risk scoring.

Authorization event
  → GetEdgeState(card, merchant, windows)   // novelty + pair activity
  → QueryNodeHistogram(card, 24h)           // burst & spend buckets
  → GetFraudContext([card, device, ip])     // linked cases
  → GetNeighborCount(device, USES_DEVICE)   // fan-out cardinality
  → your score / scoring_profile
  → IngestTransaction (always record)
  → CreateFraudCase if confirmed / threshold breached

Investigate with an AI agent over MCP

Fraud teams connect investigation copilots directly to JetGraph at /mcp:

  • Start from semantics: the agent calls get_schema to read card, device, IP, merchant, and segment business_meaning.
  • Compare short vs baseline behavior: get_histogram (24h vs 7d) and get_edge_state separate single-merchant bursts from broad card testing.
  • Trace rings safely: cypher_read traverses shared devices or IPs behind a read-only guard capped at 100 rows.
  • Monitor emerging patterns: create_signal and create_segment promote a newly spotted ring signature into live rules in segment-evaluator.

What JetGraph is not in fraud

  • Not a chargeback workflow product, device fingerprint SDK, or consortium bureau
  • Not a replacement for 3-D Secure or issuer authorization
  • Not a multi-year raw-event archive (keep your OLTP / warehouse system of record for replay)