nixpkgs has so many packets, there's no way it hasn't been hacked yet.
post
As a nix user, I wouldn't laugh. We are vulnerable to this type of attack as well.
Heck, it's surprising we aren't full of malware considering how many packages there are, and an easy supply chain attack vector with auto RyanTM PRs.
I remember when, I think it was either a log4j or CUPS malware attack, Debian remained unaffected because the packages in its repos was too old.
AUR: it happened to me, and one day it will happen to you!

This is still the shai hulud worm.
There’s no reason nixpkgs hasn’t been hacked yet. It jest depends on a few devs credentials being stolen, either by vscode, an npm package, a pypi dep, etc.
I mean, no one is stopping you from using Nix on Arch
I believe I even got the reverse, pacman working on Nix (I've also gotten it and archiso working on Fedora)
Can you add aur to pacman?
I didn't think you could, but TBH I only use arch on the side ( or by the way , if you will) mostly debian. I dunno i'd want to put aur into pacman even if i knew how.
Running both ... Nixpkgs will rightfully laugh about this - in about a month once they caught up on recent events.
Loving both arch and nixos though!
Comparing the AUR to nixpkgs is like comparing the NUR and random flakes to the main Arch repositories.
Had the AUR been prefixing the package names with the maintainer name like the NUR does, then it would not be possible to do the orphan adoption attack at the same scale. (Instead a bunch of duplicates with higher version numbers would pop up, prompting users to switch)
We're any chaotic-aur packages affected?
Not to my knowledge. They did block a few of these because they got auto-flagged for manual review.
1 comment