Remix.run Logo
AliExpress runs silent WebAudio fingerprinting that breaks Bluetooth multipoint(blog.laserphile.com)
592 points by emctech 7 hours ago | 197 comments
lxgr an hour ago | parent | next [-]

I wish such shenanigans would simply trigger the little speaker icon most browser display on tabs these days.

Given that they don't (at least in my experience), I'm assuming "playing silent audio" is a sufficiently common thing for websites to do to have motivated browsers into doing the slightly more complicated thing of actually analyzing audio streams for content...

Now I wonder, does this also allow websites to continue running in the background on mobile browsers? Playing media is one of the very few things that can convince iOS Safari to keep a tab running indefinitely, in my experience.

nubinetwork 30 minutes ago | parent | next [-]

It does on my Firefox, I had to close their tab because it also tricks kde into thinking I'm playing audio.

emctech an hour ago | parent | prev | next [-]

I wonder if it is something firefox and chrome devs need to look at because if it is accessing the audio device surely it should be notified to the user.

lxgr 44 minutes ago | parent [-]

As I mentioned, I suspect that this is an active choice, as just displaying the icon whenever a media context exists seems much easier than inspecting the audio stream for non-zero volume media.

I can only assume that there are legitimate reasons for this as well, e.g. websites preparing/maintaining audio context for lower latency when they intermittently play audio etc.

emctech 27 minutes ago | parent [-]

Someone else mentioned that cloudflare uses the webaudio for verification challenge, but only triggers it briefly.

lxgr 26 minutes ago | parent [-]

Ugh... Seems like we need an audio API web permission, or maybe do something like browser already do for some of the other APIs and actually require API users to actually play something or display a warning/play an annoying chime otherwise.

pmontra 21 minutes ago | parent | prev | next [-]

The speaker icon would be handy but I think that it depends from both the good will of Firefox and the installed add ons. Of course if an add on blocks the audio file there is no need to display the speaker icon for that file.

To give you the idea of what is going on, this is what uMatrix shows about www.aliexpress.com in my Firefox browser on my laptop. It would be more difficult to copy and paste from uMatrix on my Android phone. It shows a number of sites. Nothing in first party and these that I must fully enable to make the site work (css, image, script, xhr)

* aliexpress.com

* ase.aliexpress.com

* it.aliexpress.com (my country two letters domain)

* umdc-global.aliexpress.com

* aidcgroup.net

* ase.aidcgroup.net

* 67372.ase.aidcgroup.net

* alibaba-inc.com

* epss.alibaba-inc.com

* alicdn.com

* ae01.alicdn.com

* assets.alicdn.com

* aliexpress-media.com

* ae-pic-a1.aliexpress-media.com

* assets.aliexpress-media.com

* aliyun.com

* acjs.aliyun.com

Scary list, right? According to google aidcroup is

> Alibaba International IPP Platform

> https://ipp.aidcgroup.net

> Alibaba International is committed to the protection of intellectual property rights. Right holders and their agents can enforce intellectual property ...

Let me add a /s to the last line

There are two more sites that I can completely block

* googlesyndication.com

* pagead2.googlesyndication.com

so even Alibaba runs ads on Google.

I did not instrument the browser like the author of the post did, so I don't know where the audio comes from. There is nothing listed in the media column of uMatrix. This does not mean that the post is inaccurate. It could be that the browser gets the audio stream from a request in one of the other categories.

uBlockOrigin blocks two of other requests.

1. https://g.alicdn.com/code/npm/@ali/gmod-pop-disclosure-code/...

and this one that I anonymize

2. https://aplus.aliexpress.com/g.gif?logtype=0&title=WebPush Permission&pre=https://it.aliexpress.com/?gatewayAdapt=glo2ita&scr=1920x1080&_p_url=https://it.aliexpress.com/wp.html&cna=<whatever cna is>&category=&aplus=&$${beacon_mini}$$=&yunid=&=&trid=<trid>&asid=<base64 stuff>$${get_sign}$$&p=1&o=linux&b=firefox153&s=1920x1080&w=gecko&ism=other&cache=<7 letters>&lver=8.15.25&jsver=aplus_std&pver=0.7.12&_pw=0&_ph=0&tag=1&stag=-1&lstag=-1&_slog=0

Probably the audio file is coming from one of the unblocked requests but my Debian laptop does not pair with my Bluetooth earpieces so I can't test it.

downrightmike 44 minutes ago | parent | prev | next [-]

I wish the browser would classify the fingerprinting and not load the site and show a security risk warning like it does for http sites. Then Advanced > Accept risk to continue.

@FireFoxDudes You need to be addressing fingerprinting

miki_oomiri 36 minutes ago | parent [-]

How? How would a browser "know" what classifies as finger printing? Literally every piece of the engine is used for finger printing.

It can be mitigated, a bit, but I don't see how browsers can win that battle.

Finger printing is a lost battle in my opinion, unless we drastically reduce what a web engine can do (like Tor does).

lxgr 27 minutes ago | parent | next [-]

I feel like there are two levels of fingerprinting here, and a lot of the confusion is downstream of not properly distinguishing them:

There's the kind that tries to find out what browser vendor, OS, and sometimes hardware you use, and the kind that tries to identify you across visits, unrelated origins etc.

I agree that the former is probably inherently impossible to avoid to a large extent, but the latter is both a bigger privacy issue and at least in theory possible to prevent.

bigbuppo 25 minutes ago | parent | prev [-]

Just assume any site using javascript is using it for nefarious purposes.

ryandrake 37 minutes ago | parent | prev [-]

It's insane that browsers just hand over API access to my microphone and/or camera to rando web developers. Yes, I know things like Zoom exist. IMO software like that simply shouldn't be possible on browsers, period.

Making the browser into a general purpose system SDK was a mistake--maybe the biggest mistake in personal computing's history.

lxgr 25 minutes ago | parent [-]

This issue is about audio output. Audio and video input are both behind per-site permissions.

