Signals Collected
FraudEG’s behavioral engine captures the following interaction signals passively through the JavaScript snippet or mobile SDK — no additional instrumentation is required beyond including the snippet on your pages:- Typing cadence — keystroke timing, inter-key delay intervals, and error correction patterns across form fields.
- Mouse movement patterns — trajectory smoothness, acceleration, and movement entropy (human mouse movement is irregular; bot movement is geometrically precise).
- Session duration — time spent on each page and the overall session length relative to the user’s historical baseline.
- Page navigation sequence — the order in which pages are visited and whether it follows expected user journeys.
- Copy-paste behavior — whether form fields (especially password, card number, and email) are filled via keyboard input or paste operations.
- Form interaction — field focus/blur timing, tab key navigation, and autocomplete usage patterns.
What Behavioral Analysis Detects
Attaching Behavioral Data to Transactions
Behavioral data is linked to transactions via thesession_id created when the FraudEG device session is initialized. When you include a session_id in your POST /v1/transactions/score request, FraudEG automatically retrieves the behavioral data collected during that session and incorporates it into the risk score.
session_id is the only link required.
The behavioral_anomaly Signal
When the behavioral engine detects that a session deviates significantly from a user’s established interaction baseline, it surfaces the behavioral_anomaly signal in the transaction’s signals array. This signal elevates the transaction risk score and can trigger a challenge or block rule depending on your configuration.
behavioral_anomaly is triggered by a combination of factors rather than a single threshold. Common combinations that trigger it include:
- Typing cadence outside two standard deviations of the user’s baseline and heavy copy-paste usage on the password field.
- Navigation sequence that skips expected steps and an unusually short session duration.
- Completely absent mouse movement (headless browser indicator) and form fill speed below 50ms per field.
Behavioral Signal Reference
Use Cases
- Login risk scoring — Detect account takeover at the point of authentication before the attacker reaches any sensitive functions.
- Checkout anomaly detection — Identify whether the person checking out is the account owner or an attacker using stored payment methods.
- High-value transfer validation — Add behavioral confidence to wire transfers and large withdrawals where the cost of a false negative is high.
- New account fraud — Detect scripted account creation at onboarding before the account is used for fraud downstream.
Enabling Behavioral Analysis
Behavioral analysis activates automatically when you include the FraudEG JavaScript snippet or mobile SDK in your application. No separate configuration is required. Attach the snippet to all pages that precede a critical action to maximize the behavioral signal quality.Data Handling and Privacy
Behavioral data is ephemeral by design. FraudEG processes interaction signals in real time to produce behavioral features and risk scores, but does not store raw behavioral recordings, keystroke logs, or mouse trajectories as persistent records. No behavioral data is classified as personally identifiable information (PII). Behavioral profiles are stored as statistical models, not event logs, and cannot be reversed to reconstruct a user’s raw session activity.