With AUR, you are expected to manually verify the PKGBUILD file and install scripts.
What/how are you supposed to actually do this? What are some red flags to look for, what are common things done by legitimate packages that are "okay"?
Often the packages I look at download some scripts or archives, then run stuff inside them. The PKGBUILD itself doesn't seem to be doing anything bad, but it's curling an archive with hundreds of files and then running them. Most AUR tools don't even have a way of looking at anything besides the PKGBUILD and install script, and expect you to make a decision based on just those. Am I supposed to hunt down the downloaded files, spend hours (or days) reading all the code (which likely exceeds my own programming knowledge) and then come back and "decide" to install the AUR package?