logo
  • Search
  • Reddit Posts 🔥
  • Archive
  • GitHub

PSA: Do not run ANY cargo commands on untrusted projects

435 points Shnatsel 2025-03-03 12:59:27 127 comments
View on Reddit ↗

TL;DR: Treat anything starting with cargo as if it is cargo run. This applies even to commands that do not build anything, such as cargo clean, and third-party plugins, such as cargo audit.

More info: https://shnatsel.medium.com/do-not-run-any-cargo-commands-on-untrusted-projects-4c31c89a78d6

© 2025 Query.rs, built by Folyd with ❤️❤️, see about page to learn more · meiguo.app · aiberm.com