pteraspidomorph 16 minutes ago | parent [-]

Also, people can and should go to the firefox settings > Permissions and data > Autoplay and change the Default for all websites to "Block Audio" (at least).

You can set per-hostname exceptions if you like! CTRL + I > Permissions

mgerdts 4 hours ago | parent | prev | next [-]

With my previous hearing aid I noticed that visiting a wide variety of web sites would cause a change in the amplification of environmental noise. I always assumed it was doing something with Bluetooth, and probably not for a good reason. This is with an iPhone 13 and one Kirkland/phonak hearing aid.

I haven’t noticed this recently, but I also now have two newer Phonak hearing aids and a few iOS updates have happened. Maybe the silent Bluetooth shenanigans are less disruptive to my new aids or the programming is different. Surely shenanigans continue.

jonathanlb an hour ago | parent | next [-]

I wear Phonak CI processors. It's not just you. I've also experienced the volume drop on a few sites and apps. The Amazon iOS app does this. Each time I leave the app, ambient audio returns to normal.

phoghed 44 minutes ago | parent [-]

They’re kindly turning down the background noise so you can focus on shopping and buying more stuff.

KennyBlanken 44 minutes ago | parent | prev [-]

It seems far more likely that your cheap hearing aids are sensitive to certain RF frequencies and the background javascript is causing different patterns of load on the phone's CPU.

I would suspect that this only happens when you're charging and it is likely the charger or cable not being properly shielded.

patspam 6 hours ago | parent | prev | next [-]

I noticed in the last few weeks that if I’d recently opened the AliExpress iOS app (ie. it was backgrounded) my car audio would freak out thinking I was giving it an audio command. Killing the AliExpress app immediately fixed the problem. After seeing it happen more than once I assumed it was something dodgey and uninstalled the app.

lukeify 6 hours ago | parent | next [-]

I cannot ever imagine installing something like AliExpress as an app.

ivanjermakov 4 hours ago | parent | next [-]

Not sure if they still do, but a couple years ago prices in the app were lower than on the website. And they promoted installing it to save money.

wongarsu 3 hours ago | parent | next [-]

I believe the prices are the same. But the app has a number of "games" to collect tokens that get credited as discounts. Seems to be mostly stuff designed to get you to open the app daily and browse their offers. Which might be "innocent" if it's just to get you to buy more stuff, or maybe they have more reasons they want you to have the app open. Who knows

At least Aliexpress doesn't have all the fake slot machine type games that temu has that always end in variations of "get $200 of discounts for your next order if you order x items from this list"

ornornor 2 hours ago | parent [-]

There are few things more scammy than AliExpress “discounts”. I have yet to see a cent of the hundreds of dollars of “savings” they gave or advertised to me.

phoghed 42 minutes ago | parent [-]

Very true, I almost never use Ali Express because I have no clue what anything is going to cost until I get to roughly the final step of checking out.

imzadi 2 hours ago | parent | prev | next [-]

They also don't give you a proper tracking number. The only way to track your shipment is in the app.

jhoechtl 2 hours ago | parent | next [-]

This is not correct. I do not have the app and get tracking for my orders.

imzadi 2 hours ago | parent [-]

I get email updates but whenever I click the track link it tells me I need the app.

ssl-3 an hour ago | parent | next [-]

I have a package on the way with AliExpress. It is headed from somewhere in China to somewhere in the US.

Using my computer just now, I looked at one of the emails that AliExpress sent about this order. It had a clickable tracking number displayed; I clicked it.

That brought me to their website, where I landed on a page that included the last update for my order and also a link to "View Details".

That works for me. It was very easy to where along the line my stuff is (and that it is not in the US yet).

---

Meanwhile: I also copied the tracking number from the email. I pasted that tracking number into the box at usps.com.

The USPS knows of my tracking number and they do not have my item yet. Fair enough.

I ticked some boxes and told them to send me updates, which I'm sure they'll do once they have updates to send -- just as they have done for ~decades now.

This also works for me.

KennyBlanken 41 minutes ago | parent [-]

Many sites will work fine in a desktop browser but refuse to do anything in a mobile browser, demanding you install their app or just immediately redirecting you to the iOS or Android app store.

MobiusHorizons 2 hours ago | parent | prev | next [-]

It does show a popup to that effect, but if you dismiss it you can still see the tracking info. Definitely annoying, but not unworkable.

tjoff 2 hours ago | parent | prev [-]

If on mobile, ticking "desktop mode" in your browser usually goes around that dark pattern.

wongarsu an hour ago | parent | prev [-]

Depends on the shipping company, and likely on your location. I get tracking numbers for most but not all shipments

ahofmann 3 hours ago | parent | prev | next [-]

Now we know why...

coldtea 3 hours ago | parent | prev | next [-]

And someone would install random apps to save $5 on $100 purchases?

fckgw 2 hours ago | parent | next [-]

"random apps" and it's the largest eCommerce company on the planet

imzadi 2 hours ago | parent | prev | next [-]

When I did customer tech support for a major retailer, we had confused customers calling all the time because they would randomly get price-match refunds they never asked for. They were installing apps that were automatically requesting the refunds by searching their emails for orders and checking the prices on the websites. These people had no idea they had even given these apps permission to read their emails.

ivanjermakov 3 hours ago | parent | prev | next [-]

You'd be surprised on what general public can go to save $5.

vlachen 3 hours ago | parent [-]

I mean, I'm haunted by the things I did for a Klondike Bar.

account42 an hour ago | parent | prev [-]

eBay keeps pushing their app with a $5 discount, advertised using a focus-stealing popup interrupting your attempt to give them money, so some people must be taking the bait.

MallocVoidstar 2 hours ago | parent | prev | next [-]

It's still the case that you pay less in the app. You get 'coins' for a daily check-in, which are automatically(?) applied as a discount. Most items either don't actually use them or only give you a pointless 1% off or something, but I've gotten a $12 microcontroller for $5, for example. I think some coupons are app-only, too (though most aliexpress sales are fake and are better thought of as the normal price).

