name: Hidden Honeypot Link
code: CAT-022
summary: >-
  A link humans cannot see, usually to a robots.txt-disallowed path. Any client
  that fetches it is flagged as a non-compliant bot, then blocked or handed to a
  trap.
family: canary
goals: [detect, divert]
delivery: [hidden-link, robots-txt]
targets: [crawler, browsing-agent]
description: |-
  The anchor is hidden with `display:none`, `aria-hidden="true"` and `tabindex="-1"`, and its path is disallowed in robots.txt so compliant crawlers skip it. A fetch marks a client that reads raw HTML and ignores robots.txt. The hit routes the client to an [[infinite-link-maze]], [[agent-specific-content]] or a [[decompression-bomb-response]], or onto a blocklist.
variants:
  - name: Bot-only injection
    description: Links are inserted only for clients already suspected, with noindex directives so verified crawlers are unaffected (Cloudflare AI Labyrinth).
  - name: Depth threshold
    description: Flag only after several hops ("No real human would go four links deep").
  - name: Generated-URL marker
    description: Trap URLs carry a fixed token, so any later request for one identifies a crawler that kept the link (Iocaine; Codeberg matches `!~codeberger~!`).
implementations:
  - name: Miasma
    url: https://austin-weeks.github.io/miasma/how-to-trap-scrapers/
    kind: open-source
  - name: Cloudflare AI Labyrinth
    url: https://developers.cloudflare.com/bots/additional-configurations/ai-labyrinth/
    kind: commercial
responses:
  - description: Bots look for hidden-link honeypots, per Cloudflare, which is moving AI Labyrinth toward more realistic link networks.
    source: https://blog.cloudflare.com/ai-labyrinth/
references:
  - title: How to trap scrapers
    url: https://austin-weeks.github.io/miasma/how-to-trap-scrapers/
    publisher: Miasma
  - title: Trapping misbehaving bots in an AI Labyrinth
    url: https://blog.cloudflare.com/ai-labyrinth/
    publisher: Cloudflare
    date: 2025-03-19
  - title: Defenses against abusive AI scrapers
    url: https://www.mayrhofer.eu.org/post/defenses-against-abusive-ai-scrapers/
    publisher: René Mayrhofer
    date: 2025-06-08
  - title: Poisoning scraperbots with iocaine
    url: https://lwn.net/Articles/1056953/
    publisher: LWN.net
    date: 2026-02-12
added: 2026-12-01
