Amen
But it is not what this topic is about.
It is about preventing a given AUR script from entering the system.
We are all guilty in neglecting proper maintainance at some point.
Before applying update on stable branch
[INFO] Stable branch - BIG update BEST practice
The AUR incidents is - kind’a - a slap-in-face reminder to regularly run
pamac remove --orphans --unneeded
or
pacman -Qdtq | sudo pacman -Rns -
pacman -Qqd | sudo pacman -Rsu -
From this topic and the recent AUR incidents - I felt the need to do a more generic write-up on package maintance.