Samurai Honeypot for Forms
Invisible 15-layer anti-spam for Contact Form 7 & WPForms. Score-based 3-Tier Triage silently blocks bots — no CAPTCHA, no user friction.
Use com cautela
Samurai Honeypot for Forms works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 5 months ago, and scores 51/100 on our health check.
- Pequena base de usuários (10+ instalações ativas)
- Muito poucos comentários até agora
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where Samurai Honeypot for Forms stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| Antispam | #90 |
| contact form 7 | >100 |
| honeypot | #56 |
| Spam | >100 |
| Wpforms | >100 |
Adoção da versão
Compartilhamento de sites ativos por lançamento.
About Samurai Honeypot for Forms
From the official readme · v1.1.6Descrição
Note: This plugin requires HTTPS to function (due to Web Crypto API usage).
The Story: The Forging of the Ultimate Defense
This project began with a simple goal: to create a lightweight honeypot trap to catch basic bots. But during development, we faced a harsh reality: Simple traps are obsolete. Modern AI bots and headless browsers can easily step over traditional defenses. A basic trap was no longer enough; we needed a fortress.
So, we forged a completely new architecture. We added Proof of Work, Behavioral Analysis, and Rate Limiting. What started as a simple honeypot evolved into a 15-layer invisible firewall. Like a samurai’s blade, it operates with absolute precision—completely invisible to your real customers, yet ruthlessly executing a “Silent Kill” on spam bots before they ever reach your inbox or database.
Samurai Honeypot protects every Contact Form 7 and WPForms form with fifteen independent defense layers.
Each layer contributes a score, and blocked submissions are handled by a 3-Tier Triage System:
3-Tier Triage System
- Tier 1 (Pass): Score below the threshold (default 50) — email is sent normally.
- Tier 2 (Quarantine): Score between the threshold and 99 — email is silently suppressed (Silent Kill) and the submission is saved to the built-in Quarantine Log for admin review.
- Tier 3 (Drop / Instant Kill): Score of 100 or higher — email is silently suppressed and the submission is permanently dropped without logging. This protects your database from bloat during DDoS or mass bot attacks.
Warning — False Positives: Depending on your environment, legitimate emails may occasionally be flagged as spam. Enterprise proxies, strict corporate firewalls, outdated browsers, VPNs, and unusual network configurations can trigger detection layers. You MUST check the Quarantine Log periodically to identify and recover any false positives. The plugin cannot distinguish all edge cases automatically.
Defense Layers
- JS Injection Gate — Blocks bots that cannot execute JavaScript. Tokens are fetched via REST API for full page-cache compatibility.
- Polymorphic Honeypot — Decoy field name is cryptographically derived per token (not exposed in the API response), hidden from humans via CSS.
- Token Signature — HMAC-SHA256 signed stateless token with IP and Form ID binding.
- Time Trap — Detects impossibly fast submissions. Browser autofill is automatically exempt.
- Proof of Work — SHA-256 computational challenge via Web Crypto API that forces CPU cost on bots.
- Behavioral Entropy — Hash-verified human-like event counters: mouse, keyboard, touch, scroll. Uniqueness tracking detects script reuse.
- Headless UA Block — Server-side User-Agent check instantly blocks known headless browsers and automated tools (Headless Chrome, Puppeteer, PhantomJS, Selenium, Playwright, Nightmare, Electron). Toggleable in settings for E2E testing compatibility.
- Headless Detection — Detects automated browser environments (navigator.webdriver, plugin count, window.chrome, language count).
- UA Age Detection — Scores based on Chrome version age. 2+ years: +10, 3+ years: +20, 4+ years: +30. Bots often use hardcoded old User-Agent strings that never update.
- Rate Limiting — Per-IP submission rate limiting with IPv6 /64 normalization.
- Replay Protection — Atomic token consumption (INSERT IGNORE) + TTL expiry enforcement.
- IP Blacklist — Manually configured IP/CIDR blacklist for known bad actors.
- Content: URL Limit — Flags messages containing more URLs than the configured threshold.
- Content: BBCode — Detects BBCode link syntax (
[url=...]) that never appears in legitimate form submissions. - Content: Denylist — Matches against WordPress Disallowed Comment Keys (Settings > Discussion).
Key Features
- 3-Tier Triage — Pass, Quarantine (with local log), or Drop. No legitimate message is lost without a trace — quarantined submissions are saved for admin review.
- Built-in Quarantine Log — Blocked Tier 2 submissions are saved to a local database table (up to 1,000 entries, FIFO). View date, score, trigger reasons, and full form data from the admin panel. No external plugin required.
- DDoS-Resilient Tier 3 Drop — Submissions scoring 100+ are immediately dropped from memory without any database write. This prevents database exhaustion during mass bot attacks.
- GDPR Compliant — No cookies, no external service calls, no plugin-specific PII stored. IP addresses are one-way hashed with a site-specific salt before any storage — raw IPs never touch the database. No consent banner required.
- Stateless Tokens — No database writes for token generation; prevents DoS via DB bloat.
- Zero Trust Client — All client-submitted data is verified server-side with HMAC signatures and hash integrity checks.
- Zero Configuration — Activate and all Contact Form 7 / WPForms forms are protected automatically.
- Cache Compatible — Tokens are fetched via REST API, so page caching works fine.
- Multiple Forms — Works correctly with multiple forms on the same page.
- IP Whitelist / Blacklist — Whitelist trusted IPs or CIDR ranges to skip all scoring. Blacklist known bad IPs to add +100 score instantly. Optionally whitelist all logged-in WordPress users.
- Headless Browser Blocking — Server-side User-Agent check instantly blocks Headless Chrome, Puppeteer, Selenium, and other automated browsers (+100 score). Enabled by default; can be toggled off for E2E testing.
- Content Rules — Detect spam patterns in form content: excessive URLs, BBCode link syntax, and WordPress Disallowed Comment Keys matching.
- Trusted Proxy Support — Optional mode for Cloudflare and reverse proxy environments with IP range validation.
- Lightweight — Three PHP files, no external dependencies, no jQuery.
Instalação
- Upload the plugin files to
/wp-content/plugins/samurai-honeypot-for-forms/, or install directly from the WordPress plugin screen. - Activate “Samurai Honeypot for Forms” on the Plugins screen.
- Done — all Contact Form 7 and WPForms forms are now protected automatically.
To disable protection on a specific Contact Form 7 form, add the following to its Additional Settings tab:
skip_samhp: on
For WPForms, go to Settings > Samurai Honeypot > Access Control, and enter the form IDs (one per line) in the “WPForms Skip Form IDs” field. You can find each form’s ID in WPForms > All Forms (the number in the Shortcode column).
Log de Changes
Maintenance release: UA Age Detection baseline updated to Chrome 150, and compatibility verified with WordPress 7.0.
1.1.6
- Improved: UA Age Detection (Layer 6b) baseline updated to Chrome 150 (July 2026 stable) — restores full scoring accuracy for outdated User-Agent detection
- Compatibility: Tested with WordPress 7.0
1.1.5
- Improved: Conditional script loading — anti-spam JavaScript and CSS are now only output on pages that contain a CF7 or WPForms form (shortcode or Gutenberg block), reducing unnecessary DOM output on all other pages
- New:
samhp_force_enqueuefilter — allows themes/plugins to force-load the anti-spam script on pages where forms are rendered outside post content (e.g. widgets, custom templates)
1.1.4
- Improved: PoW submit guard — disable submit button during Proof of Work computation to prevent premature submission
- Improved: PoW loading spinner shown only when computation exceeds 500 ms (no visual noise for low difficulty)
- Improved: PoW abort mechanism — stale PoW computations from previous submissions and token refreshes are immediately cancelled via generation counter, preventing CPU contention
- Fixed: Race condition where old token refresh could cancel new PoW computation after form re-injection
1.1.3
- Fixed: Flamingo compatibility — removed incorrect bool type hint on wpcf7_flamingo_submit_if filter callback that caused a fatal TypeError on PHP 8.x when Flamingo is active
- Fixed: Quarantine Log table now auto-creates on plugin update (previously only on fresh activation, causing empty log on updated sites)
1.1.2
- Improved: Flamingo protection filter added to prevent database bloat (block Tier 2/3 from being saved to Flamingo)
- Improved: Quarantine Log now explicitly sets created_at timestamp
1.1.1
- Improved: Settings page reorganized into three tabs (General, Rules & Access, Documentation)
- Improved: Quarantine Log explanation expanded with detailed 3-Tier Triage information
- Improved: Defense Layers Overview and REST API Status moved to dedicated Documentation tab
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best Samurai Honeypot for Forms alternatives
All antispam plugins →FAQ
Samurai Honeypot for Forms: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: WordPress.org
Is Samurai Honeypot for Forms free?
Yes. Samurai Honeypot for Forms is free to download and use from the official WordPress.org plugin directory.
Is Samurai Honeypot for Forms safe to use in 2026?
Samurai Honeypot for Forms works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 5 months ago, and scores 51/100 on our health check.
How many websites use Samurai Honeypot for Forms?
Samurai Honeypot for Forms is active on 10+ WordPress websites and has been downloaded 931 times since it launched in February 2026. It was downloaded 96 times in the last 30 days.
Does Samurai Honeypot for Forms work with WordPress 7.1?
Samurai Honeypot for Forms is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Samurai Honeypot for Forms need?
Samurai Honeypot for Forms requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Samurai Honeypot for Forms last updated?
The latest version, 1.1.6, was released on July 15, 2026 (5 months ago).
Who makes Samurai Honeypot for Forms?
Samurai Honeypot for Forms is developed and maintained by Team beta version.
What are the best alternatives to Samurai Honeypot for Forms?
The most popular alternatives to Samurai Honeypot for Forms are Akismet Anti-spam: Spam Pro… (5M+ installs), Antispam Bee (700K+ installs) and Anti-Spam, Honeypot, CAPTCH… (200K+ installs).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito
