title: Anubis, then Iocaine, on codeberg.org
summary: >-
  Codeberg put expensive Forgejo routes behind Anubis in April 2025. After
  crawlers solved or routed around the challenge, it moved those routes to
  Iocaine on 2025-11-27, serving generated pages to
  classified crawlers.
techniques:
  - proof-of-work-gate
  - agent-specific-content
  - infinite-link-maze
  - hidden-honeypot-link
seen: 2025-04-24

deployed_by:
  name: Codeberg e.V.
  kind: site-owner

location:
  host: codeberg.org
  surface: >-
    Caddy reverse proxy in front of Forgejo. Anubis on selected routes;
    Iocaine on commit, blame, compare, explore, issue, pull and milestone
    routes (config as of 2026-05).

delivery: [interstitial, generated-content, hidden-link]
targets: [crawler, browsing-agent]
intent: defensive
collateral: >-
  Search engines failing Iocaine (landing page exempted 2025-12-08); users with
  user-agent switchers flagged; archive downloads routed through Iocaine
  2026-04-28, removed 2026-05-04 after user complaints.

detection:
  - '!~codeberger~!'
  - '/.within.website/'
  - techaro.lol-anubis-auth

timeline:
  - date: 2025-04-24T15:31:18+02:00
    event: '"reverseproxy: Introduce anubis for Forgejo".'
    source: https://codeberg.org/Codeberg-Infrastructure/scripted-configuration/commit/dd182115dad142409c92e3a3cd77c59bf4b7f102
  - date: 2025-08-15
    event: Codeberg on Mastodon says AI crawlers learned to solve the Anubis challenges.
    source: https://www.theregister.com/software/2025/08/16/codeberg-beset-by-ai-bots-that-now-bypass-anubis-defense/1023101
  - date: 2025-10-06T00:30:23+02:00
    event: Blocks a Chrome/125 Mac user agent, "Persistent crawler of kernel repositories (*BSD, linux), solves anubis".
    source: https://codeberg.org/Codeberg-Infrastructure/scripted-configuration/commit/298f3e1080eb15536f0a3c39209cda039c99ef7e
  - date: 2025-11-27T18:37:40+01:00
    event: Expensive filter routes moved from Anubis to Iocaine after "a sudden increase in crawling traffic coming through anubis".
    source: https://codeberg.org/Codeberg-Infrastructure/scripted-configuration/commit/e50cad5025b536e75eb5492f9b1cf7741993c01a
  - date: 2025-12-06T13:33:37+01:00
    event: >-
      Staff report: Iocaine caught the wave, mostly via the browser-verification
      check; crawlers rarely entered the maze.
    source: https://codeberg.org/forgejo/discussions/issues/421#issuecomment-8732232
  - date: 2025-12-10T16:29:57+01:00
    event: Staff estimate ~8M requests/day caught.
    source: https://codeberg.org/forgejo/discussions/issues/421#issuecomment-8845725
  - date: 2026-05-04T15:13:28+02:00
    event: Iocaine removed from archive downloads after user complaints; rate limiting kept.
    source: https://codeberg.org/Codeberg-Infrastructure/scripted-configuration/commit/dad025f9967ff27ff75d93179bd713d89437fc13

responses:
  - date: 2025-08-15
    by: Unidentified crawlers
    description: Solved Anubis proof-of-work challenges.
    source: https://www.theregister.com/software/2025/08/16/codeberg-beset-by-ai-bots-that-now-bypass-anubis-defense/1023101
  - date: 2025-10-06
    by: Unidentified crawler (Chrome/125 Mac UA)
    description: Solved Anubis while showing "all the signs" of a real browser.
    source: https://codeberg.org/Codeberg-Infrastructure/scripted-configuration/commit/298f3e1080eb15536f0a3c39209cda039c99ef7e
  - date: 2025-10-25
    by: Unidentified crawlers
    description: Reached expensive issue filters via `/user/repo/issues:<random>?<filters>`, which missed the Anubis route matcher.
    source: https://codeberg.org/Codeberg-Infrastructure/scripted-configuration/commit/51618d7785235d4c75eb4ef5c873d136b5ff6026

sources:
  - title: Codeberg-Infrastructure/scripted-configuration (forgejo-prod.site history)
    url: https://codeberg.org/Codeberg-Infrastructure/scripted-configuration/commits/branch/main/hosts/_reverseproxy/etc/caddy/forgejo-prod.site
    publisher: Codeberg
  - title: Crawlers hitting Forgejo instances - global abuse trend returns
    url: https://codeberg.org/forgejo/discussions/issues/421
    publisher: Forgejo
    date: 2025-11-25
  - title: Codeberg beset by AI bots that now bypass Anubis defense
    url: https://www.theregister.com/software/2025/08/16/codeberg-beset-by-ai-bots-that-now-bypass-anubis-defense/1023101
    publisher: The Register
    date: 2025-08-16

added: 2026-12-01
