←back to thread

1208 points jamesberthoty | 1 comments | | HN request time: 0.214s | source
Show context
l___l ◴[] No.45260940[source]
Is there a theoretical framework that can prevent this from happening? Proof-carrying code?
replies(8): >>45260951 #>>45260961 #>>45260981 #>>45260989 #>>45261022 #>>45261060 #>>45270399 #>>45274246 #
tarruda ◴[] No.45260961[source]
Something similar to Deno's permission system, but operating at a package level instead of a process level.

When declaring dependencies, you'd also declare the permissions of those dependencies. So a package like `tinycolor` would never need network or disk access.

replies(1): >>45279167 #
1. pxc ◴[] No.45279167[source]
Does Deno's sandboxing not extend to build time?