stackghost 2 hours ago | parent [-]

>You get 'coins' for a daily check-in, which are automatically(?) applied as a discount.

This should be illegal

rigrassm 3 hours ago | parent | prev [-]

> Not sure if they still do, but a couple years ago prices in app were lower than on the website. And they promoted installing it to save money.

Translation: They are able to mine your personal data more completely with an app installed vs the website which they can sell for pure profit. They promoted installing it to extract more value from you.

swores 3 hours ago | parent | next [-]

That's definitely a feasible explanation (and the one I would assume to be true for AliExpress).

But there is another, slightly less evil, explanation that I know at least some companies have pushed their apps because of: the thinking is that if you're on their website, there is less friction to open a new tab and search for a lower price from their competitors, than if you're in their app. Obviously it's hardly any different - opening a new app (the web browser) vs. opening a new tab in the app you're already in - but the theory is that there's a slight psychological difference.

Of course I'm not saying that trying to prevent your customers from searching for better deals is a nice thing to do. Just adding that data mining isn't the only reason for some companies to want people to use their apps.

WarmWash 2 hours ago | parent | prev [-]

It also all goes to the party, who are the owners of Alibaba (and every other company in China).

Should you ever need someone in a foreign country to do something for you, it's good to have as much information as possible at your disposal about them.

BatteryMountain 2 hours ago | parent | prev | next [-]

Absolutely crazy the amount of dodgy apps people install and giving permissions to read the system when asked...

GJim an hour ago | parent [-]

Yesterday on here, somebody was demo'ing a sun clock website that asks for your position.......

....and yes, many HN'ers were clearly happy to give there precise GNSS coordinates to some random scrote who askes for them.

jusssi 2 hours ago | parent | prev | next [-]

A lot of people install TikTok. Or Instagram.

unixhero 6 hours ago | parent | prev | next [-]

It's great for shopping. But in the US you have amazon prime. We don't.

dogman1050 5 hours ago | parent | next [-]

I have Prime, but I can't imagine installing the Amazon app either. The website works just fine.

nntwozz 5 hours ago | parent | next [-]

This is the way. It's prudent to treat apps with skepticism, it's unfortunate it's come to this.

I study Apple's Privacy Nutrition Labels religiously every time I consider installing an app.

I like the ones with "Data Not Collected".

woadwarrior01 3 hours ago | parent [-]

I'm an app developer and all my apps have the "Data Not Collected" privacy nutrition label. I love the idea, but Apple's enforcement of it is very lackadaisical. I've reported dozens of apps that were blatantly lying on their privacy nutrition labels to Apple and I'm yet to see any such app's nutrition label change.

Here's a good overview of the problem: https://arxiv.org/abs/2206.02658v3

voakbasda 3 hours ago | parent [-]

Why have rules (or laws) if they don’t enforce them? Or only enforce them selectively when they feel it necessary, such as when not doing so would threaten your stock price (or re-election campaign)? Maybe I just answered my own question?

Reminds me of meat processing regulations. I can sell my animals whole to buyers through a custom processing exemption, but they must go pick up their meat from the butcher. The law says I cannot pick up and deliver it, but it is trivial to find people advertising that extra service. Reporting them does not result in any obvious action.

In both of our cases, our honesty is a liability in the marketplace, because people are ignorant of such laws (or simply don’t care). Really, they simply want the product that they want, as conveniently as possible. We are then forced to compete in the marketplace with liars and cheats.

I am sure our peers here can find countless examples in other areas where this flavor of dishonesty prevails. Hell, I would love to hear some counter examples, because I cannot help but view this state of affairs as intentional at this point.

The purpose of system is what it does (or, in this case, does not do).

otherjason 3 hours ago | parent [-]

The cynical way to look at this is that the purpose of the system (the privacy nutrition label) is to support Apple's carefully-crafted and -marketed image as the most privacy-focused of the tech giants. Actually having enforcement of the contents of said labels would be a nice potential byproduct of that, but that's not strictly required to accomplish the system's purpose.

manbash 4 hours ago | parent | prev | next [-]

With Firefox, yes. I wouldn't fully trust other browsers to care about my privacy.

AstralSerenity 4 hours ago | parent [-]

Using web apps on Firefox really is the way given its support for uBlock Origin.

Screen real estate is precious on phones, so being able to permanently block "Install our app!" and even entire navigation categories (shorts on LinkedIn) is quite valuable.

Then you can "install" the site on your home screen or simply place it in collection folders so it's sitting ready on your "New Tab" page.

HPsquared 4 hours ago | parent | prev | next [-]

I think you need the app to use the delivery lockers (which I prefer over home delivery)

boobsbr 3 hours ago | parent | prev [-]

AFAIK, the app is just the website in a webview.

embedding-shape 5 hours ago | parent | prev | next [-]

I don't have Amazon Prime (nor am I in the US) yet use Aliexpress perfectly fine on my mobile phone without using an app. Frankly, I don't understand how the two is related at all?

doubled112 5 hours ago | parent | next [-]

AliExpress won't allow me to open most pages in the account section on my iPhone. Instead I get a page telling me to install the app.

While browsing, there are also popups offering the app approximately every third link I click. Some of them are telling me to install the app.

Unless the situation has changed recently, it's not perfectly fine, it is unusable on purpose.

emctech 5 hours ago | parent [-]

AE website on mobile is terrible, they basically force you to use the app. I exclusively use the website on my PC

whstl 5 hours ago | parent [-]

So they're pulling a Reddit, basically.

"The app is great because the website is heavily degraded".

deepsun 44 minutes ago | parent | next [-]

Reddit is fine, just a small popup at the bottom. Facebook kn the other hand turned off most functions on mobile, e.g. chat. Good thing though if you don't use the chat long enough, friends start using other means of communication.

pudgywalsh 29 minutes ago | parent [-]

