> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gr4vy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Anti-fraud

> Managing risk in your transaction flow

As part of [Flow](/guides/dashboard/flow) the system allows you to build rules
which use decisions and scores from anti-fraud services.

<Info>
  For detailed information on setting up and configuring specific anti-fraud providers, visit the [Anti-fraud connectors](/connections/anti-fraud) in the Connections section. Cybersource, Forter, Riskified, Sardine, and Sift are supported.
</Info>

<img src="https://mintcdn.com/gr4vy/jCFeFdffXM43huI0/assets/images/anti-fraud/flow-rule.png?fit=max&auto=format&n=jCFeFdffXM43huI0&q=85&s=5982f77d158776dd4eff51c109c0ceea" alt="Flow rule with an anti fraud decision" width="3144" height="2166" data-path="assets/images/anti-fraud/flow-rule.png" />

You can use these scores and decisions for [card transactions](/guides/dashboard/flow/card-transactions)
to evaluate the risk of a transaction and take
appropriate actions to, for example, force 3-D Secure, decline a transaction, or route to
a specific payment service.

## How does it work?

For every transaction, your [**Primary**](#connection-mode) anti-fraud service is only called **once**.

When a request is made for a transaction, your active anti-fraud provider is only called
once, assuming a rule is triggered for which an anti-fraud score or decision is the condition.
This feature prevents incurring any extra cost by calling your anti-fraud service multiple times,
or calling your service unnecessarily if the rule is not triggered.

## Connection mode

Each of your configured anti fraud services can be set to a **Primary**, [**Silent**](/guides/features/anti-fraud/silent-mode) or **Inactive** mode.

| Mode                        | Description                                                                                                                                                                                                  |
| :-------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Primary**                 | Traffic is processed through this connector's fraud checks. It returns an approval or decline, which determines whether the transaction continues. Only one primary connector can be configured at any time. |
| [**Silent**](./silent-mode) | Traffic is processed through this connector, but its decision is not enforced. Results are logged for learning/analysis only.                                                                                |
| **Inactive**                | No traffic is processed through this connector, but it is available to be re-activated at any time.                                                                                                          |
