A package script's blast radius is your SSH keys

This is my homelab, and the machine is my own workstation. Nothing here describes an employer's systems. The decisions are dated from my notes, the June 2026 incident is public, and what I say about the machine today comes from its build file, not a test.
In June 2026 attackers adopted orphaned packages in the Arch User Repository and edited their package scripts to fetch a credential stealer aimed at SSH keys, GitHub credentials, Vault tokens and browser cookies. My instinct was to flee the Arch family for Fedora, and that flight would have moved the package my plan was built around into a repository one person can edit.
A package from the AUR arrives with an arm folded inside it. Its build script unfolds on your machine under your own account, because makepkg runs every build step as the calling user and refuses to run as root; its install script runs later, when pacman unpacks the package as root. The first reports put the fetch in install scripts, and a later analysis found it running during the build as well. Either half is enough. The build alone reaches your home directory, and the payload's eBPF rootkit, the piece that wanted root, was the optional part; the stealing only needed you.
Early reports counted more than 400 packages, and a cross-check of the public inventory two days later counted 1,619 distinct package names. I have checked none of them myself.
Trace every critical package before you change suppliers
On 3 August 2026 I reopened the distribution choice for the workstation. The plan was CachyOS, an Arch derivative, with the Hyprland compositor, and after some trouble of my own with the AUR the June news made Fedora look like the safe exit. Before believing that, I checked where the compositor came from on each side.
On Arch, Hyprland sits in the official extra repository, which CachyOS carries and recompiles for newer processors, so it needed no AUR. Fedora had no package for it on a supported release. Hyprland on Fedora meant a COPR, a community build repository, run in this case by a single maintainer, and the one Hyprland's wiki long recommended "seems to be abandoned", says the maintainer of an alternative. A COPR arrives prebuilt, so its build runs on someone else's servers, but its install scriptlets still run as root and the compositor runs as me every session. The reach is the same on both sides, so the choice came down to how many people watch whoever can edit the compositor: a distribution team on one side, one person on the other.
The risk was real, but it was a policy problem rather than a distribution problem, and I had nearly answered it by changing lines.
Price each source by who can edit it
The rule I wrote that day: no AUR and no AUR helpers on this machine, one tool from its vendor's own installer, and an exception path for anything else that meant reading the build script, checking its maintainer history and pinning the version. It cost almost nothing on Arch. The compositor and nearly everything else were official, and the three tools that were not each had a substitute or a route through that path.
On an Arch-family machine the pacman half is checkable in one command:
pacman -Qm
# lists installed packages found in no sync database (AUR builds, hand installs, anything the repositories have since dropped); under a no-AUR rule, every line it prints is an exception that needs a reason
A source earns its place by how many people watch whoever can edit it. The other half of the arithmetic is what lies on the bench, which is the case for keeping admin keys in one place, away from the machine you work from.
Keep the image's supplier list in a file a diff can read
On 25 August I chose Fedora after all, and the rule set the price. Hyprland was still only available there from a one-person COPR, the same compromise the rule had banned on Arch. So it stayed behind, and the desktop became KDE Plasma, which Fedora packages itself. The flight I turned down on 3 August, I took three weeks later and paid for with the compositor.
The workstation's operating system is now built as a container image, and every repository the image adds beyond Fedora's own is named on a line of its Containerfile. RPM Fusion is there for the NVIDIA driver, and each driver package in it has more than one maintainer:
# excerpt of the workstation's Containerfile; $(rpm -E %fedora) expands to the base image's release number when the image builds
RUN dnf install -y \
"https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm" \
"https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm"
That expansion ties the repository to the base image's release; the packages inside it still move with every rebuild. A new supplier in the image arrives as a diff, which puts its name in front of me before any crate from it reaches the bench. A package layered onto the running machine outside the file shows in one command:
rpm-ostree status
# shows the booted deployment; a LayeredPackages or LocalPackages line names a package added on the machine itself, outside the Containerfile
The app layer carries the same rule in its own terms: Flatpaks from verified publishers only, and no community package manager inside a distrobox that shares my home directory.
The principle
A package source is a supplier whose crates get opened on your bench. The supplier sets how likely a tampered crate is; what lies on the bench sets how far its arm can reach. Weigh both before convenience does, and keep each supplier list where it can be read before the line starts moving. The same weighing covers a base image pulled through a mirror, which decides what bytes you are handed, and an instruction file an agent reads, which can carry text a reviewer cannot see.
You cannot inspect every crate. You can choose whose crates reach the bench.
Live in the lab: the workstation has run Fedora Kinoite 44 since 26 August 2026, built from one Containerfile, with its desktop and compositor from Fedora's own packages.

