Tell HN: Amazonbot aggressively scraping my website and ignoring robots.txt
14
ppera about 6 hours ago 8 comments
HI version is available. Content is displayed in original English for accuracy.
At the beginning of the year I decided to set up a scraping and LLM honeypot on one of my personal websites which included a fake git repo with code containing fake HTTP endpoints. The address to this repo was hidden in a public page inside a comment.
About three weeks ago IP addresses from Amazon Searchbot attempted to make requests to the fake endpoints included inside a shell script.
My robots.txt explicitly includes Amazonbot.
I am honestly surprised that this is coming from Amazon. Is this kind of behavior legal?

Discussion (8 Comments)Read Original on HackerNews
If you paste a couple of lines of the bots from your access logs I can offer more suggestions in the event they try from outside of Amazon.
If you want to have some fun, add a hidden link only the bot will see that points to http://cpanel.yourdomain.tld/ after adding a DNS record for cpanel that points to 169.254.169.254 so they start scraping the AWS cloud-init IP.
https://developer.amazon.com/amazonbot/searchbot-ip-addresse...
By the way, they used false user-agents.
I hosted a small website with some newfeeds and it got killed by all the AI scrapers in the end.
You could go down the rabbit hole and try to find someone at Amazon to tell their crawler to chill. Don’t expect success but would make a fun blog post.
https://www.cloudflare.com/learning/ai/how-to-block-ai-crawl...
It would be different if they were attempting to brute force credentials to access an endpoint, but they aren’t.
That is, I haven't personally seen a bad actors list that gets used in a fail2ban-like setup.