MaiGuard

Core Concepts

Behavioral Biometrics

What the MaiGuard JavaScript SDK captures in the browser and why it improves fraud detection.

Overview

Behavioral biometrics passively analyze how users interact with your web application — without requiring explicit authentication steps. The MaiGuard JavaScript SDK (Sentinel) collects these signals client-side and links them to server-side scoring via deviceSessionId.

Collected signals

  • Keystroke dynamics — typing rhythm and timing patterns
  • Mouse movement — cursor paths, click patterns, and hover behavior
  • Scroll behavior — scroll velocity and interaction timing
  • Session timing — time-on-page and interaction sequence
  • Bot detection — automated vs human interaction classification

Integration flow

  1. Load the SDK from CDN: https://cdn.maiguard.com/sdk/v1/maiguard.min.js
  2. Call MaiGuard.init(apiKey) and sentinel.watch()
  3. Wait for onReady(deviceSessionId)
  4. Include deviceSessionId in your score request

Full SDK reference: JavaScript SDK docs.

Privacy

The SDK collects interaction patterns, not personal content (no keystroke content capture). Signals are batched and sent to MaiGuard for analysis. See the SDK privacy section for data handling details.

Note

The browser SDK is loaded from the MaiGuard CDN — see SDK docs for the script tag and quick start.

Was this page helpful?