Seatext library / BotRefund evidence
Which WebWorker APIs leak the most identifying information?
WebWorkers expose hardware concurrency, canvas support, timing precision, and origin details. This article ranks the highest-signal leaks, explains how they work, and provides a decision framework for detection.
✓ Built for advertisers who need clear, refund-ready traffic evidence.

Highest-signal WebWorker leaks
WebWorkers run in a separate global context. Several built-in APIs in that context reveal device or browser details. These details help fingerprint a visit. Advertisers and security teams use them to spot bots.
navigator.hardwareConcurrency
This property returns logical CPU core count. It is stable across sessions. Browsers rarely change this value. It is available in main threads and workers. This consistency makes it a strong signal.
OffscreenCanvas support
The API presence indicates browser age. It helps distinguish desktop from mobile builds. Not all environments support it. Its availability varies by version. This variation creates a detectable marker.
BroadcastChannel and MessagePort
These APIs enable cross-thread communication. Their existence shows messaging capabilities. Browser versions affect availability. Configuration differences impact behavior. This info helps infer environment type.
performance.now() precision
High-resolution timing reveals system clock details. It shows scheduler behavior across OS. Variations exist between hardware. This precision helps identify specific setups.
self.origin consistency
The origin string mirrors the main page. Inconsistencies suggest sandboxing. Extensions might alter this value. Custom environments show unexpected results. This helps detect non-standard setups.
| API | Leak type | Detectability | Stability |
|---|---|---|---|
| navigator.hardwareConcurrency | CPU core count | High | Very stable |
| OffscreenCanvas | Graphics capability | Medium | Version-dependent |
| BroadcastChannel | Messaging capability | Medium | Browser-version tied |
| performance.now() | Timing precision | Medium | OS-dependent |
| self.origin | Origin identity | Low - Medium | Context-dependent |
Why these leaks matter for security
Security teams use these signals to spot automation. Bots often behave differently than humans. They lack natural timing or hesitation. These APIs expose the underlying system. That data helps build a user profile. A single value rarely proves bot activity. But combined signals create strong evidence. BotRefund uses 110+ forensic signals. WebWorker leaks are one part of that. This helps separate real visits from fake ones.
How bots exploit Worker APIs
Automated scripts run in workers silently. They access these APIs without user interaction. This avoids typical detection methods. Bots mimic human clicks but struggle with timing. They can reproduce hardware stats easily. But they miss natural pauses. This mismatch helps detection systems. Scripts send clicks and scrolls. They fail to copy varied movement. This creates an objective fact about the visit.
Decision framework for detection
Assess your site's worker exposure with this list.
- Check
navigator.hardwareConcurrencyinside a worker. Compare it to the main thread value. Mismatches suggest virtualized environments. - Test for
OffscreenCanvasavailability. Its presence signals newer browsers or specific backends. - Listen for
BroadcastChannelmessages. Unexpected channels hint at third-party scripts. - Measure
performance.now()precision. Compare timestamp deltas to expected OS ranges. - Verify
self.originmatches the page. Deviation warrants sandbox or extension checks.
Use these checks to audit your fingerprint surface. This helps identify unexpected worker leaks.
Limitations and caveats
Not all workers expose these APIs. Some sandboxed environments strip properties. Browser updates change availability. Periodic re-checking is needed. Privacy tools or travel can alter signals. Corporate networks might affect behavior. BotRefund treats these as evidence, not verdicts. They cross-check against other data. This prevents false positives from genuine users.
Frequently asked questions
- Why does
navigator.hardwareConcurrencymatter? It provides a stable numeric identifier. Combine it with other signals for a persistent fingerprint. - Can
OffscreenCanvasbe disabled? It is a browser feature flag. If disabled, the API is undefined. - Is
performance.now()precise enough alone? No. Pair it with other signals to be meaningful. - Do all browsers support
BroadcastChannel? No. It launched in Chrome 50 and Firefox 53. - Can I block these APIs? You can override them, but this may break worker functionality.
- Does a different worker origin change the leak? Yes. The property reflects the registration origin.
- Is there a way to test my site? Open the developer console. Create a worker. Log the API values.
Further reading and comparison sources
These external sources provide context on detection and refund processes. Their inclusion is not an endorsement.
Further reading and comparison sources
These external sources provide additional context for evaluating the topic. Their inclusion is not an endorsement.
Learn more
Visit the website for more information.
Ready to Take the Next Step?
See how our verified tools and services help you put this guide into practice.