Data & privacy

Exactly what the KYA snippet collects, the cookie and storage item it sets, where verdicts are computed, how long sessions are kept, the origins allowlist, the Content-Security-Policy it needs and its limits.

After this page you can tell your visitors, and your security team, exactly what the snippet does on your pages.

The snippet never reads page content or form values, and never keeps or sends which keys were pressed. It keeps no identifier beyond the browser session.

What the snippet collects

Each report carries the fields below and nothing else: the server drops any field it doesn't know. GET /v1/kya/sessions/{id}?signals=true returns a session's latest report, so you can check.

What the browser says about itselfsignals.env
Automationwd (navigator.webdriver), native (whether that property is the browser's own), art (automation tools whose objects are on the page), cdp (whether the DevTools protocol is attached)
Browserua (user agent), uad (its brands, whether it's a phone, its platform), plat (platform), lang (up to 6 languages), plugins (a count), pdf (whether it has a PDF viewer), chrome (whether window.chrome exists)
Devicehc (processor count), dm (memory), mtp (touch points), scr (screen size and colour depth), win (window size), dpr (pixel ratio), gl (graphics vendor and renderer)
Place and timetz (time zone), tzo (its offset)
Permissionsnotif, perm (notification permission, read two ways; nothing is asked), cast (whether Chrome's casting service answers; nothing is shown)
The pagefocus, vis (visibility), ifr (in a frame), cookie (cookies enabled)
How the page is used: counts and timingssignals.input
Timet (milliseconds since load), first (until the first interaction)
Pointermm (moves), path (distance in pixels), mcv (how much its speed varies), clk (clicks), jump (clicks with no travel before them), synth (clicks and key presses a script made)
Keyboardkey (key presses, counted), kcv, kmean, kmed (variation, mean and median of the time between them)
Textinp (input events), nokey (text inserted with no key press), bulk (several characters inserted at once; only the length is looked at), paste (pastes, counted)
Scrolling and touchscr, wheel, touch (counts)

With them: the site's public key, the session id, the snippet's version, and page, the page's origin and path. The query string is never sent, and a path segment that looks like a token or a name (over 24 characters, an @, or 16 or more letters, digits, - and _ with a digit among them) is sent as *.

Our server adds what any server sees of a request: the IP address, the user agent and any Signature headers. To see whether the DevTools protocol is attached, the snippet writes up to three debug-level lines per page to the console in Chromium browsers.

NameHoldsLasts
Cookiekya_sessionThe session id, ksn_…The browser session. Set for the page's own host, path=/, SameSite=Lax, Secure on HTTPS
sessionStorage itemkya_sessionThe same idThe tab

The id is all the snippet stores, and reports are sent without credentials. On the page, the id is window.kya.session (null until known), and a kya:session event on document carries it in detail; window.kya.onSession(callback) gives it once it's known.

The tag takes two attributes: data-site, the site's gpk_… key, and data-endpoint, where reports go (by default the script's own origin and /kya).

Where verdicts are computed

On our servers, from the report, the request's address and user agent, and a lookup on them. A report is answered with the session id and nothing else: the verdict is never given to the browser, which could change it. Your server reads it with your API key, or receives it from the edge package.

Retention

A session (its IP address, user agent, page, latest report and verdict) is deleted 30 days after it starts. Your organization's data retention setting doesn't change that. What you send to a lookup, and its answer, aren't stored: only that the call was made.

Origins

A site's key is public, so any page could send reports under it. List the site's origins when you create or update it, and reports are taken only from those pages:

curl -X PATCH https://api.finic.ai/v1/kya/sites/kst_01M4Z1X3G5P8D2F6J0YA4SMQNC \
  -H "Authorization: Bearer $FINIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"origins": ["https://www.example.com", "https://shop.example.com"]}'

An origin is a scheme and host, such as https://www.example.com; up to 20 per site. With none listed, reports are taken from any page. Reports the edge package relays carry your API key and are taken whatever the list, but a request signature on one is checked only when the site's origin is listed.

Content-Security-Policy

SetupYour policy needs
The tag from api.finic.aiscript-src https://api.finic.ai and connect-src https://api.finic.ai
The edge packagescript-src 'self' and connect-src 'self': the snippet and its reports are on your own domain

On Cloudflare, the Worker gives the tag your page's nonce when the policy allows scripts by nonce. When it allows them only by hash or 'strict-dynamic', the Worker doesn't add the tag: add it to the page yourself.

Limits

LimitValue
Reports from one address120 a minute. An IPv6 address counts as its /64
New sessions from one address20 a minute
New sessions for one site10,000 an hour
A report8 KB
Reports from one page view40
A sessionTakes reports for 12 hours. After that, the browser starts a new one
Sites50 per organization

A report over a limit is dropped, not queued: it's answered 204 with an X-KYA-Refused header, and the snippet stops reporting for that page view. Nothing is printed in your page's console. API calls have their own limits.

Telling your visitors

The snippet reads device signals and sets a session cookie, and it doesn't ask anyone's permission: tell your visitors, and load the tag only after consent where your jurisdiction requires consent for either.

On this page