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.

Registration bypass: https://archive.is/3tEl0

all 22 comments

sorted by: hot top controversial new old
[–] 47 points 2 years ago (1 child)

From the description, it sounds like this would only have limited effect and only short lived until guardrails are implemented in crawlers.

  • source
  • hideshow 2 child comments
  • [–] [S] 39 points 2 years ago (1 child)

    Probably so. It's always going to be an arms race, just like with malware.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 12 points 2 years ago (2 children)

    I mean... not really. This isn't even a defence. Any web crawler worth its salt will just stop after a while. And they do so for literally decades already

  • source
  • parent
  • hideshow 4 child comments
  • [–] 3 points 2 years ago (1 child)

    Indeed. And any modern AI training system is going to be extensively curating any training data that ends up being fed into the AI, probably processing it through other AIs to generate synthetic data from it. The days of early ChatGPT where LLMs were trained by just dumping giant piles of random text on them and hoping it'll figure it out somehow are long past.

    This reminds me of Nightshade, the supposed anti-art-AI technique that could be defeated by resizing the image (which all art AI training systems do as a matter of course). It may make people "feel better" but it's not going to have any real impact on anything.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 2 years ago (1 child)

    sure, it is easy to detect and they will. however, at the moment they don't seem to be doing it. The author said this after deploying a POC:

    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.

    So no, it is not a silver bullet. but it is a defense strategy, which seems to work at the moment.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 2 years ago (1 child)

    No, a few million hits from bots is routine for anything that's facing the public at all. Others have posted on this thread (or others like it, this article's been making the rounds a lot in the past few days) that even the most basic of sites can get that sort of bot traffic, and that it's just a simple recursion depth limit setting to avoid the "infinite maze" aspect.

    As for AI training, the access log says nothing about that. As I said, AI training sets are not made by just dumping giant piles of randomly scraped text on AIs any more. If a trainer scraped one of those "infinite maze" sites the quality of the resulting data would be checked, and if it was generated by anything remotely economical for the site to be running it'd almost certainly be discarded as junk.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 2 years ago (1 child)

    The main angle is not to 'poisen' the training set. it is to waste time, energy and resources. the site loads deliberately slow and produces garbage, which has to be filtered out.

    as i said: not a silver bullet. but at least some threads where tied up collecting garbage painfully slow. as the data is useless, whatever their cleanup process is, has more to do. or it might even be tricked into discarding the whole website, as the signal to noise ratio is bad.

    so i would still say the author achieved his goal.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 2 years ago

    The site producing the nonsense has to produce lots of it any time a bot comes along, the trainers only have to filter it once. As others have pointed out it's likely easy for an automated filter to spot. I don't see it as being a clear win.

  • source
  • parent
  • [–] 14 points 2 years ago (2 children)

    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.

    So it has nothing to do with “AI training” in the usual sense.

  • source
  • hideshow 4 child comments
  • [+] 11 points 2 years ago* (last edited 2 years ago) (1 child)
  • [–] 6 points 2 years ago (2 children)

    I think the point is it doesn't specifically target "AI trainers" but web crawlers, which are used by more then just A.I. trainer, for example search engines.

  • source
  • parent
  • hideshow 4 child comments
  • [+] -3 points 2 years ago* (last edited 2 years ago) (1 child)
  • [–] 4 points 2 years ago (1 child)

    It affects them, yes, but it doesn't only affect them. It's just a poison in the well tactic that can affect them. but because it isn't specific even more companies will work to "fix it". Also while it can waste resources, it doesn't stop A.I. training in most cases or render them incompetent.

    For example if I add rat poison to all the local water ways, it would get rid of the pigeon problem, so it targets pigeons?

  • source
  • parent
  • hideshow 2 child comments
  • [+] -1 points 2 years ago* (last edited 2 years ago) (2 children)
  • [–] 5 points 2 years ago (1 child)

    And this specifically target AI training web crawlers.

    There's no way to distinguish between an AI training crawler and any other crawler. Per https://zadzmo.org/code/nepenthes/ :

    "This is a tarpit intended to catch web crawlers. Specifically, it's targetting crawlers that scrape data for LLM's - but really, like the plants it is named after, it'll eat just about anything that finds it's way inside."

    Emphasis mine. Even the person who coded this thing knows that it can't tell what a given crawler's purpose is. They're just willing to throw the baby out with the bathwater in this case, and mess with legitimate crawlers in order to bog down the ones gathering data for LLM training.

    (In general, there is no way to tell for certain what is requesting a webpage. The User-Agent header that (usually) arrives with an HTTP(S) request isn't regulated and can contain any arbitrary string. Crawlers habitually claim to be old versions of Firefox, and there isn't much the server can do to identify what they actually are.)

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 2 years ago (1 child)

    You can specifically target crawlers that ignore robots.txt, which will catch practically every LLM scraper.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 2 years ago

    Well, yeah, but obeying robots.txt is only a courtesy in the first place, so you can't guarantee it'll catch only LLM-related crawlers and no others, although it may lower the false positive rate.

  • source
  • parent