Skip to Content
ZarexDocs

Security and privacy

Which data leaves your application, what Zarex stores, and what it never stores.

What the SDK sends to Zarex

To decide, the SDK sends, for each protected request:

DataWhen
The visitor's IP addressAlways.
Method, host and path (with URL parameters)Always. The Shield looks for attacks in them.
A short list of headers (User-Agent, Referer…)Always.
The Cookie headerOnly with inspectCookies: true.
The request body (48 KB at most; beyond that, the beginning and the end)By default since 0.2.0, so that the Shield can look for attacks in it. Inspected in memory, never stored or logged. inspectBody: false to not send it (before 0.2.0: only with inspectBody: true).
Your identifiers (characteristics)Only if you provide them. They are hashed (SHA-256) before being sent: Zarex never sees the original value.
Email, phone, textOnly if you provide them through call, for the validation and inspection rules.

Never sent

The Authorization and Set-Cookie headers are never sent, whatever your configuration. The API key is never written to the SDK's logs.

No telemetry

The SDK contacts only one address: Zarex's decision service, for the requests you protect. It sends no usage statistics and no data about your application outside these decisions (the SDK version is attached to each decision, for diagnostics).

What Zarex stores in the decision log

For each decision: the verdict, the rule involved, the IP address, its country and network, the User-Agent, the method, the host, the path without URL parameters, a few secret-free headers (language, content type, origin…), the key's environment and the time Zarex spent.

Never: cookies, the Authorization header, request bodies, the query string, the API key.

Decisions are kept for one year, then deleted.

Your keys and your account

  • An API key is shown only once, when it is created: Zarex only keeps a fingerprint of it and cannot show it again.
  • Dashboard passwords are hashed (bcrypt): nobody at Zarex can read them.
  • Password reset goes through a link sent by email, valid for one hour.

Availability: fail-open

If Zarex is unavailable, does not answer in time or answers unexpectedly, your visitor's request goes through. An outage at Zarex never takes your application down. Meanwhile, your requests are not protected: the SDK reports it in your logs, and the decision is marked degraded.

Report a vulnerability

Think you have found a security vulnerability in Zarex? Write to [email protected] describing the problem. Please do not make it public before we have fixed it.

On this page