logoalt Hacker News

Chrome extensions spying on users' browsing data

304 pointsby qcontinuum1today at 10:00 AM123 commentsview on HN

Comments

deanctoday at 12:38 PM

Over 15 years ago now, I had a popular chrome extension that did a very specific thing. I sold it for a few thousand bucks and moved on. It seemed a bit strange at the time, and I was very cautious in the sale, but sold it and moved on.

It's abundantly obvious to me now that bad actors are purchasing legitimate chrome extensions to add this functionality and earn money off the user's data (or even worse). I have seen multiple reports of this pattern.

show 3 replies
gnltoday at 1:39 PM

Couple of quick thoughts on how to protect yourself from having a formerly trustworthy extension go rogue on you:

- https://github.com/beaufortfrancois/extensions-update-notifi...

And then you can do whatever you feel is an appropriate amount of research whenever a particularly privileged extension gets updated (check for transfer of ownership, etc.)

- brave://flags/#brave-extension-network-blocking

You can then create custom rules to filter extension traffic under brave://settings/shields/filters

e.g.:

  ! Obsidian Web
  *$domain=edoacekkjanmingkbkgjndndibhkegad
  @@||127.0.0.1^$domain=edoacekkjanmingkbkgjndndibhkegad

- Clone the GitHub repo, do a security audit with Claude Code, build from source, update manually
singularfuturtoday at 12:26 PM

This is why I only run open source extensions that I can actually audit. uBlock Origin, SponsorBlock, the kind of tools where the code is available and the developer isn't anonymous. The Chrome Web Store is basically unregulated and Google doesn't care as long as they get their cut. Open source at least gives you a chance to see what you're installing before it starts exfiltrating your data to some server in a country you've never heard of.

show 9 replies
kwar13today at 1:14 PM

The code is usually minified and heavily obfuscated but you CAN view the source code for any extension:

https://kaveh.page/snippets/chrome-extensions-source-code

Even a tiny extension like this one I wrote with 2k users gets buyout offers all the time to turn it into malware: https://chromewebstore.google.com/detail/one-click-image-sav...

giarctoday at 2:12 PM

My daughter, in grade school, uses a Chromebook at school and access Google Classroom through Chrome. The school has very few restrictions on extensions and when I log into her account, Chrome is littered with extensions. They all innocuous (ex. change cursor into cat, pets play around on your screen etc). However, without fail, each time I log in and go to the extension page, Chrome notifies me that one or more of the extensions was removed due to malicious activity or whatever.

show 1 reply
molticrystaltoday at 2:52 PM

If you want to check your extensions, save the below pastebin as an html page, open it in the browser, select all your extensions on chrome://extensions/ (everything on the page, it will filter it out IDs) and it will check if any IDs match.

https://pastebin.com/7cTv0PTJ

jerrygoyaltoday at 2:47 PM

Hi! I wanted to share a quick thought – there are some AI copilot extensions out there that are essentially spying on their users (like Monica AI, which is a good example). I've built an AI extension that's completely different – it doesn't spy on you and you can also use your own API key. You can check it out here: https://jetwriter.ai

matheusmoreiratoday at 12:11 PM

And the ones that are not will probably get bought out at some point and become malware as well.

The only extension I trust enough to install on any browser is uBlock Origin.

show 3 replies
ghtbircshotbetoday at 2:18 PM

Capital One just offered me $45 to install a Firefox extension. I declined, though I'm sort of tempted to get paid for getting spied on which I assume is happening anyway. And who knows, maybe I could get a couple more bucks later in the class action.

https://addons.mozilla.org/en-US/firefox/addon/wikibuy-for-f...

show 1 reply
GuestFAUniversetoday at 12:58 PM

And why didn't one of the wealthiest companies of the world capture this themselves?

Considering the barriers they build to prevent adblockers, that doesn't shine a good light on them.

show 1 reply
georgehilltoday at 1:38 PM

At this point, someone should make a site to check whether installed extensions are malicious or not.

show 3 replies
ArcaneMoosetoday at 2:51 PM

Extensions have too many security risks for me. At this point I'd rather just vibe code my own extension than trust something with so much access and unpredictable ownership.

babytoday at 2:04 PM

I’ve always thought that it’s crazy how so many extensions can basically read the content of the webpages your browse. I’m wondering if the research should go further: find all extensions that have URLs backed in them or hashes (of domains?) then check what they do when you visit these URLs

show 1 reply
l72today at 12:54 PM

The fact that most of these are capturing query parameters:

  "u": "https://www.google.com/search?q=target",
indicates that are capturing tons of authentication tokens. So this goes way beyond just spying on your browser history.
show 1 reply
hannobtoday at 2:38 PM

That can't be true, right? I mean, Google broke Adblockers in Chrome to prevent this very issue. And it had absolutely nothing to do with Google's Ad business.

So it's completely impossible that such malicious extensions still exist.

(may contain sarcasm)

mentalgeartoday at 12:03 PM

Browser extensions have much looser security than you would think: any extension, even if it just claims to change a style of a website, can see your input type=password fields - it's ludicrous that access to those does not need its own permission !

show 2 replies
Pacers31Colts18today at 12:20 PM

I think the industry needs to rethink extensions in general. VSCode and browser extensions seem to have very little thorough review or thought into them. A lot of enterprises aren't managing them properly.

show 1 reply
coldteatoday at 2:11 PM

Can extensions:

be scoped, meaning only allowed to read/access when you visit a particular domain whitelist (controlled by the user)?

