跳到正文
原文
Hacker News · 首页· MatthiasNordwig·· 20 天前精选AI 评分42

开发者用自适应工作量证明替代 CAPTCHA 并做成免费 WordPress 插件

Show HN: Replacing CAPTCHAs with adaptive proof-of-work in WordPress

AI 导读

开发者为自家企业的举报服务主页寻找符合欧盟隐私法、无 Cookie、零成本的反垃圾方案时,采用 Hashcash 工作量证明并做成免费 WordPress 插件,称立即拦截了 100% 垃圾且未误伤真实留言。

推荐理由

作者公开了一款基于工作量证明的免费 WordPress 反垃圾插件的设计思路与运行数据,可对照评估同类工具机会。

正文 · 原文

When I founded my business a whistle-blowing-service for enterprises, I’ve seeked for a working solution to block spam bots on that home page. The solution was intended to comply with EU data privacy law, no cookies, no sniffing, light-weight-size, on my webserver only, beeing invisible for my site visitors and no running costs at all.

I came across Hashcash, a proof-of-work approach, to block spam. When I implemented it, it worked immediately and blocked 100 percent without blocking any incoming real posts.

I was astonished, that no solution existed in the ecosystem allready that covered all forms and was for free. Therefore I‘ve turned it into a free wordpress-plugin.

It is not only a technical solution, but starts with the business model of spam (mass spamming at low cost), by producing a calculation effort for every single post, that unavoidable. And therefore is not exactly unbreakable but becomes very expensive for the spammer and therefore alows only for targeted high quality approaches that need other treatment. Up to now my own page remains spam free and users report the same.

Now, running since 2022 on 4000+ active installations, it is working with almost every webform and plugin combination that is running on any wordpress instance, using pattern recognition on http-post-level instead of specific proprietary integration for single specific form builders. It ships with 80+ starting patterns for the most relevant form builders and themes, but can be enhanced with any pattern by the user.

The plugin can be previewed directly and immediately on wordpress.org. It ships with14 KB compressed under a GPL-2.0 license.

I’m looking forward to discuss about the proof-of-work approach, form detection, privacy implications, and tradeoffs.

来源:Hacker News · 首页 · news.ycombinator.com