How b00h0o/recaptcha-vm works
This repository runs Google’s reCAPTCHA BotGuard engine inside a jsdom sandbox to mint v3 tokens; its v2 path demonstrates the anchor and challenge setup but does not solve challenges. The main workflow fetches sitekey-specific anchor and engine artifacts, executes the engine in the sandbox, and makes real Google network requests; tokens can then be checked with siteverify. The v3 scripts are separate minter variants, not stages in a shared pipeline. Relationships for unsampled portions are limited to README documentation.
Main entry points: live-v3-single.mjs v3 single minter · fetch-anchor-generic.mjs Fetch anchor bundle · siteverify.mjs Verify token · live-v2-single.mjs v2 challenge flow
Components 12
Anchor setup
- Fetch anchor bundle
fetch-anchor-generic.mjs - Anchor artifacts
Token runtimes
- v3 single minter
live-v3-single.mjs - v3 dump variant
live-v3-dump.mjs - v3 protocol variant
live-v3-protocol.mjs - v3 transport variant
live-v3-transport.mjs - v2 challenge flow
live-v2-single.mjs
Token verification
- Verify token
siteverify.mjs - reCAPTCHA token
Other components
- Operator
- Google reCAPTCHA
- Google siteverify
Connections 12
- Operator → Fetch anchor bundle: requests bundle
README.md - Fetch anchor bundle → Google reCAPTCHA: fetches artifacts
fetch-anchor-generic.mjs - Fetch anchor bundle → Anchor artifacts: saves bundle
fetch-anchor-generic.mjs - Operator → v3 single minter: runs minter
README.md - v3 single minter → Anchor artifacts: loads artifacts
README.md - v3 single minter → Google reCAPTCHA: sends clr request
README.md - v3 single minter → reCAPTCHA token: mints token
README.md - Operator → v2 challenge flow: runs demo
README.md - v2 challenge flow → Anchor artifacts: loads artifacts
README.md - Operator → Verify token: submits token
README.md - Verify token → Google siteverify: posts verification
siteverify.mjs - Verify token → reCAPTCHA token: reads token
siteverify.mjs