News for hackers. Stuff that matters.
Re:Cap: Lightweight, modern open-source CAPTCHA alternative ... by mgrandl on Friday May 30, 2025 @01:37PM (#44138361)
What does proof-of-work mean here and what makes it easy for humans and hard for bots?
Re:Cap: Lightweight, modern open-source CAPTCHA alternative ... by stephantul on Friday May 30, 2025 @01:53PM (#44138509)
Think of crawlers: a crawler typically makes hundreds or thousands of requests per second. The owners of the crawler then sell this data for X$, or gain X$ profit.

Proof of work adds a very small cost to each individual request, increasing the cost of crawling to a number higher than X. Because actual humans make very few requests, we don’t notice the increase in cost.

Re:Cap: Lightweight, modern open-source CAPTCHA alternative ... by timtom123 on Friday May 30, 2025 @01:57PM (#44138558)
This exactly, having ran very large scraping operations, it only takes a slight increase in cost to make it unprofitable for many use cases.
Re:Cap: Lightweight, modern open-source CAPTCHA alternative ... by SV_BubbleTime on Friday May 30, 2025 @04:09PM (#44139496)
Right, scale is solved… but not at all targeted “attacks”.

If some site uses this and I only want that site as an attacker or as a personal scraper or etc, this is keenly ineffective at proving human vs bot.

Re:Cap: Lightweight, modern open-source CAPTCHA alternative ... by hombre_fatal on Friday May 30, 2025 @02:21PM (#44138730)
When you use a captcha, you presumably want to defeat someone curling your CreatePost endpoint, not just make it more annoying to do it at only botnet scale.

This captcha still lets all traffic through. Except now you waste the battery of honest users.

Even HN proponents of the idea don't use it on their own sites.

Re:Cap: Lightweight, modern open-source CAPTCHA alternative ... by krior on Friday May 30, 2025 @02:34PM (#44138830)
I rather see something like anubis than some unsolveable captcha. I never understood the battery-argument, I recon my screen uses more energy during pow-solving than it takes my phone to solve these pows.
Re:Cap: Lightweight, modern open-source CAPTCHA alternative ... by hombre_fatal on Friday May 30, 2025 @02:40PM (#44138878)
> I rather see something like anubis than some unsolveable captcha.

So would bad actors. Which is why everyone uses normal captchas and not mere PoW.

PoW is the easiest captcha to beat.

Re:Cap: Lightweight, modern open-source CAPTCHA alternative ... by Tijdreiziger on Friday May 30, 2025 @03:01PM (#44139018)
[citation needed]
Re:Cap: Lightweight, modern open-source CAPTCHA alternative ... by hombre_fatal on Friday May 30, 2025 @03:20PM (#44139154)
For which part?

Every time a new submission is created on HN, you have a curl script that posts a comment on it shilling your product. (According to the /newest tab there seems to be one submission every few minutes.)

What's harder for you to automate: the comment always posts successfully after 500ms, or you get a Cloudflare Turnstile captcha every time?

Re:Cap: Lightweight, modern open-source CAPTCHA alternative ... by yodon on Friday May 30, 2025 @03:43PM (#44139347)
PoW is for a completely different threat model than CAPTCHA. If you're trying to decide which is better, you're doing it wrong.
Re:Cap: Lightweight, modern open-source CAPTCHA alternative ... by Tadpole9181 on Saturday May 31, 2025 @09:08AM (#44144050)
The title of the submission, the project README, and the project homepage repeats:

> CAPTCHA alternative

Re:Cap: Lightweight, modern open-source CAPTCHA alternative ... by skydhash on Friday May 30, 2025 @02:06PM (#44138628)
It's equally easy for both. But people using broswers only do it a few times, while bots need to do it many times. A second for a human every X pages is not much, but it's a death-knell for the general practice of bots (and they can't store the cookies because you can rate-limit them that way).

Imagine scrapping thousands of page, but with a X>1 second wait for each. There wouldn't be a need to use such solution if crawlers were rate-limiting themselves, but they don't.

Re:Cap: Lightweight, modern open-source CAPTCHA alternative ... by reaperducer on Friday May 30, 2025 @02:33PM (#44138822)
So is the solution to stymying bots to just add a page load delay of a second or two? Enough that people won't care, but it doesn't scale for bots?
Re:Cap: Lightweight, modern open-source CAPTCHA alternative ... by jsheard on Friday May 30, 2025 @02:35PM (#44138835)
Just adding a delay wouldn't achieve anything because bots can just do something else while they wait, whereas PoW requires them to actively spend their finite resources before they can continue doing whatever they want to do.
Re:Cap: Lightweight, modern open-source CAPTCHA alternative ... by GoblinSlayer on Saturday May 31, 2025 @06:41AM (#44143349)
So if you rate limited to one request per second, then use 100 cookies to make 100 requests per second, 1 request per second per cookie.
Re:Cap: Lightweight, modern open-source CAPTCHA alternative ... by pixl97 on Friday May 30, 2025 @01:45PM (#44138436)
I think it's only more expensive for bots, though just as easy for bots.

The problem with bots is they quite often farm this out to stolen resources. It makes sending whatever they are sending slower, but doesn't stop it.

Re:Cap: Lightweight, modern open-source CAPTCHA alternative ... by prisenco on Friday May 30, 2025 @01:46PM (#44138441)
It will make server hijacking more noticeable and harder to hide.
Re:Cap: Lightweight, modern open-source CAPTCHA alternative ... by tiagorangel on Friday May 30, 2025 @03:34PM (#44139281)
Re:Cap: Lightweight, modern open-source CAPTCHA alternative ... by jbellis on Friday May 30, 2025 @03:49PM (#44139368)
ahh, that makes sense, thanks

I do think that calling this a CAPTCHA when it's not actually intended to distinguish humans from computers is a bit misleading, but I can see why you would do that