Reddit is NOT FINE. They throw up full page modals now telling you to continue in the app.

Ntrails 4 hours ago | parent | prev [-]

I just request the desktop site, it's fine

coldtea 3 hours ago | parent | prev [-]

Both are web stores. Both have websites AND apps.

They are compared / contrasted. Nobody is saying one is concretely related to the other.

fragmede 5 hours ago | parent | prev [-]

Where is "we"?

ngl999 5 hours ago | parent | next [-]

Likely the place where people are "willing to trade privacy for convenience", according to Baidu's CEO.

stinos 2 hours ago | parent [-]

I always wonder if it's worth it. Like: is it actually convenient, or is it 'solving' inconveniences which actually do not exist or didn't exist before using the service? I have never used Prime or AliExpress but also don't consider our typical shopping very inconvenient. And the most inconvenient parts are actually the ones which seem necessary to to get the proper goods (from past weeks: vegetables/fruits/shoes - it's not really possible to order that online and get exactly what we want). And everything else is available from other webshops.

rcruzeiro 5 hours ago | parent | prev [-]

According to their profile: Norway

croes an hour ago | parent | prev | next [-]

But isn’t the promise of the app store that the apps are checked for malicious code and more control of the permissions compared to a browser website?

lovestory 5 hours ago | parent | prev [-]

You probably buy things off amazon that are dropshipped from AliExpress all the time. Stop with the elitism

63stack 5 hours ago | parent | next [-]

This is not about the products that are shipped, but the app itself. I would caution people to never install it as well.

aureate 5 hours ago | parent | prev | next [-]

I buy directly from AliExpress all the time. I wouldn't install their app.

4chandaily 2 hours ago | parent | prev | next [-]

I can't imagine ever wanting to install an amazon app either. Both of these stores have perfectly functional websites. What would I gain installing their spyware? Also, why so defensive?

Kwpolska 2 hours ago | parent | prev | next [-]

In first world countries, buying from a local reseller grants you customer rights (like returning or replacing defective items).

lxgr an hour ago | parent [-]

Not if the local reseller simply calls itself a marketplace and logistics company and the local regulator lets them get away with it.

Amazon, in my experience, does arbitrate disputes about returns and defects, but the important point is that from a legal perspective, I don't think they have to, so you're at their mercy.

You can't even be sure that VAT is handled correctly, which local retailers can usually not get around.

mark_something 4 hours ago | parent | prev | next [-]

On AliExpress I see things like 64 TB (no, not GB!) USB flash drives for less than 10 euro, obviously a scam. I also see less spectacular products but still good looking deals, but without a brand name so you can't search the web for reviews.

On Amazon I never see products like that. That's why I prefer Amazon (and Coolblue and bol.com in Belgium).

subscribed 3 hours ago | parent | next [-]

I see this kind of fakes on eBay or Amazon all the time. It's even harder to report it than on AliExpress and I never had an obvious report of fakes upheld (AND eBay warns they will forward your identity to the seller. Great thing if the organised crime is involved in this)

Case in point, fake 2TB Sandisk ExtremePro microSD:

- £17 on eBay: https://www.ebay.co.uk/itm/336728033240 - even the images prove it's a fake (also $570 on sandisk.com)

Agreed, there's more of that on AliExpress but Amazon is not free from that either.

kees99 4 hours ago | parent | prev [-]

Few years back, Amazon had a rampant "fake USB storage" problem too. Then, one day, all the fakes were gone, just like that.

voakbasda 3 hours ago | parent [-]

If you believe that, I have some USB storage to sell you. Huge capacity, barely used. I keep my inventory in storage under this bridge, which I also happen to have for sale. Interested? ;)

prartichoke 3 hours ago | parent | prev | next [-]

I cannot imagine installing amazon as an App as well. It's a website

somehnguy 4 hours ago | parent | prev | next [-]

Having bought many things off AliExpress over the years I can say with complete confidence that I've never made a purchase on Amazon that was dropshipped from Ali. The shipping times are far different and it would be immediately obvious.

rootusrootus 3 hours ago | parent | next [-]

Yeah it would be hard to hide. When I order from AliExpress it arrives via Chinese carriers I have never even hard of, and about half the time the final delivery is through a Chinese gig delivery company that must pay practically nothing to the driver because they will usually drive up in front of my house and chuck the package out the window onto my front lawn.

subscribed 3 hours ago | parent | prev [-]

I've ordered things from AliExpress shipped from the local warehouses (2-3 days delivery) ; I've ordered things on Amazon UK that were fulfilled and shipped from Amazon UK that were delivered in 3-5 working days.

Not a £1 tat, and not one off. Not that AliExpress is my choice, no, far from it. Sometimes it's better, closer to the manufacturer, that's all.

ohyoutravel 5 hours ago | parent | prev [-]

Love Temu and AliExpress for specialized components at dirt cheap prices. I would never, ever install their app. Ever, security nightmare.

Similar to how I use Amazon Prime but would never order something I ingest, put on my skin, or (usually) wear from it.

Not elitest.

hurfdurf 2 hours ago | parent | prev | next [-]

And that's OK with Apple's App review?

hedora 2 hours ago | parent | next [-]

They let all sorts of stuff that they shouldn't in.

For instance, Meta and Google publish 'free' iOS libraries that firehose surveillance data back to them. The libraries are popular, so apps that use them must be allowed into the store despite taking them as dependencies.

