Live data from Hacker News

Browser extensions are underrated: the promise of hackable software

geoffreylitt.com

121–130 of 189 posts

Re: Browser extensions are underrated: the promise of hackable software

#121

Earlier quoted context omitted.

With respect, Google is not Apple, and Apple is not Google. I think a lot of people would say that Google is a pretty evil company in many respects, whereas Apple isn't exactly 100% saintly, but at least their profit and business goals align more closely with what is generally considered to be good for customers.

I’m definitely an Apple customer - our cell phone plan has 6 devices and we have two AppleTVs. But playing devil’s advocate, Apple’s business model only allows a small percentage of upper income people globally to be able to afford their products. Android and Google have done a lot more to bring computing to the masses than Apple. The cheapest iPhone that you can buy is $475 over $200 more than the average selling pr…

iPhone 7 is $449 on Apple's website.

Re: Browser extensions are underrated: the promise of hackable software

#122
post #117

Earlier quoted context omitted.

So how many consumers would know if uBlock did something bad? Should we optimize security for the minority or the majority?

Google would remove uBlock from my PC before I even know it and I would notice it very quickly (unfortunately). A personal computer has always been very complicated and using it has always been a risk in itself. I remember a time when a virus could damage the computer's hardware, and someone who knew how to program in BASIC (edit: or LOGO) was not considered as a "minority". My point of view is that we need to make u…

My point of view is that we need to make users aware of the risks and make them more responsible because things will not get any easier.

How has that been working for the last 30 years? Why would it start now?

Computers have been mainstream consumer appliances since the “multimedia PCs” were a thing in the mid 90s. Most people no more want to program computers than they want to fix their own cars.

Re: Browser extensions are underrated: the promise of hackable software

#123
post #118

Earlier quoted context omitted.

So how many consumers would know if uBlock did something bad? Should we optimize security for the minority or the majority?

Why is better to fix adblocking capabilities at model that is borderline insufficient now let alone in 10 years. There is arms race and you want adblockers (good guys) to give up any improvements in perpetuity, that is a recipe for losing. Me installing uBlock for parents has improved their browser experience and security. I'd rather risk uBlock being compromised and having to phone them to uninstall it than have the…

How many incidents have we seen where the ad blockers are the bad guys? I don’t recall seeing any third party ads when browsing with Safari on iOS with 1Blocker that uses this architecture.

Re: Browser extensions are underrated: the promise of hackable software

#124

Earlier quoted context omitted.

I’m definitely an Apple customer - our cell phone plan has 6 devices and we have two AppleTVs. But playing devil’s advocate, Apple’s business model only allows a small percentage of upper income people globally to be able to afford their products. Android and Google have done a lot more to bring computing to the masses than Apple. The cheapest iPhone that you can buy is $475 over $200 more than the average selling pr…

iPhone 7 is $449 on Apple's website.

$26 less. That really makes it a lot more affordable compared to a $200 Moto G.

Re: Browser extensions are underrated: the promise of hackable software

#125
post #44

Earlier quoted context omitted.

Worse still, the design of the most popular extension API is intrinsically poor at protecting users from malicious extension developers (or extension resale to malicious developers). Until Google and Mozilla fix the design people shouldn't be installing more than a handful of extensions, because they end up usually having complete access to all your data for convenience reasons.

Extensions have a similar model to phone apps. They have a basic set of APIs available, and beyond that they have to ask for permission before they can use more. E.g. I have a Firefox addon called "t.co unmangler" that only has permission to access my data for twitter.com and can't read anything else. If an extension is compromised and tries to access more that it was allowed before, the browser will block it until I…

The problem is the granularity of the permissions is extremely coarse, so if you scan the top extensions on the chrome web store a vast number of them request access to All Pages, HTTP and HTTPS included. This is because various useful primitives require that access.

Another problem is that requesting a new permission in an extension update has extremely bad UX, to the point that any thoughtful extension developer will just ask for everything they could possibly need up front. If you request a new permission Chrome just silently shuts off your extension until the user goes digging around in the UI for the permission request. The last time I tried this about 5% of my users figured it out and the rest thought it was broken.

Re: Browser extensions are underrated: the promise of hackable software

#126
post #105

Earlier quoted context omitted.

I consider everything to be a matter of risk in terms for example of privacy. By installing an extension like uBlock, I am indeed taking the risk you mentioned. However, I consider that the risk will be much higher when installing an extension that is based only on a list of regular expressions for the reason I mentioned. If uBlock did a bad thing, I'll know very quickly and all I'll have to do is install an alternat…

So how many consumers would know if uBlock did something bad? Should we optimize security for the minority or the majority?

[deleted]

Re: Browser extensions are underrated: the promise of hackable software

#127
post #68

Earlier quoted context omitted.

That has been the reality for the Apple AppStore for many years. Seems to not have hurt them. And Chrome has a much larger market share (or browser share) than iOS has. As long as you have that, you can pretty much do whatever you like to the devs as long as you don't piss off the users

Oh? How many billions of users are on Chrome?

Are you waiting for google to release a mobile operating system and put their browser on it?

That'd show Apple.

Re: Browser extensions are underrated: the promise of hackable software

#128
> The modern browser extension API has done a good job balancing extensibility with security

No, it hasn't. Almost every single extension I install tells me some variant of "This extension can intercept and modify all of your browsing traffic". That's not "well balanced", it's completely broken. This is happening clearly for extensions by well intentioned people that do not need those permissions. I can't help but cynically interpret the current situation as intentional on Google's part because having the security model be "trust Google to vet the extensions" happens to centralise all the power with them. If you can't trust an extension from the wild then they might as well not exist, right?

People laughed Java out of the browser because it took 500ms to start, but at least it had an actual security model.

Re: Browser extensions are underrated: the promise of hackable software

#129

Sometimes popular abandoned browser extensions get bought up by malicious actors that inject malware into your browser without you ever knowing because extensions get automatically updated.

That's why you uncheck "update add-ons automatiocally' in the add-on manager.

Re: Browser extensions are underrated: the promise of hackable software

#130
post #68

Earlier quoted context omitted.

That has been the reality for the Apple AppStore for many years. Seems to not have hurt them. And Chrome has a much larger market share (or browser share) than iOS has. As long as you have that, you can pretty much do whatever you like to the devs as long as you don't piss off the users

Oh? How many billions of users are on Chrome?

At least one, as of 2016.
Post reply on HN