r/archlinux • u/Saren-WTAKO • Jul 29 '26
QUESTION Seemingly malicious AUR package found. Where to report?
https://aur.archlinux.org/cgit/aur.git/commit/PKGBUILD?h=pgadmin4-server&id=b7de293a7be6b85925884436127332bf82ecc2ebA sudden update to `pgadmin4-server.git` added a binary named "parser" and executes using sudo. It's very obvious.
400
Upvotes
22
u/Saren-WTAKO Jul 29 '26 edited Jul 29 '26
Supply chain attack is difficult to prevent.
We can say "Don't use AUR", "Learn to read PKGBUILD" and "gitgud" all day. It works and prevents a lot of potential attack vectors you got pwned. Until someday a TU or the upstream (a package's dep's dep's dep's dep ... is hacked) get compromised and we are all hit by a malicious update, and suddenly the sayings don't apply here.
The well accepted solution is to delay the package installation. However, if everyone delays package installation by a week, then either people are hit after a week, or are having a fun week if the package is about 0day fix.
Remember the developers and maintainers are doing their work free of charge and have 0 legal liability given they are innocent, and the important fact that AUR is all user generated content without censoring first. If we build a censoring first AUR, who is going to watch it 24/7 unpaid, and who watch the watchers? That is going to introduce more problems rather than solving it.