by bheadmaster · 4y ago · 0 comments
Control of computing is an all-or-nothing business - even a single compromised component can lead to compromise of the complete system.
Don't trust opaque binaries.
> How do you deal with this situation, do you use a virtual machine, or is there any other ideas I am missing here?
If you really want to run that opaque binary, a virtual machine will give you a decent amount of security. With GPU passthrough, you can even get near-native speed, too.
I always thought npm was open-source-centric. If npm somehow ran opaque binaries, I'd really like to know about that.
2. A package author can push something other than the repository contents to npm/ change contents before pushing to npm, making the whole open source thing useless.
3. As someone else pointed out, you can download+exec when an npm package is installed.