I’ll give OP props for at least sharing source. A lot of folks on here get excited by whatever (closed source) SaaS offering they have been working on - then want you to input your Access & Secret key with like * permissions to everything in your account(s).
Yep. That’s really extensive set of permissions that can not only cause a really expensive bill but also create botnets or other stuff that may abuse your account. Also, no explanation why each permission is needed, nearly no comments in the code, doing snapshots of your volumes, complete lack of documentation etc. For a software that claims to scan for vulnerabilities, a really detailed documentation would be the minimum requirement to even consider using it.