If I understand Deno’s permissions correctly then they are per-app: “This app must not access the internet”.
I’d much prefer per-dependency permission: “Only package X is allowed to access the internet”.
I’m wondering if there are any ideas for moving Node.js in this direction.
Deno's best security idea was permissions by default. Ryan Dahl, on why he's moving on: "Marginal performance or UX or security benefits are not enough."
Few teams switch runtimes for security. Security has to come to the tools they already use.
https://socket.dev/blog/deno-acquisition