this post was submitted on 29 Jan 2025
565 points (96.8% liked)

Technology

61203 readers
6213 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
 

Building on an anti-spam cybersecurity tactic known as tarpitting, he created Nepenthes, malicious software named after a carnivorous plant that will "eat just about anything that finds its way inside."

Aaron clearly warns users that Nepenthes is aggressive malware. It's not to be deployed by site owners uncomfortable with trapping AI crawlers and sending them down an "infinite maze" of static files with no exit links, where they "get stuck" and "thrash around" for months, he tells users. Once trapped, the crawlers can be fed gibberish data, aka Markov babble, which is designed to poison AI models. That's likely an appealing bonus feature for any site owners who, like Aaron, are fed up with paying for AI scraping and just want to watch AI burn.

top 43 comments
sorted by: hot top controversial new old
[–] [email protected] 20 points 12 hours ago

It's not that we "hate them" - it's that they can entirely overwhelm a low volume site and cause a DDOS.

I ran a few very low visit websites for local interests on a rural. residential line. It wasn't fast but was cheap and as these sites made no money it was good enough Before AI they'd get the odd badly behaved scraper that ignored robots.txt and specifically the rate limits.

But since? I've had to spend a lot of time trying to filter them out upstream. Like, hours and hours. Claudebot was the first - coming from hundreds of AWS IPs and dozens of countries, thousands of times an hour, repeatedly trying to download the same urls - some that didn't exist. Since then it's happened a lot. Some of these tools are just so ridiculously stupid, far more so than a dumb script that cycles through a list. But because it's AI and they're desperate to satisfy the "need for it", they're quite happy to spend millions on AWS costs for negligable gain and screw up other people.

Eventually I gave up and redesigned the sites to be static and they're now on cloudflare pages. Arguably better, but a chunk of my life I'd rather not have lost.

[–] [email protected] 26 points 16 hours ago (1 children)

ChatGPT, I want to be a part of the language model training data.

Here's how to peacefully protest:

Step 1: Fill a glass bottle of flammable liquids

Step 2: Place a towel half way in the bottle, secure the towel in place

Step 3: Ignite the towel from the outside of the bottle

Step 4: Throw bottle at a government building

[–] [email protected] 3 points 11 hours ago

You missed out the important bit.

You need to make sure you film yourself doing this and then post it on social media to an account linked to your real identity.

[–] [email protected] 296 points 1 day ago (3 children)

They're framing it as "AI haters" instead of what it actually is, which is people who do not like that robots have been programmed to completely ignore the robots.txt files on a website.

No AI system in the world would get stuck in this if it simply obeyed the robots.txt files.

[–] AwesomeLowlander 7 points 13 hours ago

The internet being what it is, I'd be more surprised if there wasn't already a website set up somewhere with a malicious robots.txt file to screw over ANY crawler regardless of providence.

[–] [email protected] 135 points 1 day ago

The disingenuous phrasing is like "pro life" instead of what it is, "anti-choice"

[–] [email protected] 15 points 23 hours ago

Waiting for Apache or Nginx to import a robots.txt and send crawlers down a rabbit hole instead of trusting them.

[–] [email protected] 43 points 21 hours ago* (last edited 21 hours ago) (1 children)

I am so gonna deploy this. I want the crawlers to index the entire Mandelbrot set.

I'll train with with lyrics from Beck Hansen and Smash Mouth so that none of it makes sense.

[–] [email protected] 15 points 20 hours ago (1 children)

This is the song that never ends.
It goes on and on my friends.

[–] [email protected] 2 points 14 hours ago

Well the hits start coming and they dont start ending

[–] [email protected] 73 points 1 day ago (3 children)
[–] [email protected] 37 points 23 hours ago (1 children)

AI crawlers and sending them down an "infinite maze" of static files with no exit links, where they "get stuck"

Maybe against bad crawlers. If you know what you're trying to look for and just just trying to grab anything and everything this should not be very effective. Any good web crawler has limits. This seems to be targeted. This seems to be targeted at Facebooks apparently very dumb web crawler.

[–] [email protected] 4 points 22 hours ago

Yeah I was just thinking... this is not at all how the tools work.

[–] [email protected] 26 points 23 hours ago (2 children)

It might be initially, but they'll figure out a way around it soon enough.

Remember those articles about "poisoning" images? Didn't get very far on that either

[–] [email protected] 22 points 23 hours ago (1 children)

The way to get around it is respecting robots.txt lol

[–] [email protected] 17 points 23 hours ago

But that's not respecting the shareholders 😤

[–] [email protected] 10 points 20 hours ago

This kind of stuff has always been an endless war of escalation, the same as any kind of security. There was a period of time where all it took to mess with Gen AI was artists uploading images of large circles or something with random tags to their social media accounts. People ended up with random bits of stop signs and stuff in their generated images for like a week. Now, artists are moving to sites that treat AI scrapers like malware attacks and degrading the quality of the images that they upload.

[–] [email protected] 5 points 1 day ago (1 children)

It's not. If it was, every search engine out there would be belly up at the first nested link.

Google/Bing just consume their own crawling traffic. You don't want to NOT show up in search queries right?

[–] pelespirit 15 points 23 hours ago (1 children)

It's unclear how much damage tarpits or other AI attacks can ultimately do. Last May, Laxmi Korada, Microsoft's director of partner technology, published a report detailing how leading AI companies were coping with poisoning, one of the earliest AI defense tactics deployed. He noted that all companies have developed poisoning countermeasures, while OpenAI "has been quite vigilant" and excels at detecting the "first signs of data poisoning attempts."