If you can get access to .ipa files (I think you'd need to jailbreak -- apparently this stuff is encrypted by Apple) or packet sniffer, then you can get an idea of how bad it is for the apps you use.

This tool claims to do the sort of analysis I'm talking about (among other things), but I've never tried:

https://securitywall.co/tools/ipa-analyzer

nozzlegear 2 hours ago | parent | prev [-]

I'm wondering if the reviewers neglected to review the app while driving a car and listening to audio.

ngl999 6 hours ago | parent | prev [-]

It's known that some Chinese mobile apps employ this trick to keep the app alive in the background, the rumor is that this way the 'active user' KPI can be better met.

edit: quantity qualifier

echoangle 4 hours ago | parent | next [-]

Why would they manipulate the numbers that way if it’s self-reported anyways? If you want to fake the numbers, couldn’t you just change the number and be done?

voakbasda 3 hours ago | parent | next [-]

The people fudging the metric (developers) may not be the same people that are relying on the metrics (managers). Perverse incentives at play could easily motivate this kind of shenanigan.

genidoi 4 hours ago | parent | prev [-]

It's probably quite difficult to manipulate per-user metrics after the data is collected.

SirFatty 5 hours ago | parent | prev [-]

If it's known, are you suggesting that Apple and Google are complacent in allowing these type of apps in their ecosystem?

ngl999 4 hours ago | parent [-]

I wouldn't think of giant organizations like Apple and Google as mere individuals that can exercise human emotions such as complacency.

forestry 3 hours ago | parent | prev | next [-]

So Apple will remove them from the App Store. Thats their whole argument for their closed system - they’ll protect users from malicious apps. Right?

agos 3 hours ago | parent [-]

it's not the app that it's malicious, it's the website

rob-lag 2 hours ago | parent [-]

It's both, according to another comment.

__MatrixMan__ 3 minutes ago | parent | prev | next [-]

Bluetooth is such a mess. You know what didn't have this problem? Cables.

compsciphd 6 hours ago | parent | prev | next [-]

i'd argue that perhaps the ability to play audio should be permission gated, much like the ability to use webcam/microphone.

However, I'd bet that many people will gladly allow aliexpress to play audio as there are probably videos on the site that people want to play and listen to.

With that said, its possible that this can be only a use once permission. Even if I want to shop at aliexpress if I know they are doing this, I'll be more willing to be bothered every time I want to play a video with audio to approve it if this bothers me.

rcruzeiro 5 hours ago | parent | next [-]

I would actually love if I could have iOS prompt me to allow certain apps to use the speakers. I hate using an app and suddenly have a video autoplay loudly.

kccqzy 41 minutes ago | parent | next [-]

Inside iOS accessibility settings you can turn off “auto-play video previews.” This blocks perhaps 20% of video autoplay; it’s still better than nothing.

Philosophically I hate silent video autoplays just as much as I hate autoplays with audio. One distracts your visual attention, the other distracts your aural attention, and I don’t quite understand why society has normalized silent video autoplay.

pavel_lishin an hour ago | parent | prev | next [-]

I wish Android had this as well. There are apps where it's difficult-to-impossible to turn all sound off, and I wish I could just tell my phone that this app is just never allowed to use the speakers.

voakbasda 3 hours ago | parent | prev [-]

This. This needs to be a thing.

GJim an hour ago | parent [-]

To be fair, it shouldn't need to be a thing.

(One should really not tolerate such dodgy software).

emctech 6 hours ago | parent | prev [-]

The ability to play audio can usually be permission gated with tab muting, however the methods aliexpress use bypass that mechanism completely.

y-curious 4 hours ago | parent [-]

This is the part you should be highlighting aggressively. That’s very uncomfortable

miki123211 4 hours ago | parent | prev | next [-]

Ah, so that's what Wolt (Doordash but in Europe) is doing.

I noticed that Voice Over (iOS screen reader) crackles and randomly changes volume when using the app, but I attributed it to standard iOS weirdness, and possibly misuse of some iOS API. Now I'm thinking that this may very well be fingerprinting.

emctech 7 hours ago | parent | prev | next [-]

Recently I ran into a problem with my Bluetooth headphones. They support multipoint bluetooth audio, so they can be connected to my PC and phone at the same time. Opening the Aliexpress webpage causes a silent audio stream keeping the PC>headphone link active blocking my phone audio. An investigation reveals obfuscated code running device fingerprinting with a side effect being a silent audio stream that firefox, chrome and windows does not recognise but which kept the bluetooth connection active.

maximilianthe1 4 hours ago | parent [-]

Is this an AI summary of the article?

40four 18 minutes ago | parent | next [-]

No you are talking to the actual author of the article. It’s not weird for the author to comment on their own article

emctech 4 hours ago | parent | prev [-]

No, I took the first sentence of my article and then edited the rest of the intro + conclusion to keep it short for HN.

left-struck 3 hours ago | parent [-]

You should make that obvious in some way like using “TLDR”. I assume many people, like me, would attempt to parse your comment as a comment on the article, after all it’s in the comment section, and read that way it’s very confusing lol.

emctech 3 hours ago | parent | next [-]

Sorry, this is my first post to HN and in the submission it looked like the description text i added would be part of the post header.

40four 16 minutes ago | parent | next [-]

Don’t apologize. This was a very fascinating read, and a good technical write up, especially for you first even HN post. It’s not your fault others didn’t look at the username :)

lxgr an hour ago | parent | prev | next [-]

I was just about to highlight this particular HN quirk. I suppose a lot of people here only ever comment (or submit URLs without any text of their own) and aren't familiar with it.

chrisjj 24 minutes ago | parent | prev [-]

HN's fault entirely. The post form is a misrep.

40four 19 minutes ago | parent | prev [-]

They shouldn’t have to make it “obvious”. They are the actual author of the article. It’s not their fault you didn’t double check the usernames. It’s not uncommon for authors to comment on their own articles.

robtherobber 7 hours ago | parent | prev | next [-]

Concerning situation, I think. And I suspect (perhaps wrongly) that there are even more reasons for concern with technology that can track, capture, leak etc. information that's more sensitive or valuable, depending on how one wishes to look at it. Mobile phones, computers, routers etc. -- all have the potential to siphon out valuable information to a bad actor, especially when it comes to espionage, military, commercial etc. This has already happened at a significant scael, so it's not a remote scenario.

At the very least, governments and institutions should develop a framework to investigate all acquired technology. The community / civil society could also create something similar, a script that would analyse at a deep level everything that can be analysed with a piece of software even by a complete novice.

