Good Afternoon everyone,
I’ve been an Arch/Endeavour user for only a couple months now, but I’ve been a Linux user and software developer for 15+ years, and now a cyber security researcher/pentester for the past couple years.
I’m writing because I have some questions about AUR packages and maybe how we can ensure or improve the security of them, and what can be done to ensure they are safe.
I’ve been learning about PKGBUILDs on AUR and one of the things that kind of concerns me, is the security of packages. So even if the package was secure at some point, an update from a compromised source can compromise your system. Of course, you can always check the PKGBUILDs before updates to make sure you’re building from the right sources, and then check the sources to make sure they are good, but is there anything else in place that can help with this review process? At least for popular AUR packages?
I’m trying to gather information on what the community things because I would like to develop a package/program, something like a “AUR security helper” or something along those lines, where trusted volunteers can do code reviews to ensure nothing malicious have changed in the package, or the code, and then when your package manager updates from AUR, it can display a checkmark or something that tells you that it has been reviewed by a trusted community reviewer, or instead of a checkmark, maybe a number of how many reviewers have “vouched” for the package, or something like that. IDK.
Like I said, I’m fairly new to arch linux, but as a Cybersecurity minded person, I’m trying to better understand how the AUR keeps everyone safe, if at all, and what can be done to improve the security.
Maybe this can be done for Endeavour OS and make it a distro feature?
Looking forward to learn more and hear your suggestions. Thanks.