EngineeringUpdated 2026-07-196 min

Session risk scoring — bind collect to check

How browser collect and server-side check stay honest: session bind, verdict tokens, and avoiding replayed client payloads.

By AbuseGraph Team

Client signals are useful — and forgeable

Anything collected in the browser can be copied. A serious account API must bind client collect to a server check so attackers cannot replay a “clean” payload forever.

The two-call shape

  1. Evaluate / collect with a publishable key from the browser (or your BFF)
  2. Check / signal with a secret key on your auth server

AbuseGraph’s session helpers exist so the server check can reference the prior collect without trusting raw client JSON alone.

Practical rules

  • Never put sk_ keys in the browser
  • Prefer short-lived session / verdict tokens
  • Enforce on the server even if the UI already showed a hint

Read the deeper walkthrough in our two-call model post, then wire it with @palisade/server’s check client.

Further reading

Next

Put a live check on signup

Free forever — 1,000 live API checks / month. Unlimited test keys. No credit card.

Related reading

← All posts · Integration guides · Compare options