News for hackers. Stuff that matters.
Re:Malicious Rust crate Arrayref runs a build-time payload by vlovich123 on Thursday August 20, 2026 @10:13AM (#49374856)
Disallow lists are ineffective - better to disallow by default and require opt in.

Also, crates.io can defer serving up newly uploaded scripts that have a new build.rs / proc-macro dependency and warn publicly that a version introduces it.

Restricting build scripts 100% will help mitigate the impact, just not if you only deny it once. And they can develop other things like sandboxing for build scripts by default and escaping that to be the exception that has to be explicitly allowed.

There are no comments on this comment yet.