Ayzal AIAYZAL .AI
Back to Knowledge Base
Rule Building

The Concept: "Fan-Out" Detection — Ayzal AI FRM

To detect a Fraud Ring in credit card transactions, you have to look for shared attributes across multiple different customers. A single person might use their card many times (velocity), but a fraud ring uses one stolen card (or device, or IP) across many customer accounts.

Updated 2026-10-19

Detecting a Credit Card Fraud Ring (Fan-Out)

To detect a Fraud Ring in credit card transactions, you have to look for shared attributes across multiple different customers. A single person might use their card many times (velocity), but a fraud ring uses one stolen card (or device, or IP) across many customer accounts.

The Concept: "Fan-Out" Detection

If 3 different customer accounts all try to use the same credit card, it's a fraud ring. We achieve this using the count_distinct and shared_entity steps.

How to configure the Rule in FRM

Go to Rules → Create Rule. Select Product: CC (or your credit card product). Add the following steps:

1 Filter for the relevant event

We want to look at successful or attempted card authorizations, and we need to group them by the card fingerprint.

2 The Fraud Ring Trigger (Shared Card)

This is the core fraud ring step. It checks if the same card is linked to multiple distinct customers.

3 High Value or High Volume (Optional)

To reduce false positives (e.g., a family sharing a card), you can add a condition that the total amount spent on this shared card is unusually high.

(Alternatively, use count_events with a threshold of 5 to catch high velocity).

The JSON Payload

If you are testing this via the API or looking at the backend payload, here is what the composition_steps array looks like:

[
  {
    "step_type": "field_compare",
    "step_config": { "entity": "status", "operator": "eq", "threshold": "Approved" }
  },
  {
    "step_type": "count_distinct",
    "step_config": { 
      "source_entity": "card_fingerprint", 
      "target_entity": "customer_id", 
      "threshold": 3, 
      "time_window_seconds": 2592000,
      "where_prior_steps": true 
    }
  }
]

Alternative: The "Destination Fan-In" Ring

If the fraud ring is a group of stolen cards sending money to one central wallet/account, you reverse the logic:

Pro Tip: Ensure that card_fingerprint and customer_id are properly tagged as Semantics in your Product settings. If the UI doesn't recognize the column names, the rule engine will return null for the field.