An unofficial, read-only Hacker News reader.

Ladybird is now in alpha (opens external site)

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

View full thread · View on Hacker News

Comment thread (13)

  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