updated version: https://gist.github.com/Kidev/85756c3dcad3623ca5604a8135bafd14
https://github.com/lenucksi/aur-malware-check
https://gist.github.com/Kidev/59bf9f5fb53ab5eee99f19a6a2fc3992
As always, don't execute random scripts before checking them.