be forced (by the extension API) to have a clear non-obfuscated feed of whatever they send that the user can log and/or tap onto and watch at any time?

If not, I wouldn't touch them with a 10000ft pole.

show 1 reply
ceberttoday at 12:17 PM

Hopefully people will start learning that you want to install as few browser extensions as possible.

show 2 replies
Grom_PEtoday at 1:07 PM

It seems crazy to me that the offered way to install an extension on Chrome is to click a button on a privileged website, and then the installed extension autoupdates without an option to turn it off.

I hate the idea of installing stuff without an ability to look at what's inside first, so what I did was patch Chromium binary, replacing all strings "chromewebstore.google.com" with something else, so I can inject custom JS into that website and turn "Install" button into "Download CRX" button. After downloading, I can unpack the .crx file and look at the code, then install via "Load unpacked" and it never updates automatically. This way I'm sure only the code I've looked at gets executed.

captn3m0today at 1:13 PM

If someone would like to replicate, a good approach would be to reduce the cost by removing a full-chromium engine. I doubt these extensions are trying to do environment detection and won’t run under (for eg) JSDOM+Bun with a Chrome API shim.

nkmnztoday at 1:55 PM

Is there a way to use extensions from a private repository only, where I control the code and build pipeline?

neyatoday at 2:22 PM

Nobody is going to even do anything about SimilarWeb for pulling this off? My understanding from the article is that they're actively behind this.

When I was the CTO in a previous role, SimilarWeb approached us. I read through the code snippet they gave us to inject onto our site. It was a sophisticated piece of borderline spyware that didn't care about anyone in the entire line of sight - including us. They not only were very persistent, they also had a fight with our management - for refusing to use their snippet. They wanted our data so bad (we had very high traffic at the time). All we wanted was decent analytics for reporting to senior management and Google had just fucked up with their GA4 migration practices. I switched them to Plausible.io and never looked back. It was the least I could do, we had to trade-off so many data points in comparison to GA, but still works flawlessly till date. Fuck SimilarWeb.

rkagerertoday at 2:01 PM

Here are 3 examples identified in their results.

Play Store pages for all 3 list strong assurances about how the developer declares no data is being sold to third parties, or collected unrelated to the item's core functionality.

Brave Web browser (runapps.org) https://chromewebstore.google.com/detail/mmfmakmndejojblgcee...

Handbrake Video Converter (runapps.org) https://chromewebstore.google.com/detail/gmdmkobghhnhmipbppl...

JustParty: Watch Netflix with Friends (JustParty.io) https://chromewebstore.google.com/detail/nhhchicejoohhbnhjpa...

My open question to Google is: What consequences will these developers face for lying to you and your users, and why should I have any faith at all in those declarations?

hackinthebochstoday at 12:23 PM

Load extensions in developer mode so they can't silently install malware on you

nanobuildstoday at 1:00 PM

The browsing data itself is only half the problem. Even if you remove the spying extension, the profile it helped build persists and keeps shaping what you see as it gets sold and changes hands.

We focus a lot on blocking data collection and spyware.. but not enough about what happens after the data is already collected/stolen and baked into your algorithmic identity. So much of our data is already out there.

endsandmeanstoday at 12:37 PM

Most of them jump out as immediately dodgy -- except Stylsh. That is the only one I've ever used on the list but it's been several years.

show 3 replies
bennydog224today at 1:17 PM

It’s obvious CWS has given up on oversight of these extensions. It’s a minefield.

lapcattoday at 12:56 PM

> We built an automated scanning pipeline that runs Chrome inside a Docker container, routes all traffic through a man‑in‑the‑middle (MITM) proxy, and watches for outbound requests that correlate with the length of the URLs we feed it.

The biggest problem here is that "We" does not refer to Google itself, who are supposed to be policing their own Chrome Web Store. One of the most profitable corporations in world history is totally negligent.

show 1 reply
bittercucumbertoday at 1:38 PM

Only 37M? I'd have guessed a higher number than that.

show 1 reply
ubermonkeytoday at 1:52 PM

I legit do not understand the Chrome hegemony.

PurpleRamentoday at 12:26 PM

I don't really understand the complaint here. It seems for most of those extensions have it in their literal purpose to send the active URL and get additional information back, for doing something locally with it.

And why does this site has no scrollbar?? WTF, is Webdsign finally that broken?

show 2 replies
PlatoIsADiseasetoday at 12:27 PM

My initial solution was:

>Before installing, make each user click a checkbox what access the extension has

However, as I've seen on android, updates do happen, and you are not asked if new permissions are granted. (Maybe they do ask, but this is after an update automatically is taken place, new code is installed)

Here are the two solutions I have, neither are perfect:

>Do not let updates automatically happen for security reasons. This prevents a change in an App becoming malware, but leaves the app open to Pegasus-like exploits.

>Let updates automatically happen, but leaves you open to remote, unapproved installs.

nekusartoday at 1:42 PM

Yes, and?

Chrome/Google/Alphabet is spying on 100% of their users.

Quit using Alphabet stuff, and your exploitation factor goes down a LOT.

felishiagreen12today at 1:59 PM

[dead]

PaperBananatoday at 12:32 PM

[dead]

chenmxtoday at 2:27 PM

[dead]

croestoday at 1:19 PM

Just create an AI service and users will voluntarily send you all their data.

No need for such complicated attacks /s

kgwxdtoday at 12:23 PM

Yo dawg...

show 1 reply