sa7mon/s3scanner ? reverse-engineered prompt

Reverse engineered prompt

Build me a Go command line tool that checks S3 bucket names for public access and other permission mistakes across AWS and other S3 compatible providers like GCP, DigitalOcean, DreamHost, Linode, Scaleway, and custom endpoints.

I want to be able to scan one bucket or a whole list of bucket names from a file, and have it run quickly with multiple threads. It should test the bucket permissions, optionally list the objects inside the bucket, and clearly report whether the bucket is open or misconfigured.

Please also add options to save results to a Postgres database, and to pull bucket names from RabbitMQ for larger automated runs. Make the output easy to read in the terminal, with a JSON mode too for piping into other tools. Docker support would be great as well. If you need to check current docs for any provider or Go library details, look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab