Hacker News new | ask | show | jobs
by illright 23 days ago
Node actually took that from Deno, they do have a permission model now: https://nodejs.org/api/permissions.html
1 comments

From their documentation:

> It does not provide security guarantees in the presence of malicious code. Malicious code can bypass the permission model and execute arbitrary code without the restrictions imposed by the permission model.

The permission model is more of a "help developers not accidentally "rm -rf /" their local machine than it is something that helps end users.

But doesn’t preventing accidents help end users too?
Sure, but it's more footgun protection, and less security. Still useful, but not the same.
with deno being "The main thing it protects you against is malicious code that isn't smart enough.", does this not practically put them on the same footing?