▲ 28 ▼ Supply chain attack on arrayref (blog.rust-lang.org) submitted 2 weeks ago by cm0002@europe.pub to c/rust@programming.dev 5 comments fedilink hide all child comments
[–] treadful@lemmy.zip 5 points 2 weeks ago Guess it was just a matter of time. permalink fedilink source
[–] chickenf622@sh.itjust.works 4 points 2 weeks ago (1 child) Reminder to have minimum ages for update releases to help avoid these exact kinds of attacks. I do like 3 days which is probably overkill. permalink fedilink source hideshow 2 child comments replies: [–] naonintendois@programming.dev 2 points 2 weeks ago (2 children) How do you set that up? permalink fedilink source parent hideshow 4 child comments replies: [–] chickenf622@sh.itjust.works 5 points 2 weeks ago I'm not a rust user but it looks like the feature is in their unstable branch https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#min-publish-ag. Also looks like someone made a crate to do that called cargo-cooldown. These supply chain attacks have been more frequent only recently so a lot of ecosystems are still working on implementing this kind of feature. permalink fedilink source parent [–] blazebra@programming.dev 1 point 2 weeks ago Configure your updater and use exact or semi-exact versions. permalink fedilink source parent
[–] naonintendois@programming.dev 2 points 2 weeks ago (2 children) How do you set that up? permalink fedilink source parent hideshow 4 child comments replies: [–] chickenf622@sh.itjust.works 5 points 2 weeks ago I'm not a rust user but it looks like the feature is in their unstable branch https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#min-publish-ag. Also looks like someone made a crate to do that called cargo-cooldown. These supply chain attacks have been more frequent only recently so a lot of ecosystems are still working on implementing this kind of feature. permalink fedilink source parent [–] blazebra@programming.dev 1 point 2 weeks ago Configure your updater and use exact or semi-exact versions. permalink fedilink source parent
[–] chickenf622@sh.itjust.works 5 points 2 weeks ago I'm not a rust user but it looks like the feature is in their unstable branch https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#min-publish-ag. Also looks like someone made a crate to do that called cargo-cooldown. These supply chain attacks have been more frequent only recently so a lot of ecosystems are still working on implementing this kind of feature. permalink fedilink source parent
[–] blazebra@programming.dev 1 point 2 weeks ago Configure your updater and use exact or semi-exact versions. permalink fedilink source parent
all 5 comments