Skip to content
Skillpedia
Security75k · #2855

form-captcha

What it does

This skill checks public forms, such as sign-up, login and contact pages, for protection against automated abuse. It is for developers who run open websites with forms.

When to use it

  • ✓When your sign-up or contact form receives floods of spam.
  • ✓When you add a login page that could face automated password guessing.
  • ✓When you want to block bots without making visitors solve hard puzzles.

Skill link

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/form-captcha/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/form-captcha/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Can you add bot protection to my contact and sign-up forms?”

5 new skills a week. 1 minute to read.

How it works

The agent checks each public form for a CAPTCHA, honeypot field or rate limiting. It suggests a low-friction CAPTCHA service and confirms the answer is checked on the server.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Protect public forms with CAPTCHA

An unprotected registration form can create thousands of spam accounts per minute; an unprotected login form enables credential stuffing attacks that test millions of username/password combinations from data breaches.

Quick Reference

  • Public forms (contact, registration, login, password reset, comment) without CAPTCHA are targets for automated abuse
  • Prefer invisible/automated solutions (Cloudflare Turnstile, Google reCAPTCHA v3, hCaptcha) over interactive challenges that harm UX
  • Always validate CAPTCHA tokens server-side — client-side validation is bypassable
  • Rate limiting is complementary to CAPTCHA but not a substitute — bots can solve rate limits with distributed attacks
  • Honeypot fields (hidden inputs that users never fill but bots do) are a lightweight CAPTCHA alternative for low-risk forms

Check

Identify all public-facing forms (contact, registration, login, password reset, newsletter, comment). Check whether each has CAPTCHA, honeypot fields, or server-side rate limiting. Verify any CAPTCHA tokens are validated server-side.

Fix

Integrate a CAPTCHA service (Cloudflare Turnstile, hCaptcha, or Google reCAPTCHA v3) on all public forms. Validate the CAPTCHA response token on your server before processing the form submission. Add rate limiting as a defense-in-depth measure.

Explain

Explain what credential stuffing and spam bot attacks are, how CAPTCHA protects public forms, the trade-offs between different CAPTCHA approaches (v2 checkbox, v3 invisible, Turnstile), and why server-side validation is required.

Code Review

Review server config, headers, forms, and integration points related to Protect public forms with CAPTCHA. Flag exact responses, cookies, or browser behaviors that violate the rule, and verify them against the effective production-like response.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/security/form-captcha

FAQ

What is a honeypot field?

It is a hidden form field that people never fill in but bots often do, which helps catch automated submissions.

Is checking in the browser enough?

No. The skill says CAPTCHA tokens must be validated on the server, because browser-side checks can be bypassed.

Which services are named?

The skill names Cloudflare Turnstile, hCaptcha and Google reCAPTCHA v3.

Details

Original description by the author

Use when reviewing public HTML forms (no authentication required to reach them) for bot and abuse protection mechanisms.

repo: thedaviddias/Front-End-Checklist

Popularity

GitHub stars
75k
Ranking position
#2855
License
MIT
Updated
10/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills