Top
Best
New

Posted by raybb 3 days ago

Breaking the open web won't stop the bad bots(www.techpolicy.press)
259 points | 111 commentspage 2
scotty79 14 hours ago||
If you have an endpoint with interesting information and you don't want it spammed with requests, require a proof of work from the client, scale up the hardness of it as the load goes up so it never exceeds what's comfortable for you. Even a hard proof of work won't slow down somebody that makes one request per second because they are reading the site but will sighificantly interfere with crawlers that hit you 10000 a second currently at very little cost to them.

The module doing proof of work might be a part of your frontend that is static and on CDN.

If you want agents still have access to your data, just not through scraping, provide alternative format for them. Like periodic sqlite dump.

I made a prototype of such PoW two years ago. A challenge is a random number. Checking the client's solution is calculating one hash of the challenge glued to client's solution and checking if the resulting hash is less than a specific value. The lower the value, the harder the task for the client to do. Client needs to calculate this hash multiple times to find a response that will result (when glued with challenge) with low enough hash.

The server needs to keep short lived cache with challenges so the client can't just make up one or reuse another solution and provide two responses for every challenge, first, very small and fast with a challenge, and the second one with actual content (if response was correct). Nothing much worse than CORS preflight.

chrismorgan 6 hours ago|
Proof of work is bad rate limiting. The power asymmetry is too immense. Worst-case example is SHA-256, where an attacker with dedicated hardware is millions of times as efficient as common users. Even with a less boneheadedly foolish POW scheme (quite incidentally, every single web POW scheme that I know of started with SHA-256, and almost all still use it), the ratio is easily in the hundreds or thousands, too great an imbalance to bridge. (That is: if you want to require an attacker to burn one second of computation time, some cheap smartphone user will now be stuck for five minutes. If you reduce the difficulty so that user is only stopped for five seconds, your attacker is now burning less than 20ms.)

Most web proof-of-work stuff has worked because it breaks the normal flow and the typical scraper is supremely dumb, not because of the proof of work, which has largely been a total red herring.

jdw64 9 hours ago||
These days, scraping bots and referrer spam seem really bad. Recently, referrer spam disguised as aocr.org was scraping every corner of my homepage, and as a personal website, it’s a bit of a burden.
noncoml 13 hours ago||
I think the best example is Reddit. They are so amateurish in their ways to try to prevent bots that only makes the site more user hostile. The bots are still thriving.
pvab3 8 hours ago||
Reddit doesn't truly want to prevent bots necessarily. They want to drive engagement and time spent on their website.
kingleopold 12 hours ago||
they could always ask someone in YC companies, no excuses
direwolf20 15 hours ago||
Headline response: it objectively does, as you can easily see if you run any website.
superkuh 13 hours ago|
Subheadline: site owners unaware or don't care about humans caught in their "effective" block
blurbleblurble 10 hours ago||
The legislators are way out of their depth and oligarchs are preying on them at this point.
jon128 16 hours ago||
Any bot is operating on behalf of one or more humans somewhere. Bots are good, for the most part.

The conventional way of doing web isn't efficient. If it were, no one would be complaining about bots. The way we do web is the thing that needs to be updated.

PaulHoule 16 hours ago|
What gets me is how much the people who advocate for the "open web" have completely incorporated the values of Facebook and Google.

Like there's that anime girl who harasses you when you visit so many open source web sites that just continues the pattern of being harassed by cookie dialogs and consent dialogs and pop-up ads and being asked for your email address and of course there is Wikipedia which is doing more and more of the same.

Another web is possible but web populists don't really believe it.

Just to get started, bots have been better at filling out CAPCHTAs than humans for a long time. I knew someone who got his site hacked by Russians circa 2008 because he published a neural network in freakin PHP that could read them. Anubis causes humans stress, slows down task completion, probably raises peoples blood pressure, and cumulatively causes a great deal of harm to users the same way Cloudflare's system does. Bots can use async or virtual threads and not even have to hold on to a stack while they are waiting for this bullshit, clicking on buses, etc.