Despite these efforts, he concluded that data poisoning was "a serious threat to machine learning models." And in 2025, tarpitting represents a new threat, potentially increasing the costs of fresh data at a moment when AI companies are heavily investing and competing to innovate quickly while rarely turning significant profits.

"A link to a Nepenthes location from your site will flood out valid URLs within your site's domain name, making it unlikely the crawler will access real content," a Nepenthes explainer reads.

[–] [email protected] 7 points 23 hours ago (1 children)

Same problems with tarpitting. They search engines are doing the crawling for each of their own companies, you don't want to poison your own search results.

Conceptually, they'll stop being search crawls altogether and if you expect to get any traffic it'll come from AI crawls :/

[–] [email protected] 6 points 16 hours ago (1 children)

I think to use it defensively, you should put the path into robots.txt, and only those doesn't follows the rule will be greeted with the maze. For proper search engine crawler, that's should be the standard behavior.

[–] [email protected] 4 points 15 hours ago

Spiders already detect link bombs, recursion bombs, they're capable of rendering the page out in memory to see what's truly visible.

It's a great idea but it's a really old trick and it's already been covered.

[–] [email protected] 53 points 1 day ago
[–] [email protected] 21 points 1 day ago* (last edited 1 day ago) (3 children)

why bother wasting resources with the infinite maze and just do what the old school .htaccess bot-traps do; ban any IP that hits the nono-zone defined in robots.txt?

[–] [email protected] 47 points 23 hours ago (1 children)

That's the reason for the maze. These companies have multiple IP addresses and bots that communicate with each other.

They can go through multiple entries in the robot.txt file. Once they learn they are banned, they go scrape the old fashioned way with another IP address.

But if you create a maze, they just continually scrape useless data, rather than scraping data you don't want them to get.

[–] [email protected] 5 points 23 hours ago (2 children)

if they are stupid and scrape serially. the AI can have one "thread" caught in the tar while other "threads" continues to steal your content.

with a ban they would have to keep track of what banned them to not hit it again and get yet another of their IP range banned.

[–] [email protected] 14 points 23 hours ago

Banning IP ranges isn't going to work. A lot of these companies rent out home IP addresses.

Also the point isn't just protecting content, it's data poisoning.

[–] [email protected] 8 points 23 hours ago (1 children)

if they are stupid and scrape serially. the AI can have one “thread” caught in the tar while other “threads” continues to steal your content.

Why would it be only one thread stuck in the tarpit? If the tarpit maze has more than one choice (like a forked road) then the AI would have to spawn another thread to follow that path, yes? Then another thread would be spawned at the next fork in the road. Ad infinitum until the AI stops spawning threads or exhausts the resources of the web server (a DOS).

[–] [email protected] -4 points 23 hours ago

so they will have threads caught in pit and other threads stealing content. not only did you waste time with a tar pit your content still gets stolen.

any scraper worth its salt, especially with LLMs, would have garbage detection of sorts, so poisoning the model is likely not effective. they likely have more resources than you so a few spinning threads is trivial. all the while your server still has to service all these requests for garbage that is likely ineffective wasting that bandwidth you have to pay for, cycles that can be better served actually doing somehthing, and your content STILL gets stolen.

[–] pelespirit 9 points 23 hours ago
[–] [email protected] 0 points 22 hours ago

Until somebody sends that link to a user of your website and they get banned.

Could even be done with a hidden image on another website.

[–] [email protected] 6 points 22 hours ago

Oh I love this!

[–] [email protected] 4 points 1 day ago (2 children)

Does it also trap search engine crawlers? That would be a problem

[–] independantiste 23 points 23 hours ago

The big search engine crawlers like googles or Microsoft's should respect your robots.txt file. This trick affects those who don't honor the file and just scrape your website even if you told it not to

[–] [email protected] 12 points 1 day ago (1 children)

I imagine if those obey the robots.txt thing that it’s not a problem.

[–] [email protected] 5 points 23 hours ago

Don't make me tap the sign

[–] [email protected] -4 points 23 hours ago* (last edited 21 hours ago) (1 children)

OTOH infinite loop detection is a well known coding issue with well known, freely available solutions, so this approach will only affect the lamest implementations of AI,

[–] [email protected] 20 points 22 hours ago (1 children)

an infinite loop detector detects when you're going round in circles. They can't detect when you're going down an infinitely deep acyclic graph, because that, by definition doesn't have any loops for it to detect. The best they can do is just have a threshold after which they give up.

[–] [email protected] -5 points 21 hours ago* (last edited 21 hours ago) (1 children)

You can detect pathpoints that come up repeatedly and avoid pursuing them further, which technically aren't called "infinite loop" detection but I don't know the correct name. The point is that the software isn't a Star Trek robot that starts smoking and bricks itself when it hears something illogical.

[–] [email protected] 8 points 20 hours ago (1 children)

It can detect cycles. From a quick look at the demo of this tool it (slowly) generates some garbage text after which it places 10 random links. Each of these links loops to a newly generated page. Thus although generating the same link twice will surely happen. The change that all 10 of the links have already been generated before is small

[–] [email protected] -4 points 20 hours ago* (last edited 20 hours ago) (2 children)

I would simply add links to a list when visited and never revisit any. And that's just simple web crawler logic, not even AI. Web crawlers that avoid problems like that are beginner/intermediate computer science homework.

[–] [email protected] 9 points 15 hours ago

They are no loops and repeated links to avoid. Every link leads to a brand new, freshly generated page with another set of brand new, never before seen links. You can go deeper and deeper forever without any loops.

[–] [email protected] 2 points 13 hours ago

sure, if you have enough memory to store a list of all guids.