WebAssembly (WASM) Fingerprinting: 5 Signals and How to Test Them

17 min read

Picture a browser profile where every visible surface agrees. Canvas hash, WebGL renderer, audio output, timezone, fonts, Client Hints: all consistent with each other. Then a site compiles a small WebAssembly module, times it, and the result belongs to a different engine than the one the profile declares. That's WASM fingerprinting, and it's the kind of check that never shows up in a console.

WASM fingerprinting reads your JavaScript engine, your CPU class, and your feature-support matrix. Those are properties of the engine, not of the page, so a script running on top can't rewrite them after the fact.

It gets far less attention than canvas or WebGL fingerprinting, in the same way audio, font, and hardware fingerprinting gets overlooked. The same engine-level reasoning sits behind ClickzProtect's bot detection: inconsistencies between what a client claims and what it actually is are easy to catch.

This is a walkthrough of what leaks, where it leaks from, and how to check your own setup. If you test browsers, build detection, or run profiles for your own QA and automation, the goal is the same: make sure what a profile declares matches what its engine does. Unglamorous work. The kind you keep putting off because there's always a canvas hash that feels more urgent.

What the WASM Fingerprinting Test Suite Covers

By the end you'll know which WASM fingerprinting signals a detector can read (compile timing, the feature-support matrix, SharedArrayBuffer and threading, and memory behavior) and how to point each test at your own browser. There's code. Some of it is tedious. Most of it fits in a console paste.

Fair warning: it gets technical. WASM tiered compilation is not dinner-table material.

