Skip to Content
Fingerprint ProtectionAudio Fingerprinting

Audio Fingerprinting

The Web Audio API exposes device-specific audio processing characteristics. BotBrowser provides profile-backed noise protection for supported AudioContext output paths.


Prerequisites


Quick Start

chromium-browser \ --bot-profile="path/to/profile.enc"

Overview

Web Audio API output can be used as a tracking identifier because it varies across devices and platforms. BotBrowser applies profile-driven audio values and noise to supported output paths.


Configuration

Audio Surface Mode

--bot-audio selects how the Web Audio surface is served. The default is profile.

# Use the profile-backed audio identity and parameters (default) --bot-audio=profile # Pass the host audio stack through without profile audio values --bot-audio=real

In profile mode, audio node structure and analyser parameters follow the profile, together with the noise controls described below. In real mode the host audio stack passes through and profile audio values, including audio noise, do not apply. The behavior mirrors --bot-webgl and --bot-webgpu. The legacy alias --bot-config-audio is still accepted.

Platform Audio Processing

Mac ARM profiles preserve the target architecture’s audio math and resampling behavior when BotBrowser runs on other supported hosts. Keep the host toolchain and the profile on supported versions when comparing results.

Audio Buffer and Latency Preference

In profile mode the buffer the profile declares is served per the page’s latency preference, so requests that ask for a different latency profile get correspondingly different buffer sizes rather than one fixed value. If the page requests an explicit duration, that request outranks the profile value.

Enabling/Disabling Audio Noise

AudioContext noise is enabled by default. To control it explicitly:

# Enable audio context noise (default) --bot-noise-audio-context=true # Disable audio context noise --bot-noise-audio-context=false

Noise Seed for Reproducibility

Use --bot-noise-seed to produce a specific, reproducible audio fingerprint:

# Each seed produces a unique but stable audio fingerprint --bot-noise-seed=42

The noise seed affects AudioContext output alongside Canvas, WebGL, and other surfaces simultaneously.

Cross-Worker Consistency

The same BrowserContext applies its audio policy across supported main-thread, Web Worker, and Service Worker paths.


How BotBrowser Provides Protection

BotBrowser applies profile-controlled noise to supported Web Audio output at the browser engine level. The policy covers supported audio properties, processing results, and frequency data. The same BrowserContext applies it across supported page and Worker paths.


Effect Verification

To verify protection is active:

  1. Launch BotBrowser with a profile and visit a fingerprint testing site such as BrowserLeaks or CreepJS.
  2. Confirm that the reported AudioContext hash and audio processing values match the profile configuration, not the host machine.
  3. To verify reproducibility, launch two sessions with the same profile and --bot-noise-seed on the same host path, then compare the audio fingerprint output.

Troubleshooting / FAQ

ProblemSolution
Audio fingerprint changes between sessionsUse --bot-noise-seed with a fixed value for reproducible output. Without a fixed seed, noise varies per session by design.
Audio fingerprint matches raw system outputVerify the profile is loaded with --bot-profile. Check for startup errors. Confirm --bot-noise-audio-context is not set to false.
Different audio hash in Worker vs main threadThis should not happen with BotBrowser. Check that the profile is loaded and noise is enabled. Report the issue if it persists.
AudioContext not availableSome headless configurations may not initialize audio. Ensure the BotBrowser binary supports audio in your deployment mode.

Next Steps


Related documentation: Advanced Features: Multi-Layer Fingerprint Noise | AudioLab Forensics Tool | CLI Flags Reference


Legal Disclaimer & Terms of Use • Responsible Use Guidelines. BotBrowser is for authorized fingerprint protection and privacy research only.


Related BotBrowser blog: Audio Fingerprinting Explained: How AudioContext Tracks You | Web Audio API access and audio workflows

Updated