News for hackers. Stuff that matters.
Re:Deno Is a Browser for Code by Vinnl on Friday May 29, 2020 @06:44AM (#23348423)
To keep with the browser comparison: browsers have started to add tracking protection, and people are installing adblockers, because we've basically concluded that we don't want the websites we load to call out to arbitrary other websites, even if we do want them to call out to some.

That said, sounds like it's something they're thinking about:

> It is also hard to break down those permissions, to say “this code can do this, but this other code over here can’t” or when code prompts to escalate privileges where is that code coming from. Hopefully we can figure out an easy to use mechanism coupled with something that would be effective and performant at runtime to try to solve those challenges.

Re:Deno Is a Browser for Code by asiachick on Friday May 29, 2020 @08:29AM (#23349165)
Except it's not a browser which never has file access, db access etc.... A MITM download in the browser affects a few users. A MITM download in Deno effects all users.
Re:Deno Is a Browser for Code by Vinnl on Friday May 29, 2020 @08:56AM (#23349365)
Let me tell you about IndexedDB and the File System API :)

Jokes aside, though, doesn't the MITM only affect users who run the MITM'd script, just like in the browser it only affects users who visit a MITM'd site?

Re:Deno Is a Browser for Code by PudgePacket on Friday May 29, 2020 @11:04AM (#23350753)
... Just like every other software dependency system ever.