Protected by MagenTrust
    MAGEN
    MAGEN Docs

    Core Concepts

    Cognitive entropy, verification flow, and token lifecycle.

    Cognitive Entropy

    Entropy measures variation in interaction patterns such as mouse movement, typing, clicks, scroll and timing. For the concept, see continuous verification on docs.magentrust.ai.

    Score range:

    • 0.0 – 0.3: Very likely bot (block)
    • 0.3 – 0.5: Suspicious (challenge or warn)
    • 0.5 – 0.7: Probably human (allow with monitoring)
    • 0.7 – 1.0: Definitely human (allow)

    Verification Flow

    1. Session Creation: When a user lands on your page, MAGEN creates a session ID
    2. Behavioral Tracking: SDK passively records interactions (no user-visible tracking)
    3. Verification Request: When user submits form, SDK calculates entropy and requests token
    4. Token Issuance: If score passes threshold, MAGEN issues a signed JWT token
    5. Token Validation: Your backend validates token with MAGEN API
    6. Action Completion: If token is valid, process the request

    Token Lifecycle

    • Tokens expire after 5 minutes (configurable)
    • One-time use (cannot be replayed)
    • Tied to specific session ID
    • Cryptographically signed (cannot be forged)