Lurker News

Comments (630) 151 threads

Show all comments

Showing thread 5 of 151

jtumbot5 replies#
It's awesome to see an alternative browser being made that's not linked with Google's ads. With the security concerns that they're upfront about on this.

What precautions should I be taking as a user when using this while it's still in Alpha. My assumption would be just to use for any general web browsing that doesn't require login/auth/payments/downloads?

thrance2 replies#
There's this paragraph in TFA:

> We want security nerds to hack it! A new browser gets hacked, over and over, and that’s part of the process, so we make no promises about security today. When you pwn us, please tell us how so we can harden Ladybird!
So yeah, better avoid sending credentials with it, for now.

zygentoma1 reply#
It's not the credentials that's the problem. It's visiting untrusted website that could compromise your browser and / or your whole OS.

And untrusted websites is basically the whole web.
If you're only visiting trusted sites (and that probably means only sites written by yourself), sending credentials should not be the problem here.

downsplat#
Yes, and every website that loads ads from a broker is untrusted.
Randor#
I tested a Windows build earlier this year. It was using 127.0.0.1 sockets for IPC between processes, you can't even assign an ACL to secure a socket. Not sure if that's changed since then.
hollerith5 replies#
Running an insecure browser makes the whole OS on which the browser runs insecure. Don't assume anything on that OS will be kept private from attackers. Don't assume any other program on the OS hasn't been compromised.

BTW the chances of Ladybird ever becoming secure enough that you won't need the aforemention precautions is essentially zero unless a megacorporation adopts it like Apple once adopted KHTML (and turned it into WebKit/Safari).

unitedfirmware4 replies#
This is a bit much, no? Your browser is not running as root and it's not executing arbitrary binaries.
zygentoma4 replies#
But your browser is running as your own user, which can read everything you can, and if an RCE is found in Ladybird, it IS an arbitrary binary.
goodmythical1 reply#
CVE-2026-106426 Race condition in Fonts in Google Chrome prior to 155.0.8059.39 allowed a remote attacker to potentially execute arbitrary code outside the sandbox via a crafted HTML page.

CVE-2026-95311 Free of non-heap memory in Fonts in Google Chrome prior to 154.0.8037.57 allowed a remote attacker leveraging social engineering to potentially execute arbitrary code outside the sandbox via a crafted HTML page.
These are in Chrome which has vastly more resources both red and blue teaming it. Though, Ladybird may have a security through obscurity advantage.
It doesn't appear that either has a POC, but RCE to root is just one more step, and really if you've got RCE you don't necessarily need root for exfil, DDOS participation, residential proxying, distributed scraping...

Continue this thread — 1 reply

DaSHacka1 reply#
But not necessarily, one such precaution could be running the browser as a separate user and relying on FS permissions and the kernel for 'sandboxing'. Not impenetrable by any means (especially with all the recent Linux privesc disclosures of late), but still a solid (and simple) approach.

Related:
https://wiki.gentoo.org/wiki/Simple_sandbox

rcxdude#
Chrome and firefox more or less do this automatically, still there are sandbox escapes that result.
unitedfirmware#
Yes, I would say that this is the same risk as running many programs on my machine. The parent didn't say that though, they said if you use Ladybird you might as well throw your entire machine away and assume it's compromised. People are talking about escalation privilege... but that's an additional step.

I will contend that you can use Ladybird with a "normal" security profile. I mean most people `curl X | sh`, which I'd consider far more dangerous than running a non-mainstream browser.

officeplant#
At this point I think all browsers should just be ran in jails/sandboxes. Especially a new to this world browser.
suidpit1 reply#
It runs arbitrary JavaScript, which can oftentimes lead to remote code execution.

Moreover, in our mostly single-user 2026 operating systems, "not running as root" does not protect you from malware leaking personal files, saved credentials, SSH keys, cookies, passwords, etc.

Continue this thread — 1 reply

Continue this thread — 1 reply

nextaccountic#
About running as root vs user, https://xkcd.com/1200/

About arbitrary binaries.. theoretically it should be possible to sandbox the execution of javascript and wasm, but most sandboxes are leaky. Even if they don't have a specific bug that grants RCE, you can, for example ,exploit timing side channels with spectre etc over javascript, and the fact that some timing APIs were removed is an acknowledgement that people are unable to actually fix the side channel
Which is kind of embarrassing

max-privatevoid1 reply#
You sound like you would get an aneurysm if I told you my phone's bootloader is unlocked.
DANmode1 reply#
Can be, or is just sitting unlocked?

Continue this thread — 1 reply

mrbn100ful1 reply#
Nice to see the next goalpost move
potwinkle#
It's nice because it means there's been an improvement in the product.
BoingBoomTschak1 reply#
I already bubblewrap my Firefox and you should do the same. Browsers are simply way too complex for their own good.
resistings-gend#
Afaik firefox already uses namespaces to sandbox its processes, and running it under bwrap disables some of them.
oofbey#
Another reason this concern is somewhat overblown is that Ladybird is currently a tiny target. Why would an attacker even bother building something just for it when it’s so new basically nobody is using it? They wouldn’t. Unless you’re being targeted specifically and then you have bigger problems.
npteljes1 reply#
As long as the browser is in this niche curiosity popularity range, I don't think that there are many practical risks. My stance is that for now, it's safe to try.

I guess you could jail the runtime, as a hardening step. Apparmor, firejail, dedicated VM, old laptop on your guest wifi, pick your poison.

fc417fc8021 reply#
> in this niche curiosity popularity range, I don't think that there are many practical risks

I think that used to be the case but with the advent of LLMs I don't think it applies anymore.

npteljes5 replies#
What kind of scenario do you have in mind?

Continue this thread — 5 replies

pessimizer#
> My assumption would be just to use for any general web browsing that doesn't require login/auth/payments/downloads?

Your regular browser is going to be a lot more dangerous for that. Nobody is targeting Ladybird, like 50 people will be running it. Whereas you can be sure that there are a bunch of vulnerabilities in Chrome and Firefox that are being exploited but aren't publicly known yet. And by the time they are noticed and plugged, there will be a dozen more.
Of course this is less true for Firefox, they don't have too many more users than Ladybird.