emctech 6 hours ago | parent [-]

Yes, I find it concerning too. I particularly dislike that windows was not aware, nor could it stop the audio stream from effecting the hardware. What other side channels like that exist? Perhaps I can be blamed for using windows

robtherobber 6 hours ago | parent [-]

> Perhaps I can be blamed for using windows

That would be unreasonable, I argue. No one should have to worry about the security of their devices and data privacy based on which OS they use. Whilst it can be argued that different OSs serve different needs, privacy and security should not be debatable. In fact, most countries have dedicated legislation for this; whether it's just, applied correctly, or serves the public before any other party are indeed discussions to be had.

lnsru 6 hours ago | parent | next [-]

I am pretty sure my phone is listening. The ads I see this week are about topics I discussed last week. Week for week. Stupid thing is that I need the phone to have near by as self-employed electrician. Clients want to communicate after regular office hours. Since the phone is rigged why computer shouldn’t?

bobim 6 hours ago | parent | prev [-]

We take everything we have, freedom, privacy, free speech, for granted. The reality seems to be that these concepts are fungible and that we have to be ready to fight for them. Instead we trade these for convenience, and it's very very sad.

gmueckl 3 hours ago | parent | prev | next [-]

A part of me is always smiling a little inside when people find creative ways to abuse browsers. It's always one more demonstration that the current web is fundamentally broken by design. The distinction between web browsers and random programs that allow remore arbitrary code execution is becoming more and more academic with every new feature that gets exposed to JavaScript.

Of course, I am also a horrible hypocrite and will actually use websites that use features like WebUSB or WebRTC.

admax88qqq an hour ago | parent | prev | next [-]

Somebody (Mozilla?) should make a browser that just proactively blocks shit like this

I’m sure some Adblock addon could do it but at the browser level would be preferred. A browser vendor that just proactively does security and “correctness” tweaks to live sites would actually be in my interests as a user

Flow 39 minutes ago | parent | prev | next [-]

I wonder if this is something the iOS Facebook app also does? It constantly pauses my Apple Music playing. Soooo irritating.

fg137 40 minutes ago | parent | prev | next [-]

This at least partially contributed to a sleep related Firefox bug on Windows:

https://bugzilla.mozilla.org/show_bug.cgi?id=1863193

barrystaes 2 hours ago | parent | prev | next [-]

Aha this would explain. I have seen similar behaviour with a news website trying DRM requests (has no reason to ask this info) resulting in stopping playback.. did not consider the impact of multipoint here. Interesting, might be worth looking into if i see this "bug" again.

spicyjpeg 5 hours ago | parent | prev | next [-]

Browser fingerprinting can get creative at times, to say the least. eBay's WebSocket port scanner [1] and Reddit's abuse of DRM and JavaScript JIT exploits [2] from years ago are two examples of the kind of in-depth introspection you can perform completely in the background using nothing more than simple non-permission-gated APIs.

[1] https://blog.nem.ec/2020/05/24/ebay-port-scanning/

[2] https://iter.ca/post/reddit-whiteops/

emctech 5 hours ago | parent [-]

Thanks for the reads

pyaamb 4 hours ago | parent | prev | next [-]

Need to rethink the system that allows for (and encourages) this kind of plausible deniability. From "Oh we need this permission for [non essential feature] and you need to accept it if you want the app at all" -> to giving the user ultimate control over what happens on their personal device. Virtualize what the app can see and use fake data/identifiers/devices if necessary to get it to do what its supposed to. If the App isn't going to act in good faith why should the user? Fine grained permissions don't really work in practice because the app can keep annoying the user until they give in and hit Allow.

pyaamb 3 hours ago | parent | next [-]

Also perhaps AI agents are now capable enough to run these apps the way the user would and recognize these dark patterns. Flag those and feed it back to a warning at the point of sale that users can upvote there to signal their disapproval and a threshold score that risks removal of the app from the store. Because bad behaviour continues to make business sense if the rules allow it. Moreover, it penalizes and puts pressure on the good actors as a "missed business opportunity".

ajross 4 hours ago | parent | prev [-]

What you want is basically how it works. On both phone platforms and PWAs, all permissions are visible to the user explicitly. All of them can be revoked at any time. Apps are disallowed from requesting an already-denied permission.

Obviously apps can tell if they haven't been granted a permission (even if you tried to fake this, they aren't dummies and will know if it's not working), and obviously third party software isn't under any obligation to work without them.

But the platforms have done what the platforms can do, at the architecture side, really. The next stage is human-audited enforcement of malware, which this AliExpress nonsense might hopefully run afoul of.

xnx 4 hours ago | parent | next [-]

> Obviously apps can tell if they haven't been granted a permission (even if you tried to fake this, they aren't dummies and will know if it's not working),

How can they tell? For the permissions I can think of: location, filesystem, etc. it should be easy to lie/spoof.

drdexebtjl 4 hours ago | parent | prev [-]

>Obviously apps can tell if they haven't been granted a permission

By design. This doesn’t need to be the case. It should be impossible to tell you have denied a permission.

In TFA’s case, the browser could just keep processing audio but never hook it up to a real audio sink.

victorbjorklund 3 hours ago | parent | next [-]

Soundd like a nightmare to build legitimate apps if you for example are building an app that uses the camera but you can’t in anyway tell that using the camera fails (because user had denied the permission 6 months ago and has no memory of it) and instead of being able to give a helpful error you are just ending up with I am guessing fake images (maybe just a black screen).

wotb 13 minutes ago | parent | next [-]

Just because it's hard doesn't mean you shouldn't try. What about a popup saying "xyz has tried to access the camera a lot lately, continue blocking?"? Or apps can apply for set of 'core permissions' that can't be denied but are much more tightly controlled? Apple and Google are some of the biggest companies in the world, they don't deserve as much leeway as you're offering.

voakbasda 3 hours ago | parent | prev [-]

The image could contain a message that it is disabled.

