logoalt Hacker News

sempron64today at 6:26 PM2 repliesview on HN

Sandboxing is a mitigation but a very limited one. The library itself can contain a malicious payload -- rust code most often ends up as native code executed on the host.

I think we may need to enter a world where there are fewer, heavily audited, libraries and dependency depth is limited. Allowing unvetted dependencies to be installed by default is not a good way forward. App stores have a similar problem and I think a lot of lessons have been learned there that can be applied.


Replies

k_roytoday at 6:50 PM

That world can’t exist unfortunately, because the minute someone wants a feature that isn’t in your core libraries, you just create a new library and we’re back to now.

7373737373today at 6:43 PM

That's why languages need sandboxing at runtime as well

show 1 reply