A pseudonymous coder has created and released an open source “tar pit” to indefinitely trap AI training web crawlers in an infinitely, randomly-generating series of pages to waste their time and computing power. The program, called Nepenthes after the genus of carnivorous pitcher plants which trap and consume their prey, can be deployed by webpage owners to protect their own content from being scraped or can be deployed “offensively” as a honeypot trap to waste AI companies’ resources.

“It’s less like flypaper and more an infinite maze holding a minotaur, except the crawler is the minotaur that cannot get out. The typical web crawler doesn’t appear to have a lot of logic. It downloads a URL, and if it sees links to other URLs, it downloads those too. Nepenthes generates random links that always point back to itself - the crawler downloads those new links. Nepenthes happily just returns more and more lists of links pointing back to itself,” Aaron B, the creator of Nepenthes, told 404 Media.

  • patrick@lemmy.bestiver.se
    link
    fedilink
    English
    arrow-up
    113
    arrow-down
    2
    ·
    12 hours ago

    This showed up on HN recently. Several people who wrote web crawlers pointed out that this won’t even come close to working except on terribly written crawlers. Most just limit the number of pages crawled per domain based on popularity of the domain. So they’ll index all of Wikipedia but they definitely won’t crawl all 1 million pages of your unranked website expecting to find quality content.

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      23
      ·
      3 hours ago

      Did you read the article? (There is a link to a non walled version.)

      Since they made and deployed a proof-of-concept, Aaron B said their pages have been hit millions of times by internet-scraping bots. On a Hacker News thread, someone claiming to be an AI company CEO said a tarpit like this is easy to avoid; Aaron B told 404 Media “If that’s, true, I’ve several million lines of access log that says even Google Almighty didn’t graduate” to avoiding the trap.

      • ShadowWalker@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        20 minutes ago

        If it is linked to the Internet then it’ll be hit by crawlers. Their “trap” isn’t any how many show up but how long each bot stays on their individual site.

    • Bogasse@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      2 hours ago

      I think this rate limiting mechanism is mostly a niceness rule : you should try to not put too much pressure on any website and obey the rules defined in its robots.txt.

      So I guess this idea is not bad as it would mostly penalize bad players.

    • OsrsNeedsF2P@lemmy.ml
      link
      fedilink
      English
      arrow-up
      64
      ·
      edit-2
      11 hours ago

      Can confirm, I have a website (https://2009scape.org/) with tonnes of legacy forum posts (100k+). No crawlers ever go there.

      It’s a shame that 404media didn’t do any due diligence when writing this

      • fine_sandy_bottom@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        1
        ·
        25 minutes ago

        I think you may have just misunderstood the post.

        It’s not intended to trap the web crawlers indexing content for google search.

        It’s intended to trap AI training bots harvesting sentences in order to improve their LLMs.

        I don’t really have an answer as to why those bots don’t find your content appealing, but that doesn’t mean that Nepenthes doesn’t work.

      • affiliate@lemmy.world
        link
        fedilink
        English
        arrow-up
        33
        arrow-down
        1
        ·
        10 hours ago

        No crawlers ever go there.

        if it makes you feel any better, i would go there if i was a web crawler.