next-hcaptcha
crypto-puzzle
next-hcaptcha | crypto-puzzle | |
---|---|---|
2 | 2 | |
23 | 19 | |
- | - | |
0.0 | 4.9 | |
about 1 year ago | about 1 month ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
next-hcaptcha
crypto-puzzle
-
mCaptcha: Open-source proof-of-work captcha for websites
Funnily enough I've recently implemented [0] a little proof-of-work generator (or more specifically a time-lock puzzle [1] generator), which is the base building block on top which something like this can be built.
It's a very cool idea imo, you generate a cryptographic puzzle that's cheap for you to make, cheap for you to verify if its solved, and potentially cheap-enough for legitimate users to solve, but expensive-enough that users making too many requests would find solving them prohibitively expensive.
I wish something like this was bolted onto email protocols, it would just cost more to be a spammer than it'd be worth it.
Interesting how mCaptcha seems based on sha256, I don't know enough but it would be worth checking how much the algorithm can be sped up with (already existing) dedicated ASICs, if the attacker can solve the puzzle like 10000x faster than normal users you just can't crank the difficulty of the puzzle high enough and for motivated attackers this becomes basically useless. Basing this of on repeated squarings, like the RSW paper on time-lock puzzles did, seems potentially better.
[0]: https://github.com/fabiospampinato/crypto-puzzle
-
Silent SHA256 based proof-of-work(PoW) captcha solution
Nice! I had written a little algorithm that one could use to implement something like this (maybe interesting if you want to understand how it could work): https://github.com/fabiospampinato/crypto-puzzle
I think there's something to this, it costs you next to nothing to generate these puzzles and get a guaranteed, tunable, slowdown factor on attackers (or cost increase for them I guess).
What are some alternatives?
next-api-og-image - :bowtie: Easy way to generate open-graph images dynamically in HTML or React using Next.js API Routes. Suitable for serverless environment.
2captcha-php - PHP package for easy integration with the API of 2captcha captcha solving service to bypass recaptcha, hcaptcha, funcaptcha, geetest and solve any other captchas.
friendly-challenge - The widget and docs for the proof of work challenge used in Friendly Captcha. Protect your websites and online services from spam and abuse with Friendly Captcha, a privacy-first anti-bot solution.
mCaptcha - A no-nonsense CAPTCHA system with seamless UX | Backend component
playwright-recaptcha-solver - ReCaptcha V2 solver for Playwright
angular-recaptcha-v2 - Application example built with Angular 15 and adding the Google reCAPTCHA v2 using the ng-recaptcha library.
epicgames-freegames-node - Automatically login and find available free games the Epic Games Store. Sends you a prepopulated checkout link so you can complete the checkout after logging in. Supports multiple accounts, login sessions, and scheduled runs.
next-api-compose - 🧬 Simple, dependency free, error aware and powerful utility to compose chain of multiple middleware into one Next.js API Route.
next-recaptcha-v3 - ⭐ Straightforward solution for using ReCaptcha in your Next.js application
vue-recaptcha - Google ReCAPTCHA component for Vue.js