this post was submitted on 21 Mar 2025
198 points (99.0% liked)

Linux

6596 readers
327 users here now

A community for everything relating to the GNU/Linux operating system

Also check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
 

LLM scrapers are taking down FOSS projects' infrastructure, and it's getting worse.

all 30 comments
sorted by: hot top controversial new old
[–] endofline@lemmy.ca 2 points 13 hours ago

Can't we just filter them out by iptables rules?

[–] grrgyle@slrpnk.net 67 points 1 day ago (1 children)

Wow that was a frustrating read. I dd not know it was quite that bad

[–] jatone@lemmy.dbzer0.com 28 points 1 day ago (2 children)

the solution here is to require logins. thems the breaks unfortunately. it'll eventually pass as the novelty wears off.

[–] nao@sh.itjust.works 10 points 1 day ago (2 children)

Next you'll have to invest in preventing automated signups

[–] hisao@ani.social 5 points 1 day ago (1 children)

Signups in most platforms are quite hard. Straight up give your phone and do SMS verification, or at least give email and to register that email you will have to provide phone anyway. Captchas nowadays became so hard that even humans struggle with them and it often takes multiple attempts to get it right.

[–] nao@sh.itjust.works 3 points 1 day ago (1 children)

provide phone number to look at this foss project's website, not too sure about that

[–] Taleya@aussie.zone 3 points 1 day ago

Honestly if any site demands my phone number it can get fucked.

[–] jatone@lemmy.dbzer0.com 1 points 1 day ago

not really, just tie it with 2fa SMS style and the hurdle is large enough most companies won't bother.

[–] possiblylinux127@lemmy.zip 6 points 1 day ago (2 children)

Alternative: require a proof of work calculation.

[–] marauding_gibberish142@lemmy.dbzer0.com 2 points 1 day ago (1 children)

This is exactly what we need to do. You'd think that a FOSS WAF exists out there somewhere that can do this

[–] LiveLM@lemmy.zip 2 points 1 day ago (2 children)

There is. That screenshot you see in the article is a picture of a brand new one, Anubis

Yeah I realised that after posting. I think we need a better one to deal with the cases of letting legitimate users in easier though

[–] possiblylinux127@lemmy.zip 1 points 1 day ago

It kind of sucks but it is the best we have for the moment

[–] ulterno@programming.dev 0 points 1 day ago

Make them mine a BTC block in the Browser!


^Sorry, I'm low in blood and full of mosquito vomit. That's probably making me think weird stuff.^

[–] sudo@programming.dev 6 points 1 day ago (1 children)

Whats confusing the hell out of me is: why are they bothering to scrape the git blame page? Just download the entire git repo and feed that into your LLM!

9/10 the best solution is to block nonresidential IPs. Residential proxies exist but they're far more expensive than cloud proxies and providers will ask questions. Residential proxies are sketch AF and basically guarded like munitions. Some rookie LLM maker isn't going to figure that out.

Anubis also sounds trivial to beat. If its just crunching numbers and not attempting to fingerprint the browser then its just a case of feeding the page into playwright and moving on.

[–] refalo@programming.dev 3 points 1 day ago* (last edited 1 day ago) (1 children)

I don't like the approach of banning nonresidential IPs. I think it's discriminatory and unfairly blocks out corporate/VPN users and others we might not even be thinking about. I realize there is a bot problem but I wish there was a better solution. Maybe purely proof-of-work solutions will get more popular or something.

[–] sudo@programming.dev 0 points 1 day ago (1 children)

Proof of Work is a terrible solution because it assumes computational costs are significant expense for scrapers compared to proxy costs. It'll never come close to costing the same as residential proxies and meanwhile every smartphone user will be complaining about your website draining their battery.

You can do something like only challenge data data center IPs but you'll have to do better than Proof-of-Work. Canvas fingerprinting would work.

[–] refalo@programming.dev 3 points 13 hours ago (1 children)

Proof of Work is a terrible solution

Hard disagree, because:

it assumes computational costs are significant expense for scrapers compared to proxy costs

The assumption is correct. PoW has been proven to significantly reduce bot traffic... meanwhile the mere existence of residential proxies has exploded the availability of easy bot campaigns.

Canvas fingerprinting would work.

Demonstrably false... people already do this with abysmal results. Need to visit a clownflare site? Endless captcha loops. No thanks

[–] sudo@programming.dev 1 points 4 hours ago

The assumption is correct. PoW has been proven to significantly reduce bot traffic.

What you're doing is filtering out bots that can't be bothered to execute JavaScript. You don't need to do a computational heavy PoW task to do that.

meanwhile the mere existence of residential proxies has exploded the availability of easy bot campaigns.

Correct, and thats why they are the number one expense for any scraping company. Any scraper that can't be bothered to spin up a headless browser isn't going to cough up the dough for residential proxies.

Demonstrably false… people already do this with abysmal results. Need to visit a clownflare site? Endless captcha loops. No thanks

That's not what "demonstrably false" even means. Canvas fingerprinting filters out bots better than PoW. What you're complaining about too strict settings and some users being denied. Make your Anubis settings too high you'll have users waiting long times while their batteries drain.

[–] hisao@ani.social 22 points 1 day ago

This is the most crazy read on subject in a while. Most articles just talk about hypothetical issues of tomorrow, while this one actually full of today's problems and even costs of those issues in numbers and hours of pointless extra work. Had no idea it's already this bad.

[–] 4am@lemm.ee 9 points 1 day ago (1 children)

How much you wanna bet that at least part of this traffic is Microsoft just using other companies infrastructure to mask the fact that it’s them

[–] possiblylinux127@lemmy.zip 5 points 1 day ago

I doubt it since Microsoft is big enough to be a little more responsible.

What you should be worried about is the fresh college graduates with 200k of venture capital money.

[–] coldsideofyourpillow@lemmy.cafe 6 points 1 day ago (1 children)

Sometimes, I hate humanity.

[–] luciole@beehaw.org 9 points 1 day ago

just hate the techbros

[–] marauding_gibberish142@lemmy.dbzer0.com 2 points 1 day ago (2 children)

I'm perfectly fine with Anubis but I think we need a better algorithm for PoW

[–] possiblylinux127@lemmy.zip 1 points 1 day ago* (last edited 1 day ago) (1 children)

Tor has one now

Maybe it can be reused for the clearnet.

[–] marauding_gibberish142@lemmy.dbzer0.com 1 points 1 day ago (1 children)
[–] possiblylinux127@lemmy.zip 1 points 1 day ago* (last edited 1 day ago) (1 children)

And Tor itself

It is part of the denial of service protection