Skip to content

Private pre-release

This project is under active development and will be made public soon. Release timing may change, and repository links will not work until then.

All projects
IN DEVELOPMENT Updated November 2, 2026

workers-fingerprint

Zero-prompt device identity for Cloudflare Workers: passive edge signals, silent browser fingerprinting, Drizzle/D1 matching, cross-browser hardware linking, and an opt-in Rust/WASM hardware addon merged into one visitor ID. Vite demo, consent gate, research, experiments.

bot-detection cloudflare-d1 cloudflare-workers device-identity drizzle-orm edge-computing fingerprinting privacy
Show 5 more
rust security vite webassembly workers
License Apache-2.0
Updated November 2, 2026
Rank #8 of 19
Overall 32.4 /100
Traction 1.0/100 · Stars 0.0 · Longevity 4.0 Momentum 79.6/100 · Freshness 74.3 · Newness 91.9
Languages TypeScript JavaScript HTML Rust

Zero-prompt device identity for Cloudflare Workers: passive edge signals, silent browser fingerprinting, a first-party anchor, and calibrated fuzzy matching. Research, a publishable TypeScript SDK, a live demo, and every experiment behind it.

Live demo · SDK · Research · Experiments

What this is

Most fingerprinting projects fall into one of two traps: a client-side hash that breaks on the next browser update, or an edge-only heuristic that never sees the device. This project is the hybrid:

  • Passive edge signals on every request: TLS/HTTP, header order, Client Hints, ASN/geo/RTT.
  • Silent browser signals on a normal page load: canvas, WebGL, audio, fonts, media/supports, screen, optional behavior.
  • First-party anchor: cookie, ETag, and a stateless HMAC nonce.
  • Decision layer: hard bucket + weighted Jaccard + confidence bands + Drizzle/D1 identity store.

The core SDK does not use hardware timing side channels. The opt-in @yasogan/fingerprint/hardware entry is separate and consent-gated in the demo. No permission prompts, no WebAuthn dialog, no CAPTCHA.

Try it

The landing page explains the architecture and asks for consent before unlocking one combined demo at /. A run collects passive edge signals, silent browser signals, the cookie anchor, and the opt-in hardware addon, then returns one visitor ID, confidence, and decision. The hardware addon is not a second fingerprint; its features are merged into the same match. A reload should return the same visitor via the anchor.

Domain: https://fingerprint.yasogan.dev
API: GET /api/challenge, GET /api/etag, POST /api/identify
Consent: the core and hardware demos are combined at / and locked until the visitor opts in.

The SDK

packages/fingerprint is @yasogan/fingerprint, built from YasogaN/ts-starter and adapted for Workers + browsers.

import { D1IdentityStore, extractEdge, identify } from '@yasogan/fingerprint';

const edge = extractEdge(request);
const result = await identify(new D1IdentityStore(env.DB), {
  edge,
  client: body.client,
  anchorId: cookieValue,
});
import { collectClientSignals } from '@yasogan/fingerprint/client';

const client = await collectClientSignals({ behaviorMs: 800 });
await fetch('/api/identify', { method: 'POST', body: JSON.stringify({ nonce, client }) });

Drizzle owns all database access: schema.ts, the D1 store, drizzle-kit generate, and generated migrations. The browser collector is a separate entry point, so the client bundle does not pull in Drizzle or server code.

Architecture

LayerRuns inWhat it contributes
Passive edgeCloudflare WorkerTLS/HTTP stack, header order, high-entropy Client Hints, ASN/geo/RTT/QUIC/delivery rate
Browser collectorBrowserCanvas, WebGL, audio, fonts, media queries, CSS supports, screen, locale/timezone/touch/storage, behavior
AnchorWorker + browserCookie, local anchor, signed ETag, HMAC nonce
Identity engineWorkerHard bucket, all-feature weighted similarity, confidence/decision, cross-browser link
Hardware addon (opt-in)Browser + Rust/WASMWebGL/WebGPU adapter, cache/SIMD/scalar timing, audio, timer; merged into the same identity
StorageD1 via DrizzleVisitors, anchors, observations
DemoWorker + ViteLanding page, consent gate, /api/challenge, /api/identify

Research highlights

FindingResultReport
No-JS CSS/HTML probe138 signals per page view; 5/5 synthetic profiles unique; free-tier request budget is the real limitserver-side-free.md
CalibrationHard bucket + IDF × stability: no-fleet F1 0.727 @ 0.84 (TPR 0.80, FPR 3.17%) vs uniform 0.684 @ 0.97calibration.md
Identical fleet twinsStatic schemes 100% false merge; cookie anchor 0%calibration.md
Real Chrome AndroidSM-A528B, Adreno 642L, WebGPU qualcomm/adreno-6xx, 4 GB RAM, clean cache curvehardware-fingerprinting.md
LibreWolf RFPWebGL removed, 16.667 ms timer, cache curve quantized; hardware class collapses to a cohorthardware-fingerprinting.md
Rust/WASM stateless tokenSame key → same device ID; new context → new ID; float bits identical across engineswasm-stateless-device-id.md
Zero-prompt literature81.3% unique / 91% stable attributes; FP-STALKER 54.48-day average tracking; cross-browser 83.24% uniqueness / 91.44% stabilitypeak-identity.md
Two real LibreWolf devicesOS difference showed up as fonts, UA, height, HTTP/2 vs HTTP/3; same engine corelibrewolf-live-test.md
packages/fingerprint/      @yasogan/fingerprint SDK
examples/demo-worker/      live Cloudflare Worker demo
docs/
  README.md                report index
  reports/                 seven research reports
experiments/
  edge-probe/              first edge probe
  server-side-probe/       no-JS probe, calibration, privacy matrix
  wasm-device-token/       Rust/WASM + ECDSA stateless token
  wasm-hardware-probe/     Rust/WASM hardware-class probe
  hardware-live/           live real-device hardware probe
  librewolf-live/          live LibreWolf join/compare harness
pnpm install
pnpm --filter @yasogan/fingerprint preflight
pnpm --filter @yasogan/fingerprint test:coverage
pnpm typecheck
pnpm --filter @yasogan/fingerprint-demo build
pnpm --filter @yasogan/fingerprint build:wasm

preflight runs the formatter, typecheck, unit tests, and build. CI additionally runs test:coverage (100% of every source file), pubcheck, knip, and audit.

The demo deploys with:

pnpm --filter @yasogan/fingerprint-demo drizzle:generate
pnpm --filter @yasogan/fingerprint-demo d1:migrate
pnpm --filter @yasogan/fingerprint-demo deploy

Status and limits

  • The SDK covers the server-side, silent browser JS, anchor, Drizzle/D1, matching, and demo layers.
  • The core SDK excludes hardware timing side channels. The opt-in @yasogan/fingerprint/hardware addon returns extra features that identify() merges into the same bucket/score and the same visitor ID; the measurements live in experiments/.
  • Cross-browser linking is supported through a hardware-class linkHash and an all-feature weighted score. It returns crossBrowser: true with decision probable, and keeps both anchors in fp_anchors.
  • The no-JS CSS/HTML probe is a research experiment in experiments/server-side-probe/, not yet wired into the SDK.
  • Per-unit hardware identity is not available from browser APIs. Identical models collide; a device-bound key or account is required for unit-level identity.
  • Fingerprinting is regulated. Use a lawful basis, disclosure, minimization, retention limits, and a DPIA where required. The demo is a demonstration, not a compliance template.

License

Apache-2.0. See LICENSE.