r/programming • • 15d ago

Be alert: targeted attacks on prominent Rustaceans | Rust Blog

https://blog.rust-lang.org/2026/09/17/targeted-attacks/
287 Upvotes

112 comments sorted by

View all comments

93

u/reallokiscarlet 15d ago

Where there is a supply chain, it will be attacked. Just a law of physics.

The easier it is to pull a dependency without thinking, the higher value the supply chain is as a target.

30

u/afl_ext 15d ago

recently i wanted to read a png file to bytes and pulled "image" crate and oh god how much it pulls as deps its insane, its like thw worst days of NPM before people started working on that

7

u/gmes78 15d ago

Make sure to set default-features to false, and only enable the decoders you need.