| AUR packages are user-produced content i.e. packages built on their own machines. They have to be installed via "pacman -U package_file" Arch developers can code "pacman -U" such that it performs a VirusTotal scan before installation for each package. VirusTotal's API is free. - https://docs.virustotal.com/docs/api-scripts-and-client-libr...
- https://docs.virustotal.com/docs/please-give-me-an-api-key
- https://docs.virustotal.com/docs/consumption-quotas-handled Since it is end users who are doing the upload and virus scan check, there won't be a consumption quota issue with VirusToal. Lastly, "pacman -U" should flag failed VirusTotal scans to Arch Security. Arch's pacman and Flathub's flatpak package managers should be the last line of defence when installing untrusted packages by end users. |
But more importantly this is a terrible idea in regards to privacy/infosec. I do not want packages I build and install myself to be uploaded to a 3rd party website.
And for what benefit? 99% of new malware won't be detected anyway, and once it is known it is way more effective to just remove the offending package from the AUR.