News for hackers. Stuff that matters.
Re:uBlock Origin Lite now available on Firefox by e2le on Monday August 21, 2023 @06:47PM (#37216373)
>I am down to zero third-party developers that can get compromised and silently push an update that compromises all my web sessions.

It's my understanding that because uBlock Origin is a "recommended extension", it must undergo a formal code review each time a new update is published. A malicious update would not face zero obstacles.

https://support.mozilla.org/en-US/kb/recommended-extensions-...

Re:uBlock Origin Lite now available on Firefox by Timshel on Monday August 21, 2023 @06:54PM (#37216447)
The switch from full acces to white-listing for full blocking is just awesome imo.

You can just decide for each case the tradeoff between advanced blocking and security.

Re:uBlock Origin Lite now available on Firefox by e2le on Monday August 21, 2023 @07:47PM (#37216813)
I'm unsure of how it exactly differs and whether there are features missing. I will admit that if I were to install uBOL today, I would be worried that it would be less capable and my browsing experience less-safe.
Re:uBlock Origin Lite now available on Firefox by eipi10_hn on Monday August 21, 2023 @08:19PM (#37217004)
There are many features missing, more prone to anti-adblock/ads-reinsertion and ads/trackers/popups can slip through.
Re:uBlock Origin Lite now available on Firefox by odo1242 on Monday August 21, 2023 @08:58PM (#37217273)
also:

- one thing that is much less powerful is cosmetic filters, which means ads may be replaced with gray squares if uBOL can't remove them entirely

- less filters overall, because the limits on how many filters are possible are pretty strict

- extension updates will be both larger and much more frequent because filter lists can no longer be updated separately from the extension

Re:uBlock Origin Lite now available on Firefox by flangola7 on Monday August 21, 2023 @10:48PM (#37218025)
Why is there a filter limit at all? Why did Firefox add that? Can config change it?
Re:uBlock Origin Lite now available on Firefox by postalrat on Monday August 21, 2023 @11:10PM (#37218191)
Filters aren't free
Re:uBlock Origin Lite now available on Firefox by wtallis on Tuesday August 22, 2023 @12:08AM (#37218583)
They are quite often better than free, blocking unwanted content that would consume more memory and CPU time than the filter itself.
Re:uBlock Origin Lite now available on Firefox by JacobSeated on Tuesday August 22, 2023 @02:56AM (#37219530)
Filters take a minuscule amount of resources. E.g. Even if you had to loop over a list with thousands of entries this would be unlikely to matter, and can in fact even be optimized quite significantly with various algorithms. However, because a database is most likely used, this is not even an issue, and the resource use will in fact be truly minimal.

I can not give you an exact number, but it is massively bigger than the number of trackers / elements that any usable web page can realistically implement. Probably you can do several thousands database calls in less than a second due to indexing; and that can be further optimized by doing it in batches, bringing it up to tens of thousands, if not in the hundreds on modern PCs. It is literally not an issue.

Re:uBlock Origin Lite now available on Firefox by postalrat on Tuesday August 22, 2023 @02:10PM (#37226530)
Is the limit still around 30,000 or is it higher? That could be 600,000 filter checks on a page load with 20 requests.

I'm sure it's fast but if people want unlimited number of rules that number could start exploding.

Re:uBlock Origin Lite now available on Firefox by bornfreddy on Tuesday August 22, 2023 @12:07AM (#37218572)
> Why did Firefox add that?

They didn't, Google did. It is part of MV3 specs, afaik.

Re:uBlock Origin Lite now available on Firefox by z0ccc on Tuesday August 22, 2023 @02:34AM (#37219400)
But Firefox still didn't have to implement the limit.
Re:uBlock Origin Lite now available on Firefox by ulucs on Tuesday August 22, 2023 @06:35AM (#37220804)
Then don't use the downgraded version of the ad blocker? What is the point of having two versions of MV3 when you can use a superior adblocker on Firefox anyway?
Re:uBlock Origin Lite now available on Firefox by flangola7 on Tuesday August 22, 2023 @10:58PM (#37231364)
Google doesn't make Firefox. I flatly don't understand why Mozilla has that limit.
Re:uBlock Origin Lite now available on Firefox by winter_blue on Tuesday August 22, 2023 @01:33AM (#37219045)
Hmm, it looks like the uBO "Enter element picker mode" feature is not available. I've found that pretty useful occasionally in the past on websites where uBO doesn't catch an ad.
Re:uBlock Origin Lite now available on Firefox by yellowapple on Tuesday August 22, 2023 @12:10AM (#37218592)
That tradeoff is already possible with the normal uBlock Origin; it just has a different (preferable IMO) default.

The only apparent upside to this version is if you don't trust Raymond Hill to refrain from spying on your browsing sessions via his add-on. By every other metric this seems like a downgrade.

Re:uBlock Origin Lite now available on Firefox by akyuu on Tuesday August 22, 2023 @11:32AM (#37224210)
If you use a non-declarative adblocker, you're not just trusting the developer, but also all the third-party filter lists you've subscribed to. These filters have powerful capabilities and can even exfiltrate website data [1], and they are updated in real time, so if a bad actor pushed a malicious update (e.g. by gaining access to any EasyList contributor account), you would most likely be affected.

However, it's true some websites (like YouTube) are especially problematic and a declarative adblocker is not enough. What you can do is combine both approaches: use a declarative adblocker (uBlock Origin Lite) as a baseline, and selectively enable non-declarative adblockers (uBlock Origin) for specific websites (see [2] for a detailed overview).

I like this layered approach because it gets you the best of both worlds: the security and performance of a declarative adblocker, and the functionality of a non-declarative adblocker when you need it, without compromising your entire browsing session.

[1] https://portswigger.net/research/ublock-i-exfiltrate-exploit...

[2] https://seirdy.one/posts/2022/06/04/layered-content-blocking...

Re:uBlock Origin Lite now available on Firefox by nottorp on Tuesday August 22, 2023 @03:42AM (#37219768)
Why do you think so?

Say I open HN on my morning coffee and open 5 links in new tabs. They don't have to be to sites I've opened before. I will be tracked until i go to each tab and add it to uBlock Origin.

How is that an improvement?

Re:uBlock Origin Lite now available on Firefox by mattstir on Tuesday August 22, 2023 @09:23AM (#37222351)
It truly does seem like a misinformed take on security, believing that being actively tracked is better than the possibility of being tracked if uBlock Origin were ever to be compromised.
Re:uBlock Origin Lite now available on Firefox by nottorp on Tuesday August 22, 2023 @09:32AM (#37222465)
Those evil hackers always compromise open source code first, never the ads that no one is reviewing!
Re:uBlock Origin Lite now available on Firefox by mmis1000 on Monday August 21, 2023 @11:41PM (#37218418)
Actually every extension on AMO must go through manual inspection to push as auto update. You may push new version to markey without manual inspection. But it won't auto update to users' computers until then.
Re:uBlock Origin Lite now available on Firefox by Semaphor on Monday August 21, 2023 @11:43PM (#37218427)
Do you have a source for this? I always thought they long ago stopped manual inspections for most extensions.
Re:uBlock Origin Lite now available on Firefox by mmis1000 on Monday August 21, 2023 @11:48PM (#37218448)
I literally wrote one. And it had been taken down due to reviewer unable to reproduce the achieve I uploaded (it turns out to be a \r\n \n line ending issue. Thanks windows and git).
Re:uBlock Origin Lite now available on Firefox by Semaphor on Tuesday August 22, 2023 @12:14AM (#37218607)
I maintain one as well, and had it approved despite the source having a bug, so that doesn’t sound like much of a source.
Re:uBlock Origin Lite now available on Firefox by mmis1000 on Tuesday August 22, 2023 @12:41AM (#37218771)
I don't think they ever care about whether your extension has bug or not. They probably only review whether your extension has weird minified code or dependencies.
Re:uBlock Origin Lite now available on Firefox by Semaphor on Tuesday August 22, 2023 @06:21AM (#37220720)
It was a bug that prevented building it. If they just look at the source code without building it, they’ll have no idea if it’s the same code at all, and it would be useless.
Re:uBlock Origin Lite now available on Firefox by mmis1000 on Tuesday August 22, 2023 @07:50AM (#37221379)
That's weird. Probably it depends on reviewer? Or probably the reviewer figured out how to compile your source some way? In my experience, the reproducible requirement is always forced.
Re:uBlock Origin Lite now available on Firefox by Semaphor on Tuesday August 22, 2023 @08:25AM (#37221672)
See my other comment [0], manual reviews have been optional for a long time. There was quite the outcry when they stopped reviewing everything.

[0]: https://news.ycombinator.com/item?id=37218820

Re:uBlock Origin Lite now available on Firefox by zagrebian on Monday August 21, 2023 @11:57PM (#37218511)
Ok, when adding a new extension to the store. But “recommended extensions” get manually reviewed whenever they update.
Re:uBlock Origin Lite now available on Firefox by Semaphor on Tuesday August 22, 2023 @12:53AM (#37218820)
> When a developer submits an extension to addons.mozilla.org, it’s scanned for a set of common issues. It may also be subject to human review.

-- https://support.mozilla.org/en-US/kb/tips-assessing-safety-e...

*May* is important here. That is also what I remembered changing years ago.