BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News Audio Fingerprinting Discovered on Alibaba Websites While Debugging BLE Multipoint Disconnects

Audio Fingerprinting Discovered on Alibaba Websites While Debugging BLE Multipoint Disconnects

Listen to this article -  0:00

A hardware side effect in multipoint Bluetooth audio has exposed silent device fingerprinting routines executing on the AliExpress homepage. While debugging why multipoint headphones consistently failed to relinquish audio focus from a desktop browser to a smartphone, developer Matt Callaghan discovered that Alibaba's storefront maintained an active audio stream without playing perceptible sound. Deobfuscation of the page assets revealed tracking routines embedded inside Alibaba’s AWSC anti-bot suite, reviving architectural concerns surrounding the Web Audio API's security model.

The culprit scripts, including collina.js and fireyejs.js, construct a synthetic Web Audio processing graph designed to capture hardware-dependent execution artifacts. Audio fingerprinting operates by feeding a known waveform through mathematical transformation nodes. Because digital signal processing routines evaluate across diverse floating-point units (FPUs), instruction sets (such as AVX or ARM NEON), operating system mixing engines, and vendor drivers, the resulting frequency domain output exhibits minute numerical variations unique to a user's specific hardware and software stack.

 

AliExpress routed this pipeline through a gain stage set to zero volume while still binding the graph directly to the primary hardware sink:

const ctx = new (window.AudioContext || window.webkitAudioContext)();
const osc = ctx.createOscillator();
const compressor = ctx.createDynamicsCompressor();
const analyser = ctx.createAnalyser();
const gain = ctx.createGain();

gain.gain.value = 0.0;
osc.type = "triangle";
osc.frequency.setValueAtTime(10000, ctx.currentTime);

osc.connect(compressor);
compressor.connect(analyser);
compressor.connect(gain);
gain.connect(ctx.destination);

osc.start(0);
const buffer = new Float32Array(analyser.frequencyBinCount);
analyser.getFloatFrequencyData(buffer);

 

By connecting the zero-gain GainNode to ctx.destination, the script initialized an unmuted platform-level audio stream, preventing host operating systems from transitioning into an idle state and locking Bluetooth multipoint routing.

Privacy-centric browser vendors responded to the incident by contrasting their respective defensive models. Brave publicly addressed the tracking technique, stating that "AliExpress wasn't recording users but instead playing a silent sound and measuring how users' specific devices processed it in order to fingerprint them". Brave mitigates this vector through "farbling," an approach that dynamically injects deterministic pseudo-random noise into audio rendering buffers, thereby ensuring that extracted frequency data varies unpredictably across browser sessions without breaking audible web applications. In contrast, Firefox employs mathematical bucketing and canonical normalization under its advanced anti-fingerprinting configurations (privacy.resistFingerprinting), forcing audio processing routines into standardized precision bins to eliminate FPU-level variance.

The incident highlights a persistent structural permission gap within modern W3C specifications. Unlike sensitive browser interfaces such as getUserMedia or the Geolocation API, initializing an AudioContext and rendering synthesis graphs requires no explicit permission prompt. Furthermore, browsers lack visual indicators—such as address bar speaker icons—when an active audio graph outputs samples at zero amplitude.

This architectural blind spot complicates enterprise security engineering. E-commerce platforms deploy client-side risk-scoring scripts to mitigate account takeovers, coupon abuse, and automated credential stuffing. However, without formal capability controls or standardized isolation mechanisms for anti-fraud telemetry, passive anti-bot defenses risk colliding with physical device state and compromising baseline user privacy expectations.

About the Author

Rate this Article

Adoption
Style

BT