crates.io phishing attempt
Thanks to my sponsors: you got maiL, Ben Wishovich, Sylvie Nightshade, Michał Bartoszkiewicz, Richard Pringle, Vladimir, Menno Finlay-Smits, qrpth , Thehbadger, Dom, Braidon Whatley, callym, James Brown, dataphract, Max von Forell, Santiago Lema, Arjen Laarhoven, Morgan Rosenkranz, Daniel Papp, Jack Duvall and 279 more
Earlier this week, an npm supply chain attack.
It’s turn for crates.io, the main public repository for Rust crates (packages).
The phishing e-mail looks like this:
And it leads to a GitHub login page that looks like this:
Several maintainers received it — the issue is being discussed on GitHub.
The crates.io team has acknowledged the attack and said they’d see if they can do something about it.
No compromised packages have been identified as of yet (Sep 12, 14:10 UTC).
Important links:
Here's another article just for you:
A dynamic linker murder mystery
I write a ton of articles about rust. And in those articles, the main focus is about writing Rust code that compiles. Once it compiles, well, we’re basically in the clear! Especially if it compiles to a single executable, that’s made up entirely of Rust code.
That works great for short tutorials, or one-off explorations.
Unfortunately, “in the real world”, our code often has to share the stage with other code. And Rust is great at that. Compiling Go code to a static library, for example, is relatively finnicky. It insists on being built with GCC (and no other compiler), and linked with GNU ld (and no other linker).