use case

Detect bot signups and headless browsers without a CAPTCHA

What a page can observe about Puppeteer, Playwright and Selenium, why every signal can be faked, and how to combine them with network and replay checks before showing a challenge.

A CAPTCHA on every signup costs you conversions and accessibility, and solving services get through many of them anyway. Many scripted signups run a real browser engine driven by Puppeteer, Playwright or Selenium, and those tools leave marks a page can read. Collect that evidence first, and show a challenge only to the signups that earn one.

What a page can observe

The OpenFingerprint SDK records these automatically with every identify() (or local collect()), and the last one after the page calls watch():

ObservationWhat it means
webdrivernavigator.webdriver is true, as automation drivers set it
headlessUserAgentThe user agent contains HeadlessChrome/
seleniumArtifacts, phantomArtifactsGlobals that Selenium or PhantomJS leave on the page
platformMismatchThe user agent's operating system contradicts navigator.platform
missingChromeObjectA Chromium user agent without window.chrome
notificationPermissionQuirkNotifications report denied while the Permissions API says prompt
emptyPlugins, emptyLanguagesDesktop Chromium with no plugins, or no languages at all
softwareRendererWebGL renders in software (SwiftShader, llvmpipe), as on most servers
zeroDimensionsThe screen or window is 0 pixels wide or high
cdpDetectedSomething read an object logged to the console, as a DevTools Protocol client does
nativeFunctionTamperingnavigator.webdriver or Permissions.query was patched, as stealth plugins do
workerUserAgentMismatchA web worker reports a different user agent than the page
driverArtifactsGlobals or attributes left by ChromeDriver, WebDriver bindings or Playwright
engineMismatchThe JavaScript engine is not the one the user agent names
userAgentDataMismatchClient hints name a different Chrome version than the user agent
proportionalMonospaceThe monospace font is not fixed-width, as in a browser faking another OS
engineApiMismatchFeatures the claimed browser version has shipped for years are missing
protocolScriptCode sent over a debugging protocol (Playwright, Puppeteer, Selenium, nodriver) called a page method

The API turns them into one automation answer: detected, not detected, or unknown when probes were unavailable. With detail: true you also get the list of indicators that fired.

Every one of these can be faked

These are reports from the browser, and the browser belongs to whoever runs it. Stealth plugins patch the obvious markers, anti-detect browsers spoof the rest, and an agent driving an ordinary Chrome profile may show none of them. Read the results the right way round:

  • Detected raises the cost of the signup. It isn't proof of abuse: QA tests, accessibility tools and browser extensions trip some probes, cdpDetected also fires when a developer has DevTools open, and protocolScript when they run code in its console.
  • Not detected means these markers were absent. It isn't proof of a human.

So use automation evidence to decide who sees a challenge, not who gets blocked.

Add evidence the browser doesn't control

  • No identification. Missing identification is unknown, not evidence of automation: scripts may be disabled, a blocker may prevent the request, or the listener may be unavailable. Keep authentication independent of it.
  • The connection. With identify({ endpoint }), the browser posts its evidence to the public identify listener and your form carries the identificationId it gets back. The listener observes headers and the TLS handshake itself. spoofing reports contradictions between them and the browser's claims. A known library handshake can expose a script posing as Chrome; an unlisted handshake stays unknown and a real browser under automation still has a real handshake.
  • Input patterns. After watch(), the API lists patterns such as every click arriving without pointer movement, key presses released instantly, or text inserted without typing, which is how most automation libraries drive a page. Keyboard users, autofill and password managers match some of them, so they are context, never a verdict.
  • Replays. The API reports replayed when the same identification ID was looked up before during its one-hour lifetime. Multi-step flows can legitimately look it up twice, and a fresh identification of the same browser is not a replay. It is context, not a reason to block.
  • Identification age. ageMs is the time since the listener stored the identification, by the API's clock.
  • Network. Signups from Tor exits, published cloud ranges (datacenter), listed VPN networks or open proxies. Residential proxies aren't on these lists, and plenty of developers work from cloud machines and VPNs, so treat these as context.
  • Email. A disposable address on top of automation signals is a strong combination.
  • Velocity. Many signups from one fingerprint or one network in a few minutes. That's your own rate limit, keyed on the fingerprint the check returns.

A flow that keeps CAPTCHAs for the few

js
const check = await fetch('https://api.openfingerprint.com/v1/check', {
	method: 'POST',
	headers: {
		'content-type': 'application/json',
		'x-api-key': process.env.OPENFINGERPRINT_KEY
	},
	body: JSON.stringify({
		identificationId: form.identificationId || null,
		email: form.email,
		ip: requestIp
	})
})
	.then((r) => (r.ok ? r.json() : {}))
	.catch(() => ({}));

const suspicious =
	check.automation || check.spoofing || (check.disposable && (check.datacenter || check.tor));

if (suspicious) return showChallenge(); // Turnstile, hCaptcha or email verification
return createAccount();

Most people never see the challenge, and the ones who do can still get through. Cloudflare Turnstile, hCaptcha and reCAPTCHA all work as the challenge step: this sits in front of them, it doesn't replace them.

Limits

  • There's no good-bot or bad-bot classification and no risk score. Your code decides.
  • Automation that hides well enough looks like a person. Evidence from the browser raises the cost of abuse, it doesn't attest the browser.
  • The worker probe needs worker-src blob: if you run a strict Content Security Policy. Without it that probe is unknown. Posting to the listener needs https://events.openfingerprint.com in connect-src.
  • watch() wraps a few DOM methods for its traps. A page script that checks those methods for changes, as some anti-tamper libraries do, will notice.
  • Tampering evidence, such as canvas noise from Brave or an anti-fingerprinting extension, is reported separately as tampering and never counts as automation: privacy-minded people use those tools every day.

Where OpenFingerprint fits

The SDK, the automation rules, the network and email checks and the dataset tooling are MIT licensed and public, so you can read exactly what each indicator tests. Self-host the API for free, or use the hosted API, billed by unique visitors rather than per call. It's experimental. See the SDK guide for the full list of observations and the check API reference for the rules.

Related

Read the code before you trust it.

The SDK, the server checks, the rules and the dataset tooling are MIT. Self-host them for free, or call the hosted API.