News for hackers. Stuff that matters.
Re:Rust Malware Staged on Crates.io by remram on Friday August 25, 2023 @01:18PM (#37264392)
Why would macros need sandboxing if the crate build doesn't have any? What is your threat model?

Without proc macros, running `cargo build` or `cargo check` can already do anything via `build.rs` scripts. Without that, you still run arbitrary code from crates.io if you do `cargo run` or `cargo test`.

There are no comments on this comment yet.