hckrnws
Show HN: Three Linux VMs in a browser tab, each running a different browser
by michidk
by michidk
*edit: love seeing the stuff unkernel and trynix can demonstrate.
Let me know what you think of tabc :)
I'm strongly assuming this is built in the basis of trynix and unkernel that have been posted here the past days.
[deleted]
They load, but fail to connect to any site.
Related:
iOS browsers: Google joins Mozilla’s criticism of Apple https://www.heise.de/en/news/iOS-browsers-Google-joins-Mozil...
It's turtles all the way down.
[dead]
[dead]
So I don't think this makes much sense at all.
> There is no GPU: browsers render in software.
Then what is the point of this for complex websites if it is in software? Guessing that Claude wrote this?
If you run the most popular websites without it (YouTube, Instagram, TikTok, etc) They will not run without it and will lag at best.
> And testing compatibility is still useful even if it is slow.
Playwright already exists for that use case.
In fact, you are believing that WASM solves all our isolation problems if something like Linux as the guest application (written in C) is running in the browser, when that is a further from the truth.
Put it another way: May people thought "microVMs" were "safe" until AI agents found both types of bugs in Linux (key point here) to escape KVM's "hardware isolation" that microVMs use.
It is even worse. WASM runs the entire application all in a single piece of linear memory and it doesn't even have basic protections (ASLR) to make it difficult for attackers to escape. Just because it runs in WASM, does not mean that the protections are guaranteed for all code, especially converted C/C++ code.
We are now in an era where AI agents are tearing apart C/C++ based code every day and there are no limits. Therefore that risk is not removed and it still exists regardless.
A memory corruption bug in the _client memory_ doesn't automatically translate to a memory corruption bug in the _host memory_, which is required for a pathway for a sandbox escape to happen. Additionally a memory corruption of the host memory doesn't automatically translate to a sandbox escape. Even then, with that sandbox escape in the scenario of a browser you usually end up with access to a V8 isolate, but that still only compromises the single website (the website that already has made the decision to load the WASM), so at this point this isn't any worse than loading an arbitrary .js snippet into your website. To make this even worse you would additionally need to find a sandbox escape for the V8 isolate to possible get something like a browser RCE.
> Compiling something from C to WASM does not get rid of those C-style vulnerabilities in the guest (which is what attackers use to escape isolation in the first place).
> ... does not mean that the protections are guaranteed for all code, especially converted C/C++ code.
No, that's not what they use to escape the isolation at all. In an untrusted WASM scenario, you already assume that an attacker can generate arbitrary malicious WASM. There is no need to add the additional layer of indirection where an attacker has to first create malicious C that is then translated to malicious WASM. If the runtime can't possibly contain malicious WASM, then it's already broken anyways.
> WASM runs the entire application all in a single piece of linear memory and it doesn't even have basic protections (ASLR) to make it difficult for attackers to escape
As stated above that's not related to sandbox escapes at all. The papers you cited in your comment on the other thread that documented this had the correct conclusions: C programs translated to WASM will likely be exposed to more memory related bugs due to lack of measures like ASLR. However that will typically only have bearing on inner-application memory issues, like e.g. a bug in the GUI of a password manager allowing to read passwords from elsewhere in its memory. Yes, C programs may counterintuitively turn less secure rather than more secure inside WASM, but it does in no way provide you with additional venues of crafting a sandbox escape that weren't already there.
---
Please draw out the attack scenario you vaguely outline in concrete steps and anyone can see how ridiculous this is. In something like this demo or trynix, you would need to start with a supply chain attack and have it contain a chain of ~5 CVSS ~9 exploits.
Not even the Chrome team can keep up with the surge of bug reports coming in.
If GPT-6 can discover 900+ local-privilege escalations in C code, this can also happen in C/C++ browsers themselves.