Earlier quoted context omitted.
Running code by itself isn't that bad, it's the fact that browser developers have decided for some reason that this code needs to be as performant as possible, so, JIT. I don't get it! The way JS is typically used, it doesn't even benefit from JIT all that much. Making ajax requests, doing stuff with strings, and moving DOM elements around doesn't need every CPU clock cycle to be used as optimally as possible. It's e…
I disagree about JIT performance not mattering. I enabled "Lockdown Mode" on iOS which disables the JIT for the mentioned security reasons, and it causes a very noticeable lagginess on many sites. Of course, the primary cause is the unnecessary JS monstrosities wasting CPU cycles. But practically speaking I can say that disabling the JIT results in a very subpar experience of many JS heavy pages.
Actively exploited sandbox RCE in all Chromium versions
331–340 of 527 posts
Re: Actively exploited sandbox RCE in all Chromium versions
#332[flagged]
What does your vibe-coded-in-C browser do to mitigate this kind of exploit?
https://github.com/nordstjernen-web/northstar-browser/blob/m...
Re: Actively exploited sandbox RCE in all Chromium versions
#333Earlier quoted context omitted.
> One seemingly small change to a page (like setting innerText) can have many ripple effects with reflow on mamy parts of a page. I haven't looked into how browsers actually do it, but my mental model for it is that if something changes, this merely sets a flag on that element or its parent that its layout is not valid any more. Then, on next vsync, all the elements that have this flag set have their layout recalcula…
OP here. The steel-man argument for React is not that it is faster at rendering. It cannot be , because it ultimately relies on the same DOM that everyone else does to do the job, and it has to set up a massive JS data structure to do what it does, which uses a lot of memory and has big GC costs. Arguments that assert that the React virtual DOM are faster than the native/shadow DOM are simply wrong [1]. Even the Reac…
> But now that LLMs are writing the code
Hopefully that's a temporary state of affairs and everyone will eventually go back to writing code by hand. I've never even considered using an LLM to get my job done, the whole idea is as alien to me as are these types of UI frameworks. To me, the best language to describe what you want from a computer isn't English, it's a programming language.
Re: Actively exploited sandbox RCE in all Chromium versions
#334Re: Actively exploited sandbox RCE in all Chromium versions
#335Normalising running arbitrary code delivered over the internet (in the form of JavaScript and WASM), as a necessary condition for accessing most web pages may not have been one of the best decisions we have made.
Do you remember what the alternative was? Flash, Java, ActiveX. No thank you.
Sure security is difficult but vulnerabilities of this magnitude are rare. If anything the lesson is don't write highly security sensitive software in C/C++.
Re: Actively exploited sandbox RCE in all Chromium versions
#336Normalising running arbitrary code delivered over the internet (in the form of JavaScript and WASM), as a necessary condition for accessing most web pages may not have been one of the best decisions we have made.
Re: Actively exploited sandbox RCE in all Chromium versions
#337Re: Actively exploited sandbox RCE in all Chromium versions
#338Earlier quoted context omitted.
The value of the report is dependent on the scarcity of the knowledge. If anybody can report it, the bid goes down.
How do you figure? The value of the report is, ethics aside, the same as the value of exploiting it. Doesn’t matter if I can conceive of it, it matters if I can exploit it.
Re: Actively exploited sandbox RCE in all Chromium versions
#339Earlier quoted context omitted.
But google is also a monopsony. There isn't anyone else the researcher can ethically sell it to. They just have to take whatever bounty google decides to pay.
I'm just saying it's more evidence that Google should be broken up.