Poison AI with anubis, nepenthes and nginx auth-subrequest module #738
Sommerwiesel
started this conversation in
Show and tell
Replies: 1 comment
-
One day later, works like a charm: cat nepenthes/data/statsfile.json | jq
small excerpt, the file is much bigger with much more ai crawlers getting what they fucking deserve |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I just recently found out how, instead of simply blocking Ai scarpers and bad actors with anubis, you can instead poison them with garbage text, powered by nepenthes and markov babbler.
Important: You'll have to set up nepenthes (or a similar) tarpit first.
You'll also only gonna need one anubis instance for all of your services thanks to nginx auth-subrequest module. Don't forget whitelisting your domains in the anubis env var
REDIRECT_DOMAINS
./etc/nginx/nginx.conf
/etc/nginx/snippets/ai_poison.conf
vhost config (partially)
anubis docker compose.yaml
anubis botPolicy.yaml
And done.
Short explaination:
Tested on my redlib instance with user agent changed to "AnubisTest":

Works on dynamic redlib paths too thanks to X-Prefix header:
Have fun poisoning the well!
Beta Was this translation helpful? Give feedback.
All reactions