Prerequisites

  • Basic JavaScript knowledge (you'll be running snippets in the console)
  • A multi-account browser with WASM support. JustBrowser on its 7-day trial works, or whatever you're using now
  • DevTools open on a test page (about:blank is fine)
  • Familiarity with fingerprinting concepts helps. If you're new, our WebGL fingerprinting guide covers the fundamentals

Step 1: WASM Fingerprinting by Compile Timing

Every browser family uses a different JavaScript engine to compile WebAssembly:

  • Chrome/Edge/Opera → V8
  • Firefox → SpiderMonkey
  • Safari → JavaScriptCore

These engines compile WASM differently. V8 runs Liftoff for a fast baseline pass and then hands hot code to its optimizing compiler. SpiderMonkey tiers too, on its own schedule. JavaScriptCore? Apple documents it thinly, and third-party writeups tend to contradict each other or benchmark a build that shipped years ago.

The result is that identical modules compile at measurably different speeds across engines, and the gap grows as you give the optimizer more work.

JavaScript can't change it. Not a script, not an extension either, because by the time any interception layer gets a look, the engine has already parsed, validated and baseline-compiled the module. The clock started before your code did.

Open your console and paste this:

const wasmCode = new Uint8Array([
  0x00, 0x61, 0x73, 0x6d, 0x01, 0x00, 0x00, 0x00,
  0x01, 0x07, 0x01, 0x60, 0x02, 0x7f, 0x7f, 0x01,
  0x7f, 0x03, 0x02, 0x01, 0x00, 0x07, 0x07, 0x01,
  0x03, 0x61, 0x64, 0x64, 0x00, 0x00, 0x0a, 0x09,
  0x01, 0x07, 0x00, 0x20, 0x00, 0x20, 0x01, 0x6a,
  0x0b
]);

const iterations = 100;
const times = [];

for (let i = 0; i < iterations; i++) {
  const start = performance.now();
  new WebAssembly.Module(wasmCode);
  times.push(performance.now() - start);
}

const avg = times.reduce((a, b) => a + b) / times.length;
console.log(`Average compile time: ${avg.toFixed(3)}ms`);
console.log(`Min: ${Math.min(...times).toFixed(3)}ms`);
console.log(`Max: ${Math.max(...times).toFixed(3)}ms`);

This compiles a trivial add function 100 times and measures the average. Run it in Chrome, then in Firefox, on the same machine, and compare. The numbers will be tiny, and the browsers will not agree.

Tiny module. Tiny differences. Who cares?

Real fingerprinting scripts use larger binaries, where the gaps are far easier to separate from noise.

Here's the thing: a browser that declares Firefox while running Chromium's engine will show V8-shaped compile timing. The engine is the engine. That's why native engine builds matter in a multi-account browser, and why anyone automating at scale should read our Playwright/Puppeteer REST API and CDP guide before assuming a script can paper over it.

For background on the format itself, MDN's WebAssembly documentation is the reference worth bookmarking.

Step 2: WASM Fingerprinting via Feature Detection

Beyond timing, sites probe which WASM features your browser supports. Cheaper than timing, too. No stopwatch, no statistics: a compile that either works or doesn't.

WASM has grown a lot since the MVP shipped in 2017, and keeping track is a part-time job nobody asked for. Browser vendors ship features faster than docs update, so half the time you're reading a post that was right when it was written and isn't now. (This one included, eventually. Check dates.)

Features that matter for fingerprinting:

  • SIMD (Single Instruction Multiple Data), vector operations
  • Threads (needs SharedArrayBuffer, which we'll get to)
  • Bulk memory
  • Reference types
  • Exception handling
  • Tail calls (why this is a fingerprint signal is beyond me, but it is)

And Relaxed SIMD, because regular SIMD wasn't confusing enough.

Not every browser supports every feature, Safari does its own thing, and the spec process is glacial right up until the week it isn't. Support also varies by version, so a declared browser version implies a specific feature matrix. If the matrix doesn't match the declared version, that's a mismatch.

Sites probe feature support by compiling modules that use specific instructions:

function hasWasmFeature(testBytes) {
  try {
    new WebAssembly.Module(new Uint8Array(testBytes));
    return true;
  } catch {
    return false;
  }
}

// Test for SIMD support
const simdTest = [
  0x00, 0x61, 0x73, 0x6d, 0x01, 0x00, 0x00, 0x00,
  0x01, 0x05, 0x01, 0x60, 0x00, 0x01, 0x7b, 0x03,
  0x02, 0x01, 0x00, 0x0a, 0x0a, 0x01, 0x08, 0x00,
  0x41, 0x00, 0xfd, 0x0f, 0xfd, 0x62, 0x0b
];

console.log('SIMD supported:', hasWasmFeature(simdTest));

If this returns true for a profile that declares a browser version from before SIMD shipped, that's a mismatch. Small one. Still a mismatch.

For a full battery, don't hand-roll byte arrays. One wrong opcode and every browser you own appears to have dropped SIMD. Use Google Chrome Labs' wasm-feature-detect package, which maintains the probe modules for you:

import { simd, bulkMemory, threads, exceptions, tailCall, referenceTypes } from 'wasm-feature-detect';

const results = {
  simd: await simd(),
  bulkMemory: await bulkMemory(),
  threads: await threads(),
  exceptions: await exceptions(),
  tailCall: await tailCall(),
  referenceTypes: await referenceTypes()
};

console.table(results);

Then compare the table against what the declared browser version should support. Declaring an older release than the engine you're actually running? The feature matrix shows the mismatch, and almost nobody thinks about it. Changing the User-Agent string doesn't touch it.

For the wider test workflow, see our cross-product fingerprint testing walkthrough.

Step 3: SharedArrayBuffer and Threading in WASM Fingerprinting

WASM threads require SharedArrayBuffer. And here's the catch, which is genuinely annoying: SharedArrayBuffer only works on cross-origin isolated pages, meaning pages that send Cross-Origin-Opener-Policy: same-origin and Cross-Origin-Embedder-Policy: require-corp. Most sites don't bother.

So on most pages, SharedArrayBuffer is just unavailable. Right call security-wise (thanks, Spectre), and still a recurring source of confusion when a threading test comes back empty on a page that looks completely normal.

Check it:

console.log('SharedArrayBuffer available:', typeof SharedArrayBuffer !== 'undefined');
console.log('crossOriginIsolated:', crossOriginIsolated);

On a typical page you'll get false for crossOriginIsolated, and SharedArrayBuffer is usually unavailable too.

Why does this matter for WASM fingerprinting? Older browser versions had different SAB policies, so a profile that declares a recent browser but behaves like a pre-Spectre one stands out. And crossOriginIsolated describes the page, not your browser. A value that disagrees with the headers the server actually sent is reporting on your tooling. Cheap to check. One line.

Here's the part worth an opinion: because almost nobody sets COOP/COEP, the absence of SharedArrayBuffer is the baseline every real browser returns on the open web. This signal only fires when tooling gets clever and exposes something the stock browser wouldn't. Clever is the failure mode. If a tool ships a toggle labelled anything like "enable SharedArrayBuffer", leave it off.

A page without COOP/COEP headers reporting crossOriginIsolated: true? Something's broken. Real browsers don't do that.

Step 4: WASM Memory and Performance Signals

WASM memory operations leak too. Max memory allowances, growth handling, access patterns: all vary by engine.

Now the caveat. These are the weakest of the five signals by a wide margin.

// Test max memory (in 64KB pages)
let maxPages = 1;
while (maxPages < 65536) {
  try {
    new WebAssembly.Memory({ initial: 1, maximum: maxPages * 2 });
    maxPages *= 2;
  } catch {
    break;
  }
}
console.log(`Max WASM memory pages: ${maxPages}`);

One caveat before you read anything into that number: maximum is a declared ceiling, not an allocation. Nothing gets committed. So the loop measures what the engine will accept at declaration time, which is a narrower question than how much memory it would actually hand you. Different engines accept different ceilings, and those ceilings have moved enough over the years that any comparison table you find online probably describes a browser nobody runs anymore.

Memory growth timing is the other half: how long does it take to grow WASM memory by 100 pages? Varies by engine and OS allocator. Noisy. It reads beautifully in a paper abstract and then meets a real laptop with thirty tabs open, where the signal drowns in everything else competing for the allocator.

My opinion, and you're free to disagree: the memory-timing research oversells the technique. Variance is high, and nothing public suggests commercial fingerprinting services weight it heavily. It still belongs in the list. Techniques that live in research papers have a habit of showing up in production eventually. Maybe not this year.

Step 5: Checking a Profile for WASM Fingerprinting Consistency

Check a profile's WASM fingerprinting surface against the browser it declares.

BrowserLeaks has a feature-detection page that dumps your support matrix. No deep link here, since they reshuffle paths. Find it off the homepage, then compare the matrix against what the declared browser version should actually support. That means keeping a version-to-feature reference open in a second tab and eyeballing a handful of rows. You'll get bored around row five, which is precisely where the mismatch will be sitting. Tedious, and also the entire job.

Manual consistency check:

Note the profile's declared browser, say "Firefox on Windows". Look up which WASM features that release supports. The MDN compatibility tables are the place. Bookmark them.

Run the feature detection code above. Verify the results match. When they don't, resist flipping the declared version to whatever the engine reports. That just moves the inconsistency somewhere else.

Annoying? Yes. Necessary? Also yes. Every automated version of this check eventually breaks, because browser versions shift underneath it and the script starts comparing against a matrix that expired last spring.

A profile that declares Firefox while its compile timing and feature set come from V8 is inconsistent, and no amount of User-Agent or Client Hints editing touches it, because none of those surfaces are where the measurement happens.

Engine-level. Period.

JustBrowser's approach is to not have the problem in the first place. It's built on a custom Chromium engine with native C++ integration, patched on every upstream release, so a Chrome profile's WASM behavior isn't imitated: it's what the engine does. Firefox profiles run a real Firefox engine, so they get SpiderMonkey's behavior rather than a Chromium imitation of it. On Chrome profiles, the 40+ identity parameters are engine patches for the same reason: nothing sits in the middle intercepting anything.

That reads like a sales pitch, and it is one, so weigh it accordingly. It makes no promise about how any site will treat a profile. What it gives you is that each profile is its own browser, with its own cookies, storage, proxy and identity parameters, and the engine underneath agrees with what the profile says it is.

Tools that wrap stock Chromium or run as an extension can't change the underlying engine behavior at all. Your mileage may vary, but test before you trust them on anything where WASM consistency matters. For where the extension model breaks down, see the multi-account browser myths breakdown, and for what engine-level consistency buys in practice, the ad verification workflow writeup.

Pricing, since someone always asks: JustBrowser is $9.99/month or $99.99/year, with unlimited profiles and free team seats. Rival pricing changes often, so check each vendor's published page rather than trusting a table in a blog post. That includes Multilogin, GoLogin and AdsPower, which ship their own browser cores. The real differences between them and us come down to which engine, which version, and how current the patches are.

Common WASM Fingerprinting Errors and How to Fix Them

WASM features don't match the declared browser version

Classic. The profile declares an older release, but the engine underneath supports features from a newer one. It happens when a tool updates its engine while the profile metadata stays frozen. That's a tooling failure more than a user one: bumping the engine under someone's profile without telling them their declared version just became inaccurate is a footgun shipped as an update.

Rant over.

Fix: sync the declared browser version with the actual engine version. Sounds obvious. People still miss it constantly.

Compile timing doesn't match the declared engine

A profile declares Firefox but compile timing matches V8. This can't be fixed from JavaScript. Shimming numbers at the CDP layer might satisfy a test that samples the mean, and then it falls over the first time something samples the whole distribution.

If you need Firefox behavior, you need an actual Firefox engine. JustBrowser's Firefox profiles run one; its Chrome profiles run its own Chromium. Pick the profile type that matches the browser you want to present, and the timing takes care of itself.

SharedArrayBuffer availability is inconsistent

The browser reports SAB available on a page without COOP/COEP headers, or unavailable when it should be there. Almost always the tooling, not the site: some extension or helper layer fixing an environment that was never broken. Check your tool's SAB settings, or test on a page you control, where you already know the header state.

Memory limits don't match the expected browser

WASM reports a max-memory ceiling that doesn't fit the declared browser. Rare. If it happens, something is probably overriding browser defaults through flags or environment variables, so read your launch config. One forgotten flag is the usual culprit.

Related hot take: very old declared browser versions are suspicious on their own. A current engine declaring an ancient release invites exactly the mismatches above. Keep profiles current. It's tedious, and it still beats debugging inconsistencies later.

If you're chasing other signals JavaScript can't reach, our CSS feature-detection fingerprint guide covers a close cousin of this problem: same failure shape, different surface.

Why Native Engine Builds Matter for WASM Fingerprinting

Extensions can't fix this. Full stop.

Extensions run in JavaScript. They intercept API calls and modify return values, which works for many fingerprint surfaces. But WASM compilation happens in the engine's C++ code, before any JavaScript runs. An extension can wrap WebAssembly.Module(), log every call, even hand back a different object. None of that changes the microseconds the engine already spent parsing and compiling those bytes.

The clock started before you did.

This is the architectural argument for JustBrowser: a custom Chromium engine with native C++ integration, not a wrapper and not an extension. For WASM specifically, compile timing is real because the engine is doing the compiling. Feature support matches the engine version, because nothing above the engine has the authority to say otherwise. SAB and threading simply behave. No translation layer.

If a tool gives you matching canvas and WebGL results but the WASM surface disagrees, that's the gap to investigate first. The frustrating part is that tools rarely surface WASM mismatches clearly. You're left binary-searching through possible vectors, and half the time wondering whether anyone else has noticed.

Next Steps

WASM fingerprinting is one piece of a broader detection surface. A frustrating piece among many.

If you're testing for consistency and have ruled out the obvious, check:

Cross-product note, because someone always asks. Running ad accounts? ClickzProtect handles bot detection for affiliates and traffic operators. JustAnalytics does privacy-first tracking. JustEmails is custom-domain hosting with a transactional API. VeloCalls covers pay-per-call and IVR routing. None of it required. None of it bundled with JustBrowser: separate products, separate bills.

WASM fingerprinting will get more attention as the canvas and WebGL arms race matures. The signals are reliable and hard to spoof, and most people aren't thinking about them yet, which is odd given that checking costs one console paste and a few seconds.

Opportunity if you're paying attention. Problem if you aren't.

Frequently Asked Questions

How does WebAssembly compilation timing fingerprint browsers?

Different engines compile WebAssembly at different speeds — V8 in Chrome, SpiderMonkey in Firefox, JavaScriptCore in Safari — because each one runs its own tiered optimization pipeline. Time a standardized module and you can infer the engine, plus a rough read on the CPU class underneath it. Larger modules widen the gap between engines. Compile times also drift by CPU generation within a single engine, which is why one measurement tells you far less than a distribution does.

Can websites detect WASM feature support without running code?

Yes. Sites can probe for SIMD, threads, bulk-memory, and other WASM features by attempting to compile small test modules that use those instructions. If compilation fails, the feature isn't supported. This probing happens synchronously and doesn't require executing the WASM — just compiling it. The feature support matrix differs by browser version and OS, making it a fingerprint signal.

Why is SharedArrayBuffer availability a fingerprinting signal?

SharedArrayBuffer enables WASM threads, but only on cross-origin isolated pages — the site has to send COOP and COEP headers, and most sites never bother. So across the open web, SharedArrayBuffer being unavailable is the boring universal baseline. A browser that reports it as available on a page that never enabled it is reporting something a stock browser wouldn't. Binary signal on its own. Combined with the rest of the WASM feature matrix, it adds entropy.

Does blocking WebAssembly prevent fingerprinting?

Blocking WASM prevents WASM-specific fingerprinting but creates its own signal — the slice of real browsers running with WASM switched off is vanishingly small. You'd stand out more, not less. Leaving WASM alone, so its behavior matches the engine the profile declares, is the more consistent choice.

Irony: trying to hide makes you visible. Story of this entire field.


Try JustBrowser

A multi-account browser for teams, built on a custom Chromium engine with native C++ integration, not extension-based. Real C++ engine patches at the canvas / WebGL / audio / font / screen layer keep 40+ identity parameters hardware-consistent instead of faked through JavaScript interception. REST API + CDP for Playwright, Puppeteer and Selenium. Windows x64 and macOS (Apple Silicon).

$9.99/month or $99.99/year. 7-day free trial, card required — cancel any time in the seven days and you are not charged. Unlimited profiles, unlimited cloud sync, unlimited team seats.

Get started → · How it differs from Multilogin / GoLogin / AdsPower

Tags
  • wasm-fingerprinting
  • webassembly-security
  • compile-timing-attack
  • browser-engine-detection
  • multi-account-browser
  • buildinpublic
  • saasstudio
  • aiworkforce
  • buildwithclaude

Try the antidetect browser built for teams

Every profile gets its own fingerprint, cookies and proxy. A 7-day trial, then $9.99/month: one plan, everything included.

We'd like to use Google Analytics, a Google service, to understand how our website is used, and Google Ads and Microsoft Advertising to measure our ads and show them to people who have visited us. They set cookies in your browser and run only if you click Accept. You can change your choice at any time with Cookie settings. Cookie Policy

Sign-in cookies and the cookie that remembers this choice are always on; the website needs them to work.

Google Analytics, a Google service, helps us understand how our website is used, and Google Ads and Microsoft Advertising measure our ads and show them to people who have visited us. They set the cookies _ga, _ga_TVZHQ99TZW, _gcl_au, _uetsid and _uetvid, and, after a click on one of our ads, _gcl_aw or _uetmsclkid. They are now onoff in this browser. If your browser sends a Global Privacy Control or Do Not Track signal, they stay off. Cookie Policy