An unofficial, read-only Hacker News reader.

Ladybird is now in alpha (opens external site)

2473 points by janvdberg 5 days ago | ladybird.org | 747 comments on HN

View full thread · View on Hacker News

Comment thread (22)

  1. 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).

    Replies (5)
    1. This is a bit much, no? Your browser is not running as root and it's not executing arbitrary binaries.
      Replies (4)
      1. 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.
        Replies (4)
        1. 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...

          Replies (1)
          1. > Ladybird may have a security through obscurity advantage

            Also being a lot smaller and targeting much fewer features than chrome, their attack surface is far smaller.

        2. 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

          Replies (1)
          1. Chrome and firefox more or less do this automatically, still there are sandbox escapes that result.
        3. 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.

        4. At this point I think all browsers should just be ran in jails/sandboxes. Especially a new to this world browser.
      2. 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.

        Replies (1)
        1. Ladybird's javascript engine is written in Rust.

          Not that Rust absolves all issues, but I'd trust it over any of the legacy C/C++ implementations out there.

      3. Are you aware that OpenAI recently found 948 local privilege escalation vulnerabilities in Linux?

        https://openai.com/index/a-thousand-fewer-paths-to-root/

        Replies (1)
        1. Have you looked at Linux code? It wasn't good. I'm surprised that the number is so low.

          Everything is a tangle of cross cutting concerns, hooks, hacks, and "gotta go fast" bullshit that in the end gets bypassed if anyone actually needs performance.

          The Linux kernel is not well engineered.

      4. 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

    2. You sound like you would get an aneurysm if I told you my phone's bootloader is unlocked.
      Replies (1)
      1. Can be, or is just sitting unlocked?
        Replies (1)
        1. "The boot loader is unlocked and software integrity cannot be guaranteed."
    3. Nice to see the next goalpost move
      Replies (1)
      1. It's nice because it means there's been an improvement in the product.
    4. I already bubblewrap my Firefox and you should do the same. Browsers are simply way too complex for their own good.
      Replies (1)
      1. Afaik firefox already uses namespaces to sandbox its processes, and running it under bwrap disables some of them.
    5. 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.