Live data from Hacker News

Browser extensions are underrated: the promise of hackable software (2019)

geoffreylitt.com

131–140 of 320 posts

Re: Browser extensions are underrated: the promise of hackable software (2019)

#131
A somewhat-shameless plug here, since I've released this just yesterday:

Browser Extension for Hacker News written in Rust WASM:

https://github.com/drakerossman/hackernews-userscript

It has filtering capabilities (filter in title, link, text, or username via regex) and softhide (hide all the items on a page without pulling others from the next page).

Re: Browser extensions are underrated: the promise of hackable software (2019)

#132
post #41

Is there a way to use browser extensions safely? Any extension that looks interesting needs access to everything I see on the screen (and even modify it), which to me seems a huge security risk. My understanding is that random extension is able to read and send somewhere almost all my data when I read my email, do online banking, etc. Do I understand correctly the situation?

It's possible to extract the extensions source, save it locally, and then manually install it. That insulates you from the risk of a malicious update. (You could also audit the extension for complete safety, but TBH I'm usually too lazy to do that, and I assume that the risk of an extension currently being malicious is far lower than the risk of an extension later being updated to become malicious)

> That insulates you from the risk of a malicious update.

It also insulates you from critical security updates. Managing your own security is not without its risks.

Re: Browser extensions are underrated: the promise of hackable software (2019)

#133

Just the framing of "browser extensions" is extremely problematic in the year 2024. Most browser extensions by weight are Google Chrome extensions. Google Chrome is unambiguously demonstrating that no API is safe in its quest to juice revenues. Anybody who builds extensions using Chrome's APIs should be very aware that they're quite possibly putting effort into something a juggernaut will stomp away without a second…

Forget all that. 1. They increase the attack surface of the browser 2. They have routinely been transferred to (for money) or taken over by malicious entities 3. Often they subtly break things in ways that are fine for expert users but which result in support reach out by others The whole extension thing is a mess.

Forget all that.

1. They increase the attack surface of the operating system 2. They have routinely been transferred to (for money) or taken over by malicious entities 3. Often they subtly break things in ways that are fine for expert users but which result in support reach out by others

The whole web browser thing is a mess.

Re: Browser extensions are underrated: the promise of hackable software (2019)

#135
post #56

Earlier quoted context omitted.

It is very annoying to try and follow through minified code. I've tried to view the source and see what some extensions are doing but it can be a bit of a painful process. You can at least sometimes figure out what kind of GET/POST requests the extension may be making, but it's much more time consuming to try and ensure everything is safe. The other problem is that the extensions can update. You typically get zero no…

There is a button to format the code for minified files.

Formatting isn't the issue. Just more time consuming to try and read the code when it's all got garbage variable and function names. Not that you can't do it, just slightly more effort. Also the bigger issue I mentioned in my comment relates to the problem of extensions updating without any notice.

Re: Browser extensions are underrated: the promise of hackable software (2019)

#136
post #119

I wanted to build an internal company extension, but for that (chrome) you still need to go through the review process with Google and it is even worse than Apple’s App Store reviews.

Would it be too much friction to host internally and require your users to "load unpacked"?

It's really not hard I doubt it's a big friction

Re: Browser extensions are underrated: the promise of hackable software (2019)

#138
post #125

Earlier quoted context omitted.

Actually hilarious that we have people here defending removing extensions, as if they didn't live through the days of Internet explorer. Well, maybe they didn't I hope they enjoy the eventual return of popups.

They never left they're just called modals now.

Endless EU Cookie modals that you have to always click through because you clear cookies.

Re: Browser extensions are underrated: the promise of hackable software (2019)

#139
"Computing is still young, and platforms are changing quickly. Modern browser extensions and smartphone platforms have only been around for about a decade. These platforms will evolve, and there will be new platforms after them, and we will get to collectively decide how open they will be."

I really like this final comment. As a non expert in computing, I also often think about how young is this field, and I fantasize about how it will evolve, hopefully towards a more accessible and open ecosistem.

Re: Browser extensions are underrated: the promise of hackable software (2019)

#140
post #122
post #114

Earlier quoted context omitted.

Replace browser with operating system or computer and expand extensions to user installable programs and it mostly still rings true. I believe users should be empowered to modify their installed applications as they see fit.

It doesn't ring true for installed software anymore — "virus scanners" have gotten to the point where they just work for most people, desktop software is more difficult develop (for your average hacker wannabe), more difficult to get users to install, and has far less valuable data to go after. I actually very much like Apple's approach to browser extensions forcing them to be truly installed software and in the purv…

On a typical PC, installed software has even more permissions than a browser extension, and all any malware author has to do is write their own keylogger or upload the browser cookie database. Sure, it's a little more effort, but I think the only real advantage that malicious browser extensions have over native programs is the discoverability and auto-update Google and Mozilla give them "for free".
Post reply on HN