StingyJelly an hour ago | parent [-]

Then it is detectable. Those permissions should have a third option alongside allow and block - spoof.

ajross 3 hours ago | parent | prev [-]

That does nothing but start an arms race. Fine, audio "works" but do you get noise? Can you read back the sounds you play? No, right? It doesn't work, QED. Now the platform needs to fake the noise.

Likewise for any other hardware access you want, and most of them are harder. How do you fake local storage without storing anything? How do you fake Bluetooth access without virtualizing an entire device? Do you fake the screen dimensions to look like something else? Input latency? Where does it stop?

No, "does this work" is among the easiest questions to answer in technology. We aren't going to win this war.

emctech 2 hours ago | parent [-]

The best you can do on the modern web is reduce your fingerprint footprint, though it comes at a cost of websites breaking from JS disabling, or local time zone anonymisation.

buildfocus 6 hours ago | parent | prev | next [-]

I've seen this on many many other sites as well, most notably Twitter, and lots of common modern captcha pages too. Very annoying!

hoppp an hour ago | parent | prev | next [-]

Are you not required to grant an explicit permission for it to access audio? If not that is highly disturbing.

prima-facie an hour ago | parent | prev | next [-]

This is not limited to Bluetooth in any way. In pavucontrol I can see Firefox outputting audio when on AliExpress even though nothing is playing. The uBlock filter fixed it.

ErrorNoBrain an hour ago | parent [-]

> The uBlock filter fixed it.

what filter ?

prima-facie an hour ago | parent [-]

From the article:

To block the scripts open the uBlock dashboard, select My filters, and add:

    ! AliExpress AWSC fingerprinting scripts
    ||assets.aliexpress-media.com/g/AWSC/uab/*/collina.js$script,domain=aliexpress.com
    ||assets.aliexpress-media.com/g/AWSC/fireyejs/*/fireyejs.js$script,domain=aliexpress.com
tecleandor an hour ago | parent | prev | next [-]

That could explain the multipoint problems I've had in the last weeks, where audio would get "stuck" to one of my devices even when (apparently) nothing is playing.

lxgr an hour ago | parent [-]

I've had these issues on and off as early as 10 years ago when I got my first multipoint headphones.

grishka 3 hours ago | parent | prev | next [-]

Is there any particular reason these kinds of APIs are not behind permission prompts?

ibaikov 4 hours ago | parent | prev | next [-]

I had this (?) happen. I have a soundbar hooked up through spdif in my pc. It automatically switches sources, so I can play music through airplay and then have it play sounds from pc when I open youtube etc. So it switches from airplay music to pc even when nothing is playing on pc. This was happening on some websites and it is extremely annoying.

nkjoep 6 hours ago | parent | prev | next [-]

JS enabled by default seems every day less secure.

emctech 6 hours ago | parent | next [-]

So many website break completely with JS disabled and you end up having to enable it half the time anyway.

ruuda 5 hours ago | parent | next [-]

About half of the time, when a website doesn't work with js disabled, I realize that I didn't want to see the page that badly anyway, and I close the tab.

masfuerte 5 hours ago | parent | prev [-]

It was pretty good until about six months ago. Since then loads of sites have added a js requirement to try to stop the AI bots.

MisterTea 5 hours ago | parent | prev [-]

IMO web browser have been enabling all sorts of obnoxious behavior since before JS. One of my all time favorites were the sites that opened pop-ups in a loop faster than you could close them while an audio clip of a guy yelling "Hey everyone! I'm looking at gay porn!" You had to hit reset. Fuck the Web.

afandian 5 hours ago | parent | next [-]

The web around the late 90s and early 2000s had some really sketchy stuff. I think the difference is that it used to be the sleazy underbelly. Now it's accepted as mainstream.

My local 'newspaper' website is chock full of scam adverts. The print version is dignified. The website people, somehow, turn a blind eye.

And I got an advert on Youtube this week using sexually explicit language to sell pills.

Feels like standards, and expectations, have really slipped.

grishka 3 hours ago | parent | prev [-]

Opening a popup needs JS though.

nozzlegear an hour ago | parent [-]

Not with the new popover API.

big_dave212 an hour ago | parent | prev | next [-]

Trying to debug this as a normal user is basically hopeless, you would never think to suspect a shopping tab. Glad someone did the legwork.

emctech an hour ago | parent [-]

It just annoyed me so much that it was interrupting my music!

sillyboi 4 hours ago | parent | prev | next [-]

I thought the App Store review guidelines explicitly prohibit hidden features and using public APIs outside their intended purpose. Is audio-based fingerprinting just not something review can realistically catch?

ValdikSS 4 hours ago | parent | next [-]

They probe all audio devices, including microphones, which probably temporarily switches Bluetooth devices into HPF mode due to how Bluetooth duplex audio works.

I'd argue it's "silent" though: aliexpress wakes up my audio card if nothing plays, which results in a very faint "pop" sound every time I open the tab.

It's been this way for ~3+ years at least.

lapcat 3 hours ago | parent | prev [-]

It's the website.

The title of the article literally mentions "WebAudio", and the first paragraph states that the author is using a PC. The second paragraph mentions Chrome and Firefox.

Apple and the App Store have zero involvement here.

hunter2_ 2 hours ago | parent [-]

This is a huge stretch, but if this problem exists in not only the PC versions of Chrome/Firefox but also the Android/iOS versions, then theoretically the app store reviewers could flag the browsers for facilitating this behavior against app store guidelines. In practice, apps of such caliber as popular browsers might be a bit above such reviewers' pay grade, so to speak.

lapcat 2 hours ago | parent [-]

> This is a huge stretch

This is nonsense. Safari also supports Web Audio. Safari does not, however, support Microsoft Windows, which is why the article author didn't mention it.

Moreover, all web browsers on iOS have to use Apple WebKit, so Web Audio support is not actually the fault of the non-Apple browser vendors.

ngl999 6 hours ago | parent | prev | next [-]