CAPTCHAs, cookie banners, and of the that crap should be an automatic F grade on WCAG and should make web sites immediately liable for ADA lawsuits with triple damages.

armchairhacker 13 hours ago|||
As others point out, the anime girl must exist because otherwise the sites can’t afford to serve you, amidst a new pattern of DDoS that is attributed to AI but I see as just DDoS becoming more prevalent (remember how sites used to occasionally be taken down by DDoS? Before Cloudflare (and Anubis) they’d just have to stay offline until the DDoSers got bored of wasting money for no good reason. Today’s “scrapers” apparently have new reasons that make them never bored of wasting money, but cannot be good enough to justify the aggressiveness that makes them DDoSers).

Hence why my solution is, ironically, micropayments. That would be so cheap that any human could even access thousands of webpages per day for pennies (or however expensive sending a signal across wires is…it can’t be much), including shared dumps of scraped data from billions of pages.

sire-vc 12 hours ago||||
When I opened the article above I was asked to subscribe to a newsletter. I dont know whether to laugh or cry.

And Anubis: it is uncomfortably close to erotica, in a way that makes me panic when it pops up while I'm at the office. I wouldn't care if it was a picture of a puppy or something, but not an anime catgirl.

sick_of_slop 8 hours ago||
[dead]
dspillett 15 hours ago||||
You seem quite incensed by the anime girl of Anubis. Unfortunately for you it is here to stay for a while, along with cloudflair's implementation and others, as they do reportedly make a difference to the sites using them as shields. Until something better is found, the other option is that the resources otherwise serving more bot traffic than they can afford simply go dark which would be worse.

Equating bot prevention measures with “please give us permission for 1,000s of companies to stalk you around the Internet, no? Here are some dark patterns to try make you accidentally agree” is rather unfair IMO. They are an inconvenience but for the protection of the sites rather than for the betterment-of-adtech-via-conning-you-the-viewer-with-malicious-compliance.

> Bots can use async or virtual threads and not even have to hold on to a stack while they are waiting for this bullshit

They could, but given these methods seem to work currently most (almost all?) are not. They will start doing so if the amount of resources protected in this way increases to the point where it is worth it, or course, that is why memory-hard processes are being worked on which will make that route less practical.

> cookie banners, and of the that crap should be an automatic F grade on WCAG and should make web sites immediately liable for ADA lawsuits

I can't disagree there, though that would be quite an inefficient process and requires a bunch of money up front from who-ever champions the legal challenge, so I doubt it would actually be at all practical.

kg 15 hours ago||||
What's the alternative? Invisible algorithmic fuzzy recognition on the server side that just randomly bans you if you look like a bad bot, with no recourse? At least if you solve a captcha and dismiss the cookie banner you can access the website.
creata 15 hours ago||||
> Bots can use async or virtual threads and not even have to hold on to a stack while they are waiting for this bullshit, clicking on buses, etc.

Don't the bots still need to do the proof of work for Anubis? They can't "async" their way out of that work.

> Another web is possible but web populists don't really believe it.

How? Sharing knowledge with the world used to be an obviously good thing. Now it's a way to help tech companies replace people with machines. What alternative web could change this state of things?

dspillett 15 hours ago|||
> Don't the bots still need to do the proof of work for Anubis? They can't "async" their way out of that work.

The implication is that while they are waiting for the async loop to complete for one site, the bot can be scraping others that have already had the challenge completed (usually the one challenge stays in force for some time afterwards) or that have no such challenge.

Memory hard challenges will reduce the effectiveness of this, but not remove it completely.

Though that these methods are working at all implies that most (almost all?) bots are not bothering to use such async methods as there are sufficient resources not protected by them that this complication is not yet worth implementing.

jon128 14 hours ago||||
> They can't "async" their way out of that work.

Sharing cookies along a strata of inter-team bots is one trick.

_

