r/voidlinux • u/Slight-Brilliant3198 • Jun 16 '26
Supply chain vulnerabilities
I'm scared of supply chain vulnerabilities. More specifically, after the recent attacks on Arch Linux's AUR, I was wandering how Void Linux is protected from this type of attacks.
I'm not an expert, because I've never submitted a package to void-packages, so I'm not sure if there's an audit process for packages and vetting for maintainer.
Can anybody be a maintainer for a package?
What happens after I push srcpkgs/new-package/template into the main repo?
Will it become an binary that will be available via xbps-install, or will it stay something that must be manually compiled via xbps-src?
Is there an official difference between a void maintainer, and a potentially malicious person pulling some malware blobs in do_fetch(), and installing it in do_build() do_install() ?
37
u/ClassAbbyAmplifier Jun 16 '26
anyone can be a maintainer and submit a package, but only members of void's core team can merge those changes. packages in the repositories are only built on our build servers, which only pull from the master branch of void-linux/void-packages
if you're building things locally from open PRs or templates you found on the web, it's your responsibility to read through the template and verify it's not doing anything malicious
22
u/Quietus87 Jun 16 '26
Even in case of Arch it affects AUR, which is an optional user repository. It's just like downloading an application from a website and installing it on Windows. The main repos are under proper control there too. The only thing the whole fiasco proved two things: the AUR's system is shit and Arch users don't take the warnings about using AUR packages seriously. The mass migration from Arch because of it is ridiculous. Moral of the story, don't rely on AUR if you don't have to, and a general rule of thumb I learned during my years of using Arch is always read before installing or updating.
The core Void repos are more tightly controlled. No need to be afraid using that. The user repos and templates are a different story, using those is your responsibility too.
10
u/wKdPsylent Jun 16 '26
Anyone can be a maintainer, but it is vetted / it's not like the AUR where you can just take over an orphaned package. If you wanted your package to be included in xbps-install it would need to be submitted / PR and checked / accepted - there's a process. So Void isn't vulnerable to the same attack as the AUR.
It would take a compromised maintainer account or something like that and given the testing I would think that would be discovered fairly quickly.
3
u/yyg-linux Jun 16 '26
The risk is the same if you download from a repository or click a install now button that is an ad, or navigate to a spoofed website and download a rat we saw this happen recently with the fake 7zip website
1
u/Rodya_gambler Jun 19 '26
The problem of the AUR is that it gives arch 20000 packages made by randoms and that aren't checked properly. Thta doesn't happen on void: void has less packages (less official packages, and doesn't have a VUR), and they are checked properly. That's why only the AUR was affected, and not any other non-arch-based distro (take fedora or any other example)
0
u/[deleted] Jun 16 '26
[deleted] — view deleted comment