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
- Go to Policy resources → Risk providers.
- Select Create.
- Under Fraud Prevention, select reCAPTCHA Enterprise.
- On the General tab, configure the name, description, and policy tag.
- On the Configuration tab, configure the provider settings.
- Select Save.
Inputs
The provider supports the following inputs. Select the source for each value when you add the provider to a risk policy.
| Input | Type | Description |
|---|---|---|
expectedAction | String | Action used when the front end executed reCAPTCHA, for example login. If the token reports a different action, the token is treated as invalid. |
userIpAddress | String | Customer IP address. If empty, the request IP address is used. |
userAgent | String | Customer user agent. If empty, the User-Agent request header is used. |
accountId | String | Stable account identifier used by Account Defender. If empty, the customer ID is used. |
email | String | Customer email address used by Account Defender. |
Outputs
Risk policies that use the provider receive the following outputs under the configured namespace:
| Output | Type | Description |
|---|---|---|
<prefix>.level | Enum | Normalized Low, Medium, or High risk level. |
<prefix>.risk_score | Number | reCAPTCHA risk score from 0.0 to 1.0. A higher value indicates that the interaction is more likely to be human. |
<prefix>.risk_reasons | List | Reasons associated with the risk score, such as AUTOMATION. |
<prefix>.token_valid | Boolean | Indicates whether the token is valid. A token can be invalid if it is missing, expired, malformed, or reused. |
<prefix>.token_invalid_reason | String | Reason the token is invalid. Reports MISSING when the token header was not sent. |
<prefix>.token_action | String | Action reported by the front end, compared with expectedAction. |
<prefix>.account_defender_labels | List | Account 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.0report 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.7to1.0reports Low risk.0.3to below0.7reports Medium risk.0.0to below0.3reports 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.
Updated less than a minute ago

