...and DPRK just compromised popular rust crates. https://www.aikido.dev/blog/tw...

@stevel@hachyderm.io

...and DPRK just compromised popular rust crates.
aikido.dev/blog/two-popular-ru
I think we need a strict rule "wait at least 48h before any upgrade of an dependency" across all ecosystems, and a best practice for developers of "build in a sandbox". Of course, to save downloading the internet the sandbox containers still need to use a shared cache of downloaded artifacts- but at least it should be possible to isolate the damage any malicious build dependency can do to the project directory tree alone.
Maybe i need a tool to scan a local package artifact cache to audit what has been added after a build to allow for verification and rollback. A naive implementation would just list + shasum all the files and delete new/changed ones as a rollback . A strict one would be package manager aware and actually look at the remote stores for reference checksums. Does such a tool exist?
#softwareengineering #cybersecurity