Web scraping is (among the other pieces) also for the more technically inclined among the "little people" to have computers do things that people they don't have the money to hire might do. Making web scraping more difficult, which won't stop the big players who will work around the hurdles one way or another, is "pulling up the ladder".

_

> What alternative web could change this state of things?

A different architecture for trafficking web contents, one that doesn't need the "shield" of something like Cloudflare or "tar pit" of something like Anubis in the first place.

IPFS is or is something like one piece of that picture but there are other essential pieces to complete that picture.

kotaKat 15 hours ago|||
Or they could just be more 'powerful' compute that can clear the challenge faster.

I know I'm incensed at all of this because I feel like I'm the one that endlessly waits in front of the Anubis challenge for 5-10 seconds, or keeps getting extremely difficult or brain-draining hCaptchas thrown at me with no real solutions.

And I'm stuck with low-end compute for probably the rest of time at this point - not a single machine in the house has more than 8GB of RAM. So I'm just doomed to wait and burn my time and my sanity some more.

jon128 14 hours ago||
The "you need to enable cookies to view this site", cookies that will be limited to a browser-container and will be thrown away when the browser is closed anyway, is a sign that this modern nu web is broken in a fundamental way.
whoanoway 11 hours ago|||
[dead]
peter_d_sherman 16 hours ago||
>"In 2022, a Pulitzer-winning Wall Street Journal investigation analyzed over 31,000 financial disclosures from 12,000 senior government employees, revealing that nearly a quarter of federal officials traded stock in industries their agencies regulated."

Ya know, on the one hand, I wonder how many federal officials own nVidia stock and stock of other AI companies...

But then again, on the other, I wonder how many nVidia employees (and those of other AI companies!) own government T-bills (and other government backed securities!) in their 401K or other investment accounts!

You know, everybody in large corporations and governments owning shares in other large corporations and governments -- adds a whole new level of meaning to "stakeholder capitalism"... :-)

(In the far future, there'll probably be small foreign governments which become their own ticker symbol -- and get publicly traded on various stock exchanges! :-) You know, like: "Would you like to buy a share in Denmark (DNMK) or perhaps Norway (NRWY)? I hear they're very competitive with Apple (AAPL) right now! Great price to earnings (PE) ratio!" :-) )

AndrewStephens 16 hours ago||
You can already buy shares in a nations economy - it is called owning currency. The big difference from stocks is that most countries issue new shares (dollars, etc) to keep the price stable (indirectly via careful control of interest rates).

I am simplifying terribly but just as shares represent a fraction of a company, cash represents a share of a nation’s economy.

peter_d_sherman 15 hours ago||
>You can already buy shares in a nations economy - it is called owning currency.

An interesting point! Yes, that is definitely one way that currency could be looked at...

>The big difference from stocks is that most countries issue new shares (dollars, etc) to keep the price stable (indirectly via careful control of interest rates).

Agreed -- but if we were really to analyze things, scrutinize the way things really work at the highest degree of resolution, then we would have to observe that:

a) There are multiple countries/currencies in the world.

b) That each country's/currency's inflation rate is different than all of the other countries/currencies.

c) If each country's/currency's inflation rate is different, this means that each countries's issuance of new shares (and control of interest rates) -- their financial policies, are, by comparison, either more effective, on par, or less effective than those of other countries used for comparison...

Phrased another way:

All countries do not control the rate of inflation of their currencies equally.

Phrased another way:

Some nations are better at controlling their currency's rate of inflation than other nations.

True or not true?

>I am simplifying terribly

As am I! :-)

>but just as shares represent a fraction of a company, cash represents a share of a nation’s economy.

Again, an interesting point!

And yes, I could agree with that!

AndrewStephens 14 hours ago||
> Some nations are better at controlling their currency's rate of inflation than other nations.

Manifestly true, for lots of reasons.

The analogy only goes so far because currency is traded for goods, services, and debt all the time whereas shares are usually just traded for currency.

Vaushite 16 hours ago||
Corporations and governments have swapped places.
ershadzolfi 14 hours ago||
[flagged]
jiang-li 9 hours ago|
[flagged]