Question for the Arch users in the thread is the AUR being hit with Malware something you personally worry about or do you stick to official repos shelly ect? I know it's been hit a few times which is why I ask.
The official answer: The AUR is a dumping ground for build scripts to packages and software that Arch Linux legally can't ship (re: official binary drivers, official binary drivers, official proprietary software installers for shit like MS core fonts, Oracle Java, etc)
or users really want but the Arch package maintainers can't or won't support. Given its user-centric nature, the AUR is 100% caveat emptor. The onus is on you, the user, to manually audit all PKGBUILDs that you choose to install. The officially recommended way to use AUR PKGBUILDs is to use
git clone, and then
makepkg -si. For updates, you check upstream to the AUR to see if the PKGBUILD updated. If it did, you run
git clone and
makepkg -si again. No muss, no fuss (in theory).
The unfortunate, practical reality: the self-righteous douchebags in this thread who say skill issue every time there's an AUR supply chain malware attack miss the broader point. Human beings are fucking
lazy. Ain't no one tryna manually juggle build scripts by git cloning the PKGBUILD and manually running makepkg every single goddamn time. AUR helpers like
yaourt (RIP) and
yay basically wrap over
pacman to make it easier to update your system all in one go.
Of course... that impulse to blindly yaourt -Syua or yay -Syua defies the most basic tenet of Arch Linux maintenance: always fucking double, triple, and quadruple check before running pacman -Syu.
"But that's all user error! The user is the simultaneously a user, an administrator, and a maintainer within the Arch Linux context! If you're gonna blindly pacman -Syu your whole system without checking the Arch news, checking the forums, and checking upstream documentation for known regressions or bugs reports, that's your problem! Why bitch about something like this?" whines the strawman interlocuter. To which I say: that's how Arch Linux
started in 2002 with Judd Vinet at the helm. That's how shit used to be in 2012 c. Arch's 10th birthday. It's
not the current state of affairs despite how much people wanna posture to the contrary.
Almost no one I know who runs Arch Linux nowadays ever bootstrapped their current system the "proper" way with the Arch Build Scripts. It's almost always through
archinstall. The first AUR package that most Arch users build after bootstrapping their shit with
archinstall is yay. Once they have
yay installed, they never manually invoke
makepkg again. Then it becomes really fucking easy to start accreting AUR packages that are simultaneously necessary or semi-necessary (re: binary drivers, binary firmware, EULA installers for fonts, proprietary runtime environments etc etc) and complete and utter bullshit (re: some douchebag's Arch Linux ricing tool that they wrote like six months ago before abandoning after an upstream change broke it).
The barrier to entry for Arch Linux has progressively collapsed with time. It's no longer some fat bastard living in his mom's basement saying "mom! Pacman borked my xorg.conf again!" It's now full of impatient zoomers who coast off the low barrier to entry, run Arch because they bought into all those talks about rolling being better and fuck Microslop and fuck Mint for being outdated, and then they fucking shit their pants and go "oh my God, Arch sucks! Why are there no safeguards and guardrails to protect me from the consequences of my stupidity?!" whenever a non-trivial distro maintenance task is required (re: major Pacman release, upstream dependency conflict resolution guide, etc) or an AUR supply chain malware attack happens.
Gentoo, for all of its faults, is still an incredibly baroque distribution that requires its users to sit down and endure compilation wait times. You still need to understand Portage, ebuilds, USE, SLOT, and whatever else. Slackware lacks manual dependency resolution, uses a non-standard init framework that makes it increasingly incompatible with modern Linux software, and updates move at a glacial pace. Yet it must be said: it's very clearly meant for mega Linux boomers who were around when Linus Torvalds made his first usenet post about AT hard disks. The skill barrier is still there, so most users would definitely know how to work with and around Slackware's many quirks and oddities. Arch doesn't have any of those hard skill barriers and persistent user skill checks anymore.
It's very much a homogenous Linux stack: Kernel + GNU tooling + systemd + display server stack + Mesa + miscellaneous applications to taste. Without Pacman and the AUR, Arch Linux is indistinguishable from Debian, SUSE, Fedora, and all their derivatives. There's a reason why the ArchWiki is broadly transferrable to most Linux distributions. Arguably moreso in the post-systemd era from 2013-onward. It's a vanilla Linux stack that updates stupidly quickly, requires non-trivial manual intervention on the user's part, and the technical skill required to get off the ground became nonexistent like 5-6 years ago either way.
The trust model can't be fixed and users will never, ever, actually comply with a requirement to inspect the packages they're installing. You either trust a higher authority like Canonical, IBM or Oracle to spoonfeed you your packages and updates, or you inevitably walk down a road where you're eventually updating your OS by automatically running 300 shell scripts from random people of gender with full root privileges.
I'm literally running Fedora because I need a reasonably up-to-date Linux stack for my hardware and I fundamentally distrust Arch because I'm lazy as
fuck. It's a comfortable middle ground. Screw me if that means I can't git gud. I stopped caring about that a while back.