Just curious, why silent sound would allow fingerprinting? What are they sampling if it can't be heard?

emctech 6 hours ago | parent [-]

The script generates a known waveform, it is passed through the browser's audio implementation and then the script analyses the result after. Based on your devices settings and hardware the output will be different, e.g. a PC with analog output might have 44KHz audio output bandwidth, but a bluetooth headset might have a lower, different audio bandwidth. That is a datapoint that can be used in device fingerprinting alongside screen and viewport dimensions, device pixel ratio, browser plugins, etc.

hunter2_ 2 hours ago | parent [-]

On the one hand, I wouldn't expect too many variations here (the vast majority of devices probably use 48 kHz and 24-bit output, a few use 44.1 kHz and/or 16-bit, etc.) but just like DPR and all the other properties with a very small set of popular values in practice, you only need a bit or two from each measurement to eventually have a high quality fingerprint.

docmars 36 minutes ago | parent | prev | next [-]

Sounds like we're gonna need browsers to pop an audio playback permission, as annoying as that seems. Abusive sites just can't help themselves.

downrightmike an hour ago | parent | prev | next [-]

There is no legit reason to be doing this.

qurren an hour ago | parent | prev | next [-]

> distinguish normal shoppers from automated

Why? Are you afraid of robots making you rich?

kinnth an hour ago | parent | prev | next [-]

This sounds like a GDPR issue no? Couldn't they be taken to the EU!

kenniskrag an hour ago | parent | next [-]

Yes. In this case probably not fineeprinting is not allowed because not strictly necessary (cookie law) and therefore needs consent from user.

edelbitter 7 minutes ago | parent | prev [-]

Going batshit with browser APIs is also a formidable GDPR defense. e.g. try browsing the privacy-related forms for Google (https://myaccount.google.com) on Firefox :D (entire browser freezes up every other second for me, because of some extremely important work Google needs to run on my CPU to let me scroll down on a static site containing roughly 30 words)

goodpoint 5 hours ago | parent | prev | next [-]

90% of this stuff should be illegal

CTDOCodebases 6 hours ago | parent | prev | next [-]

They have been doing this for months.

No sound playing but the audio would change like the microphone was being activated. I checked permissions to make sure there was no mic access and figured that they were fingerprinting.

emctech 6 hours ago | parent [-]

I had noticed it before but I was browsing AE a lot today and i got fed up with it. What browser and OS are you using?

CTDOCodebases 4 hours ago | parent [-]

It was happening when I was using Chrome on iPhone and Windows 11 with Chrome. I can't remember what was causing it since the headphones (Bose Quietcomfort SE) are synced with both devices. For the last couple of months I've been using Android and I haven't noticed it. The headphones seem to work better with Android. IOS is a bit weird with sharing them with my PC.

ankushdograuk 4 hours ago | parent | prev | next [-]

This is the reason I use adguard everywhere

emctech 4 hours ago | parent [-]

I use ublock origin and by default it wasn't blocking, i had to make a custom filter to block the scripts in order for it to prevent the audio takeover. Maybe adguard does a better job? Someone else suggested just wholesale disabling of JS but it is the nuclear option.

nottorp 5 hours ago | parent | prev | next [-]

Besides the privacy implications, they are also wasting our fucking batteries on this crap...

shevy-java 2 hours ago | parent | prev | next [-]

We need to find a solution to browsers sniffing on people. This here refers to AliExpress, but which browsers are typically spying on people like that in the first place? That's the real primary problem.

amelius an hour ago | parent | prev | next [-]

Are there any EU/GDPR laws against fingerprinting?

kenniskrag an hour ago | parent [-]

Yes. In this case probably not allowed because not strictly necessary (cookie law) and therefore needs consent from user.

amelius 41 minutes ago | parent [-]

Do we have any jurisprudence on fingerprinting?

echelon_musk 6 hours ago | parent | prev | next [-]

OP please submit the filter to an upstream uBlock filter list.

emctech 6 hours ago | parent [-]

Will do! edit - How do i do this? through github issues? https://github.com/uBlockOrigin/uAssets/issues

emctech 2 hours ago | parent [-]

They said they aren't interested

fnwbr 2 hours ago | parent [-]

chimed in... thank you for the great documentation!

lapcat 4 hours ago | parent | prev | next [-]

Cloudflare challenges also use Web Audio, by the way.

emctech 2 hours ago | parent [-]

Does it hold an audio stream open constantly or just briefly during the challenge? On AE it never stops

lapcat 2 hours ago | parent [-]

Just briefly during the challenge.

kappi 3 hours ago | parent | prev | next [-]

It's not just BT audio. In windows PC, if aliexpress is opened in one tab in chrome, and switching to a tab with youtube opened, audio don't play in this tab if you start playing youtube.

Grombobulous 3 hours ago | parent | prev | next [-]

If this wasn't such a serious issue I'd be inclined to make a joke about being surprised that AliExpress was capable of such a thing, but I guess the complete shitshow of a website is intentional.

I wouldn't be surprised if what I'm feeling is all a psychological thing where consumers associate jank with low prices so that's why sites like AliExpress and Temu look like a complete technical mess when in reality they're doing pretty advanced stuff like this.

pama 5 hours ago | parent | prev | next [-]

Another reason why Lockdown mode on iOS is your friend.

eur0pa 4 hours ago | parent | next [-]

Lockdown mode is great, but it breaks phone calls on your Apple Watch (found that out the hard way)

realusername 5 hours ago | parent | prev [-]

Somebody else mentioned here that they also do it on the iOS app and I don't see how Lockdown mode would change anything, it doesn't prevent to play audio.

handle584 3 hours ago | parent | prev [-]

Meanwhile ppl freak out over Anthropic using timezone and Unicode for the same purpose, without realizing Chinese are simply ruthless in abusing iOS or Android or Web. Pinduoduo, who owns Temu, is infamous for exploiting an Android 0day vulnerability for such purposes.