News for hackers. Stuff that matters.
Re:Towards native security defenses for the web ecosystem by staticassertion on Thursday July 23, 2020 @02:16AM (#23924662)
This doesn't make any sense.

A) It's not a good idea. The Chrome sandbox is arguably a lot stronger than Apparmor/ Seccomp. A native program in Apparmor or SELinux can still make virtually arbitrary system calls, whereas an attacker who has compromised a Javascript renderer can not. Further, The attacker would have to own the renderer first, whereas you're talking about just giving native execution rights. Further than that, you can just Apparmor/seccomp chrome? So just go do that? I've done it myself.

B) The attacks described in the post have nothing to do with code execution on your system. They're talking about attacks like XSS, which would exist in any language that provides the ability to manipulate the DOM with strings - so, any of the ones that would be useful.

Re:Towards native security defenses for the web ecosystem by techntoke on Thursday July 23, 2020 @03:47AM (#23925109)
> It's not a good idea. The Chrome sandbox is arguably a lot stronger than Apparmor/ Seccomp. A native program in Apparmor or SELinux can still make virtually arbitrary system calls, whereas an attacker who has compromised a Javascript renderer can not. Further, The attacker would have to own the renderer first, whereas you're talking about just giving native execution rights. Further than that, you can just Apparmor/seccomp chrome? So just go do that? I've done it myself.

In a container sandbox platform, you could still define the permissions that must be granted for a site. Like, this program wants to access your camera, should you let it? Or, it wants to access a directory. That isn't much different than a browser today.

Re:Towards native security defenses for the web ecosystem by staticassertion on Thursday July 23, 2020 @11:13AM (#23928170)
It's not much different in its goals, it's just a strictly worse implementation.
Re:Towards native security defenses for the web ecosystem by techntoke on Thursday July 23, 2020 @06:14PM (#23933122)
Nothing can be worse than the JavaScript monster we have today