Fediverse admins & self-hosters: check your Nginx logs for `AIWebIndex/2.0` (`render-*.lyrenth.com`). Here’s the wild 24-hour saga of how a commercial AI index company burned 2.55M+ requests against our Mastodon server, got blocked with HTTP 418, tried to gaslight us about "4 requests," and what they’re actually doing behind the scenes. 🧵👇
**Who is behind it?**
Lyrenth Inc. (formerly Aleksma AI, Inc., `lyrenth.com`), operating `AIWebIndex/2.0` — a commercial API that scrapes public websites and resells them as structured "AI-readable" JSON documents (`AIDocument`) for AI agents.
On `lyrenth.com/bot`, they market themselves as ultra-polite:
• "honors RFC 9309 robots.txt"
• "Rate: at most one fetch every 2 seconds per domain across our whole fleet"
**What the Nginx logs on social.gamefan.net actually showed:**
Before we threw up an emergency block around 04:20 CET today, `AIWebIndex/2.0` had racked up **2.55+ million requests** across our past 15 days of rotated Nginx logs — peaking at **332,740 requests in a single day**.
In just **28 hours** (Nov 26 to ~04:20 CET Nov 27), they hit us **320,181 times** and burned **8.06 GiB** of bandwidth. All 21 external IPs match their own published `/bot/ip-ranges.json`.
**Here’s the sneaky part (`crawler-*` vs `render-*`):**
Their `crawler-*.lyrenth.com` nodes only look like ~3,000 hits/day. **99% of the damage (`317,130` hits)** came from **11 headless Chromium nodes (`render-2` through `render-20.lyrenth.com`)** loading full Mastodon pages **with zero static-asset caching**:
• `283,272` requests re-downloading static JS/CSS bundles (`/packs/*`)
• `12,434` requests to `/api/*`
• `6,527` avatar fetches
• **Peak burst:** **284 HTTP requests in ONE single second** (02:21:25 CET). And even if you ignore assets and count *only* standalone HTML tag GETs, their fleet fired **6 HTML pages in 1 second** (11:48:39 CET — with `crawler-*` and `render-*` nodes literally double-fetching `/tags/Congo`, `/tags/ErikPrince`, and `/tags/Blackwater` simultaneously).
• **`robots.txt`?** `crawler-20` fetched our `robots.txt` (`Disallow: /media_proxy/`) at 08:24 CET yesterday — and `AIWebIndex/2.0` still hit `/media_proxy/` **892 times** that day (**444 times AFTER reading it**), leaving 302s and 499 timeouts in its wake.
**Now here’s the hilarious plot twist:**
We blocked `AIWebIndex` at Nginx with **HTTP 418 ("I'm a teapot")** serving a commercial crawl-fee notice, wired up a real-time scraper log monitor, and fired off a cease-and-desist (CCing their host, `abuse@hetzner.com`).
Our shiny new abuse script had a bug: it only pulled from the *brand-new* 418 log created minutes earlier (6 lines total, including 2 of my own `127.0.0.1` curl tests!) instead of historical Nginx logs.
So Lyrenth’s support team saw those 6 lines and sent back the smuggest corporate clapback imaginable:
> *"For the record, your own log does not support your claims: ... those were four requests over about 100 seconds... None was to the media proxy, avatars or any API route."*
...completely ignoring the **320,181 requests** from their `render-*` fleet sitting right behind it in our main logs from 3 hours earlier. 😅
**The happy ending:**
Even though they tried to dunk on our buggy 6-line attachment, **CCing Hetzner Abuse worked immediately** — their team stopped all traffic at 06:22 CET (6 minutes before replying) and confirmed in writing that `gamefan.net` and `social.gamefan.net` are permanently excluded. I even drafted them a polite reply owning the 6-line script mistake while handing over the 320k-request receipts so their engineers can see what their `render-*` fleet is actually doing.
**TL;DR for Fediverse admins:**
If your instance feels sluggish or media/Puma queues spike, grep your logs for `AIWebIndex` and `render-*.lyrenth.com`. Don't rely on generic wildcards — explicitly add `User-agent: AIWebIndex` / `Disallow: /` to `robots.txt`, or drop them at Nginx with HTTP `418` before their Chromium fleet eats your server alive to feed an AI search API.
#Fediverse #Mastodon #SelfHosted #Homelab #SysAdmin #WebScraping #RobotsTxt #AIScrapers