AliExpress allegedly uses your browser's audio system to fingerprint your PC — hidden code runs even when no sound is playing
Hidden code allegedly gathers detailed device data.
Chinese multinational tech giant Alibaba has been accused of tracking web users after a developer discovered its global online marketplace running hidden audio processes that could be used for sophisticated audio fingerprinting. While investigating an issue with his wireless headphones, Matt Callaghan found that opening an AliExpress webpage in Firefox or Chrome interfered with the multipoint Bluetooth audio feature.
As Callaghan explains in his blog post, “Normally the PC takes priority playing audio, with my phone being able to play audio when nothing is playing on the PC. Usually I listen to music on my phone but with notifications or YouTube playing through the PC.” However, shortly after loading the AliExpress homepage, audio from his phone would stop playing, despite no media playing on his PC. Closing the AliExpress tab immediately fixed the issue, while muting the tab, browser, or Windows did not seem to resolve it.
Their investigation began by inspecting various conventional media elements; however, he did not find any unusual activity. He also zeroed in on the fact that the problem would not begin immediately, but rather after the webpage had been sitting idle for a few seconds. He then moved on to inspect the Web Audio API to wrap the AudioContext constructor so that it would record whenever a page created an audio-processing context. They additionally wrapped AudioNode.prototype.connect() to see whether anything was connected to the context's audio destination.
Eventually, Callaghan found that the page was loading two suspicious scripts named collina.js and fireyejs.js, which appeared to be part of Alibaba's browser security and anti-abuse tooling. With some help from AI during his research, he found that the scripts built a Web Audio graph using a sawtooth oscillator to generate a waveform. An analyzer then measured the results after they passed through the browser's audio implementation, while another script read the resulting frequency data. The scripts also set the volume gain to zero, meaning there was no audible sound or noise, even though the browser continued actively processing the Web Audio graph.
Unlike autoplaying videos, there is no media element playing, which is why the browser's tab mute control does not help. However, the webpage continues performing live audio processing, keeping the Bluetooth audio path active and preventing multipoint Bluetooth headphones from switching between devices. Further investigation also uncovered code collecting information related to screen dimensions, device memory, browser plugins, WebGL rendering, supported audio and video formats, browser performance, mouse events, and more. The scripts also appear to serialize and encrypt the collected data before sending it to Alibaba's telemetry services using fetch() or sendBeacon() functions.
Following the discovery, Firefox said on X that its browser includes built-in protections against fingerprinting. The company pointed to a blog post explaining that Firefox 118, released in September 2023, introduced additional protections against Web Audio-based fingerprinting. Brave also claims to block audio fingerprinting by default. According to the browser maker, it does this by injecting randomized data into the browser's audio output, making the fingerprint appear different to websites and resetting the data between sessions.
Follow Tom's Hardware on Google News, or add us as a preferred source, to get our latest news, analysis, & reviews in your feeds.
Get Tom's Hardware's best news and in-depth reviews, straight to your inbox.
Kunal Khullar is a contributing writer at Tom’s Hardware. He is a long time technology journalist and reviewer specializing in PC components and peripherals, and welcomes any and every question around building a PC.
-
KitsuneKas Reply
You know the legal protections GDPR provides that force companies to allow you to opt out of tracking? Or the standard browser features like Do Not Track flags and deletion of cookies? Or the use of VPNs to hide your IP to prevent IP tracking?Cyberwolf2077 said:I don’t exactly see the problem
Yeah, the problem is that this audio fingerprinting method likely bypasses all those protections and lets the company track you anyway. -
USAFRet Reply
fingerprints browsers and collects detailed device informationHijacking supposed security functions, to control parts of your system that have zero to do with 'security'.Cyberwolf2077 said:I don’t exactly see the problem -
DiegoSynth Quit inventing things against AliExpress, TEMU and Shein.Reply
The page is opening an AudioContext which blocks this guy from listening whatever he intended to listen. Yes, it can happen. There are a million pages that open different things, there are a million pages with code errors, legacy scripts, etc.
From there to claim that they are recording through blueetooth the waves to analyze who knows what is a total stretch. Stop writing fiction.
What about Google? Microsoft? What about privacy? What about Incognito Mode? What about the phones listening and recording while idle? What about using children and adults without consent with Pokemon to create maps of the planet for free? What about the Captchas? What about AI, the layoffs and everything that is allowed to happen?
Go and produce something useful instead of being butt-hurt because of AliExpress, TEMU or Shein. Quit adding ridiculous taxes and start local production instead. This go to the EU and whoever else (yes...) it may apply to. -
DiegoSynth Exactly!Reply
Windows, Google, phones and plenty other companies are doing much worse than what is speculated here (that it's obviously not true), and nobody says anything. Telephones are constantly listening, recording and using this information. We all know it, and it's "ok". No laws, no penalty, nothing.
Now AliExpress produces and sells accessible things so people who cannot afford expensive brands have an alternative and: let's sue them, let's regulate them, let's restrict them, let's punish them.
Yeah, the world we live in. -
Tanakoi Reply
The US doesn't keep three million of its own citizens in slave-labor genocide camps (the exact words of the UN Human Rights Commission). The US doesn't employ an army of two million people to censor what you can see and post to the Internet.strategy1500 said:...but when they see other countries or companies do things they don't like, they will make a huge case.
Did you read the article? It's not just "opening an audio context". It's playing sounds -- at zero volume, no less -- and analyzing the result. It's also collecting and transmitting back dozens of other datapoints besides the audio. Oh, and it's waiting to do this all until the page has been idle a few seconds, to reduce the chance a user might associate this activity with AliExpress itself.DiegoSynth said:Quit inventing things against AliExpress, TEMU and Shein.
The page is opening an AudioContext which blocks this guy from listening whatever he intended to listen. Yes, it can happen... -
bit_user Straight from the blog post:Reply
The oscillator generates a known waveform. The analyser measures the result after it has passed through the browser's audio implementation, and the script reads frequency data from it.
This part intrigues me. I wonder what's the intended purpose of that capability, or is it just some kind of accident that the audio playback API lets web pages do that sort of thing? What parts of the "audio implementation" does it include? Is it just the bit-depth and sample-rate conversion for the browser to sync up with the OS' audio device? I'd expect the browser should be sufficiently isolated from the bluetooth codec itself that it couldn't see the effect of its compression. -
Air2004 Reply
Nice deflection/redirection. Are you a real person or bot ? Honest question.DiegoSynth said:Quit inventing things against AliExpress, TEMU and Shein.
The page is opening an AudioContext which blocks this guy from listening whatever he intended to listen. Yes, it can happen. There are a million pages that open different things, there are a million pages with code errors, legacy scripts, etc.
From there to claim that they are recording through blueetooth the waves to analyze who knows what is a total stretch. Stop writing fiction.
What about Google? Microsoft? What about privacy? What about Incognito Mode? What about the phones listening and recording while idle? What about using children and adults without consent with Pokemon to create maps of the planet for free? What about the Captchas? What about AI, the layoffs and everything that is allowed to happen?
Go and produce something useful instead of being butt-hurt because of AliExpress, TEMU or Shein. Quit adding ridiculous taxes and start local production instead. This go to the EU and whoever else (yes...) it may apply to. -
DiegoSynth Reply
Yes, I read it, and I also read it's speculation as they are trying to guess what it actually does, but they can't confirm. Playing sounds at zero volume and analyzing the result? They must have a lot of free time :)Tanakoi said:The US doesn't keep three million of its own citizens in slave-labor genocide camps (the exact words of the UN Human Rights Commission). The US doesn't employ an army of two million people to censor what you can see and post to the Internet.
Did you read the article? It's not just "opening an audio context". It's playing sounds -- at zero volume, no less -- and analyzing the result. It's also collecting and transmitting back dozens of other datapoints besides the audio. Oh, and it's waiting to do this all until the page has been idle a few seconds, to reduce the chance a user might associate this activity with AliExpress itself.
Also: to analize audio (as a waveform) they have to record, which involves enabling an input device from the client's computer. That can only be done with the user's authorization (go to google meet, try to start a meeting, it will ask you if you authorize the usage of microphone and camera; if you say "no", they cannot record).