this post was submitted on 14 Jun 2026
141 points (97.3% liked)
Linux
14103 readers
184 users here now
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Which is the case with
Cargo.lock. You can even lock the toolchain itself withrust-toolchain.toml. There a reason whyuvdevelopers knew what good practices to implement in their quest to fix python tooling 😉.That's another failed analogy. There is no orphaning and total randos taking over in crates.io (same for npm/pypi I would assume). The owner himself must hand over or give permissions to a specific person/account. That's another implicit chain of trust that doesn't exist in AUR.
Nothing is fail-proof of course, as the
xzincident showed.I don't follow npm incidents closely, but the cases I saw involved the legit owners/maintainers themselves, who were either compromised, or genuinely doing the compromising themselves 🤣.
This is largely irrelevant to the discussion.
It won't be similar for the all the reasons stated.
That's where language implementation compat guarantees, audit tooling (
cargo auditet al) and good tooling in general, together with a good semver story in the ecosystem itself, ALL come together to make this largely not a problem.This works well enough in the
crates.ioecosystem.From what I hear,
npmhas the audit tooling part covered. But it's failure in all the other aspects that's making the situation unattainable.As with
pypi, there is the pain point of python minor release updates breaking shit all the time. But beyond that, I don't know enough to give an informed take (other than thatuvis a blessing for those who don't want to get their hands really dirty in that ecosystem).And again, these details and differences are very relevant.
As of now, the number of successful supply chain attacks (where a chain of real dependants exists) in the
crates.iosystem is ZERO.