Not sure if any of these suggestions will help, but these are some ideas from ChatGTP:
Cloudflare’s JavaScript Challenge should block most bots because it requires JavaScript execution, which many automated bots cannot handle. However, if bots are still making accounts on your friend’s WordPress site, there are a few possible explanations:1. JS Challenge is Not Applied to All Registration Requests
- If the?JS Challenge is only applied to initial page loads?but not to the?actual form submission request, bots can bypass the challenge by directly sending requests to the registration endpoint (e.g.,?
/wp-login.php?action=register
?or a custom registration page).
- Solution: Ensure the?JS Challenge is enforced on both the page load and the form submission endpoint.
2. Session Persistence After Solving JS Challenge
- If Cloudflare’s?JS Challenge is solved once per IP, bots may?solve it once and then continue making registrations?without facing the challenge again.
- Solution: Use?Cloudflare Turnstile?(instead of or in addition to the JS Challenge) to enforce bot checks on?every form submission.
3. Bots Are Using Real Browsers or Puppeteer
- Advanced bots can?run JavaScript in a headless browser?(e.g.,?Puppeteer, Selenium, Playwright) to pass the JS Challenge.
- Solution: Use?Cloudflare Managed Challenge?instead, which detects browser automation techniques better than the JS Challenge.
4. Hidden Fields in the Registration Form
- If bots are?filling hidden fields, it suggests they are?not truly interacting with the page as a human would.
- Solution: Add?honeypot fields?that should remain empty and block form submissions if they are filled.
5. Cloudflare Challenge Mode is Too Lenient
- Your friend might have set the?JS Challenge to Low or Essentially Off, meaning only some requests are challenged.
- Solution: Set?Security Level to High?or create a?WAF rule to enforce JS Challenges on all registration requests.