Fraud prevention providers

Fraud prevention providers

Fraud prevention providers evaluate signals that can help identify automated activity, compromised devices, and other potentially fraudulent interactions.

When creating a risk provider, select one of the available options under Fraud Prevention.

📘

Providers can appear in more than one category. Their configuration is the same regardless of the category from which you select them.

Mobile device risk analysis

Mobile device risk analysis evaluates telemetry presented by mobile devices integrated with Strivacity.

Mobile Device Risk Analysis is a built-in risk provider. For its inputs, outputs, configuration, and level mapping, see Built-in risk providers.

reCAPTCHA Enterprise

The reCAPTCHA Enterprise risk provider evaluates bot and fraud signals using Google Cloud reCAPTCHA Enterprise.

The front end runs the reCAPTCHA Enterprise JavaScript library and sends the generated token to Strivacity in a request header. Strivacity evaluates the token and makes the resulting risk information available to risk policies.

Configure reCAPTCHA Enterprise

  1. Go to Policy resources → Risk providers.
  2. Select Create.
  3. Under Fraud Prevention, select reCAPTCHA Enterprise.
  4. On the General tab, configure the name, description, and policy tag.
  5. On the Configuration tab, configure the provider settings.
  6. Select Save.

Inputs

The provider supports the following inputs. Select the source for each value when you add the provider to a risk policy.

InputTypeDescription
expectedActionStringAction used when the front end executed reCAPTCHA, for example login. If the token reports a different action, the token is treated as invalid.
userIpAddressStringCustomer IP address. If empty, the request IP address is used.
userAgentStringCustomer user agent. If empty, the User-Agent request header is used.
accountIdStringStable account identifier used by Account Defender. If empty, the customer ID is used.
emailStringCustomer email address used by Account Defender.

Outputs

Risk policies that use the provider receive the following outputs under the configured namespace:

OutputTypeDescription
<prefix>.levelEnumNormalized Low, Medium, or High risk level.
<prefix>.risk_scoreNumberreCAPTCHA risk score from 0.0 to 1.0. A higher value indicates that the interaction is more likely to be human.
<prefix>.risk_reasonsListReasons associated with the risk score, such as AUTOMATION.
<prefix>.token_validBooleanIndicates whether the token is valid. A token can be invalid if it is missing, expired, malformed, or reused.
<prefix>.token_invalid_reasonStringReason the token is invalid. Reports MISSING when the token header was not sent.
<prefix>.token_actionStringAction reported by the front end, compared with expectedAction.
<prefix>.account_defender_labelsListAccount Defender findings, such as SUSPICIOUS_LOGIN_ACTIVITY.

Configure credentials

Configure:

  • Google Cloud project ID: ID of the Google Cloud project that contains the reCAPTCHA Enterprise configuration.
  • API key: API key allowed to call the reCAPTCHA Enterprise API.
  • Site key: score-based site key used by the front end to execute reCAPTCHA.

Configure front-end data collection

The front end runs the reCAPTCHA Enterprise JavaScript library and sends the resulting token in a request header.

Configure Token header name to specify the header containing the result of grecaptcha.enterprise.execute().

The default value is X-Recaptcha-Token.

Configure the level mapping

Use the score thresholds to map the reCAPTCHA Enterprise score to a normalized risk level.

Configure:

  • Low risk from score: scores from this value through 1.0 report Low risk.
  • Medium risk from score: scores from this value up to the Low threshold report Medium risk. Lower scores report High risk.
  • Level of a missing or invalid token: risk level reported when the token header is missing, the token is invalid, or the token action differs from expectedAction.

With the default thresholds:

  • 0.7 to 1.0 reports Low risk.
  • 0.3 to below 0.7 reports Medium risk.
  • 0.0 to below 0.3 reports High risk.

Lower scores indicate a higher bot risk.

Web Bot Auth

Web Bot Auth recognizes automated agents using Web Bot Authentication signatures, with signature verification performed by Strivacity or an upstream WAF.

Web Bot Auth is a built-in risk provider. For its inputs, outputs, and configuration, see Built-in risk providers.


Did this page help you?