TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Is CAPTCHA even needed anymore?

23 pointsby dusted7 months ago
I&#x27;m running a few small sites with various forms for submitting information for my perusal. They are used by vistors to my sites, and I&#x27;ve done a bit behind the scenes to guard against various types of attacks, such as length limits, rate limits and a bit other stuff. But one thing I&#x27;ve not put there, is CAPTCHA..<p>On one of the forms, I politely ask that the sender include todays date somewhere in the text, which I then validate to be within +&#x2F;- 25 hours of the server time.. In other places, I&#x27;ve not even done that and..<p>I&#x27;m not getting spams, I&#x27;m not getting robot messages or massive abuse..<p>Did the scammers and spammers realize that stuffing every input field on the web with commercial links and javascript exploits dosen&#x27;t actually work ?<p>Back in the day, I remember having to jump through several hoops to avoid automated spams and angry teenagers trying to flood my inboxes..<p>How&#x27;s your experience today versus the past ?

14 comments

solardev7 months ago
&gt; On one of the forms, I politely ask that the sender include todays date somewhere in the text, which I then validate to be within +&#x2F;- 25 hours of the server time<p>It sounds like you made your own CAPTCHA-lite. If it&#x27;s not a very attractive form to spammers, sounds like that&#x27;s fine, but for bigger sites it may not be enough. CAPTCHAs don&#x27;t have to always be squiggly letters... there are many picture-based puzzles these days, along with human-like interaction checks, audio puzzles, logic puzzles, video advertisement puzzles, etc.<p>I manage a forum at work and after a few years of no spam, suddenly someone found us and made hundreds of spam accounts and posts over one weekend. And Discourse doesn&#x27;t have good bulk spam moderation in the UI, so it was a pain going through them afterward =&#x2F; I really wish we had a CAPTCHA!
admissionsguy7 months ago
On my 50k monthly UU side-project, I used this to eliminate a vast majority of spam submissions:<p>&gt; $.post($(this).attr(&#x27;action&#x27;) + &#x27;?nospam=1&#x27;<p>(skipping processing but returning a success response when nospam is absent, so I guess it counts as an honeypot)<p>I also blacklisted the words cialis and viagra.<p>What remained were serial submissions from pen-testers who then sent emails begging for money, so I implemented a one-click removal of all submissions from an ip range.<p>That&#x27;s after Cloudflare&#x27;s regular WAF.<p>Not much effort, so I guess it&#x27;s only an issue if it gets exponentially worse with increased traffic (which it probably does).<p>I would never use a CAPTCHA though, not my philosophy to outsource effort to the user.
borplk7 months ago
I think it depends on how motivated the attackers are.<p>If we are talking about the account creation form of Facebook, you bet you will need some CAPTCHA. If it&#x27;s a random form with no obvious benefit of spamming then I&#x27;m not sure how many &quot;attempts&quot; will be done to begin with regardless of the protection mechanisms.<p>In those cases you may be enocuntering bots that &quot;blast spam&quot; and usually the slightest form of barrier stops them because they tend to be made for the common denominator, for example by targeting popular blog&#x2F;forum software that have a predictable form structure that the bot can be programmed for.<p>I have seen some basic anti-spam features that are &quot;home-made captcha&quot;.<p>For example it says something like &quot;Pandas are black and:&quot; and you have to enter &quot;white&quot;.<p>Those can sometimes be made in a way that is more user-friendly compared to a &quot;real captcha&quot;.<p>However it takes some careful consideration and knowing your audience to make sure that they understand what to do. Some users may not understand it due to language or cultural differences or due to people being used to the traditional captcha.<p>You may want to remove the protection mechanism to see if you get any spam at all or not (or at least log and measure success vs failure cases).<p>Without knowing anything about your use case, personally I&#x27;d remove the CAPTCHA and see how many spams come through. Then I&#x27;d put a very basic and gentle barrier just enough to remove those spams and gradually increase the barrier if required.<p>Another thing to consider is that if your users have to login you can have some kind of basic reputation metric so that &quot;known good&quot; users are not subject to the same restrictions.
评论 #41792902 未加载
Jnr7 months ago
Here is a fun story: years ago I avoided using CAPTCHAs on my sites by simply adding a hidden file upload field (hidden by js) and a hidden field that was expected to be empty.<p>Lots of spam bots did not run JS back then and tried posting values in fields that were supposed to be empty.<p>And then there were many many bots that could not properly form an empty multi part upload request, because that was not implemented in the most popular web request libraries (like curl). It is probably not as effective anymore since it&#x27;s way easier to run the headless browser these days, but I used that approach for many years. :)<p>My log files were full of spam that was caught this way.
rozenmd7 months ago
Chuck up an unprotected form on the Internet and see the crap that gets submitted, it&#x27;s the worst.<p>I use a mix of honeypots and Cloudflare Turnstile to avoid the spam.
CM307 months ago
The thing with captchas is that they&#x27;re basically security by obscurity; the less sites&#x2F;services use one, the less spam will get through. That&#x27;s because if you&#x27;re someone like Google or Facebook, the payoff for writing bots specifically to crack their anti spam measures is huge, while the same isn&#x27;t true of the average blog&#x2F;forum&#x2F;wiki.<p>So a homemade solution like the one in your post works fine for many sites. The bots written for forms without captchas can&#x27;t solve it, and their developers won&#x27;t waste the time changing the script to fix that, because it&#x27;s not worth the effort.<p>If your site&#x2F;service becomes extremely popular on the other hand... you&#x27;ll need a more robust anti spam solution. And given how thoroughly things like Recaptcha have been cracked, those won&#x27;t cut it there either.
muzani7 months ago
Crazy theory: The spammers have moved on to prompt hacking AI or experimenting with AI based spam. Some have even raised venture capital.
emchammer7 months ago
I was asked to solve a CAPTCHA on a hospital registration kiosk to visit a friend.
taosx7 months ago
The amount of bots scanning for vulnerabilities or spam for a hidden, no seo, no important website approaches 700 visits a day. In the past it was a bit more personal as someone had to target you directly, now it&#x27;s just crawlers and bots everywhere. I know not anyone is able to do the same but I basically block ASN for all clouds and cheap vps hosters + few countries.
dividedcomet7 months ago
I set up a form to send basic email info for wedding RSVPs for my wedding, no validation, and never got a single piece of spam. Granted it’s hosted in Cloudflare so don’t know if they blocked out all the hard work for me.
rishikeshs7 months ago
How did you manage to spot the spam? I host static comments on my site[1] with a comment form. I get a lot of spam that looks like Russian!<p>[1] <a href="https:&#x2F;&#x2F;rishikeshs.com" rel="nofollow">https:&#x2F;&#x2F;rishikeshs.com</a>
bitbasher7 months ago
I run three businesses. One has a captcha and two don&#x27;t (contact us forms and sign up forms). I get around 1-3 spam submissions per-day for forms that don&#x27;t contain a captcha.
paulcole7 months ago
&gt; Did the scammers and spammers realize that stuffing every input field on the web with commercial links and javascript exploits dosen&#x27;t actually work ?<p>How sure are you about this?
metalman7 months ago
captcha will be hard to replace or improve on as the most pointless and agrivating thing ever invented the only way I ever go through with it is if I am getting something material,money say,that is locked behind a craptcha event