Comment

Comment by snek

What would be the sane behaviour for the following situation?

my app imports an http request library and gives it net permissions

my app imports a templating library and gives it no permissions

the templating library is malicious and tries to import well known http request libraries, and finds the one i imported, which has been given net permissions.

or what if you give the templating library a mixin of some sort which accidentally exposes the privileged http library

parent snek 8 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton