WebDecoy Bot Detection

Description

WebDecoy is a free, fully-functional bot detection and protection plugin that works 100% locally. Unlike CAPTCHA solutions that frustrate visitors, WebDecoy uses invisible multi-layer detection — legitimate users never see challenges or interruptions.

Works immediately on activation. No account needed. No API key required. No external connections at all until you optionally connect a WebDecoy Cloud account.

Why WebDecoy?

  • Zero friction — Humans never see CAPTCHAs or challenges
  • Zero configuration — Install, activate, done
  • Zero dependencies — Everything runs locally on your server
  • Multi-layer detection — Server-side + client-side + proof-of-work challenges
  • Free forever — Full protection at no cost. Premium cloud features are optional.

Free Features (No API Key Needed)

Server-Side Detection
* User-Agent analysis and HTTP header inspection
* Good bot verification (reverse DNS for Googlebot, Bingbot, etc.)
* MITRE ATT&CK path analysis (admin probing, config file access)
* Rate limiting with automatic blocking
* IP blocking (individual + CIDR, IPv4/IPv6, expiration)

Client-Side Detection
* WebDriver detection (Selenium, Puppeteer, Playwright)
* Headless browser detection (Chrome headless, PhantomJS)
* Automation framework detection
* Behavioral analysis (mouse movement, click patterns, scroll behavior)
* Canvas/WebGL fingerprinting
* AI crawler detection (GPTBot, ClaudeBot, PerplexityBot)

Invisible Proof-of-Work Challenges
* SHA-256 challenges solved in background (no user interaction)
* Challenge mode for suspicious requests (checkbox widget, auto-solves)
* Difficulty scales based on threat signals
* No external CAPTCHA service needed

Form Protection
* Comment spam protection
* Login brute force protection
* Registration spam prevention
* Invisible honeypot fields on comment, login, and registration forms

WooCommerce Protection
* Checkout carding attack prevention
* Velocity limiting (configurable attempts per time window)
* Card testing pattern detection
* WooCommerce Blocks compatible

Local Dashboard & Analytics
* Detection log with threat scores and MITRE tactic mapping
* Statistics page with 30-day trend charts
* Blocked IPs management
* Dashboard widget with threat overview
* CSV export
* Automatic data cleanup (30 days)

Smart Bot Recognition
* 60+ known good bots automatically allowed
* Search engines, social media, monitoring services, SEO tools
* Optional AI crawler blocking
* Custom allowlist support

Premium Features (Optional WebDecoy Cloud)

Connect an API key to unlock cloud-powered intelligence:

  • IP Reputation — AbuseIPDB integration, threat scoring
  • VPN/Proxy Detection — Identify visitors hiding behind VPNs, proxies, and Tor
  • GeoIP Enrichment — Geographic data from MaxMind
  • Cloud Sync — Forward detections to centralized dashboard
  • Cross-Site Intelligence — Aggregate threat data from all WebDecoy customers
  • Advanced Analytics — Cloud dashboard at app.webdecoy.com with indefinite history
  • Webhooks & Alerts — Automated response chains, email notifications

Explore Plans | Start Free Trial

Threat Scoring

WebDecoy uses an intelligent scoring system (0-100):

  • 0-19: MINIMAL — Allow (likely human)
  • 20-39: LOW — Log only
  • 40-59: MEDIUM — Optional challenge
  • 60-74: HIGH — Challenge or block
  • 75-100: CRITICAL — Automatic block

The threshold is fully configurable to match your site’s needs.

External Services

This plugin can optionally connect to the following external services when you provide an API key:

WebDecoy Cloud — ingest.webdecoy.com and api.webdecoy.com

This plugin only contacts WebDecoy Cloud when you explicitly connect an account by entering an API key on the WebDecoy Cloud settings tab. With no API key configured, no data is ever sent to these services.

What is sent, and when:
* When a detection or rule violation occurs: the visitor’s IP address, user agent, request path, threat score and detection flags are sent to ingest.webdecoy.com so the event appears in your cloud dashboard.
* When you use an IP-reputation filter rule (e.g. ip.abuse_score, ip.tor): the visitor’s IP address is sent to ingest.webdecoy.com to look up reputation/geo data.
* When validating your key or forwarding a WooCommerce checkout detection: your API key, organization ID and the detection data above are sent to api.webdecoy.com / ingest.webdecoy.com.

All requests are made server-side over HTTPS. This is an optional cloud service provided by WebDecoy.
Terms of Service: https://webdecoy.com/terms
Privacy Policy: https://webdecoy.com/privacy

Without an API key, the plugin operates 100% locally — no external connections on the front end or back end. Chart.js (used for the admin Statistics charts) is bundled with the plugin, not loaded from a CDN.

Bundled third-party libraries

Chart.js v4.5.1 (MIT license) is included at admin/js/vendor/chart.umd.min.js for the admin Statistics charts. It is the official distribution build; the human-readable source is available at https://github.com/chartjs/Chart.js/releases/tag/v4.5.1 . No other third-party libraries are bundled.

Reference URLs in the good-bot database

The bundled good-bot list (sdk/src/GoodBotList.php) stores a documentation URL for each known bot (e.g. developer.amazon.com/amazonbot, api.slack.com/robots) purely as reference metadata shown alongside detections. These URLs are never requested by the plugin — no connection of any kind is made to them.

Privacy Policy

WebDecoy collects the following data locally for bot detection purposes:

  • IP addresses
  • User agent strings
  • HTTP headers
  • Browser fingerprint signals
  • Request patterns

This data is stored in your WordPress database and automatically cleaned up after 30 days. No data is sent externally unless you configure a WebDecoy Cloud API key.

For more information, see our Privacy Policy.

Screenshots

Installation

  1. Upload the webdecoy folder to the /wp-content/plugins/ directory, or install directly from the WordPress plugin repository
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. That’s it! Protection is active immediately with sensible defaults

Optional: Connect to WebDecoy Cloud

  1. Go to WebDecoy > Settings > WebDecoy Cloud tab
  2. Enter your API key from your WebDecoy dashboard
  3. Click “Test Connection” to verify
  4. Cloud features (threat intel, VPN detection, etc.) activate automatically

FAQ

Do I need an API key?

No. WebDecoy works 100% locally without any API key or account. All detection, blocking, rate limiting, form protection, and WooCommerce protection works out of the box. The API key is only needed for optional cloud features like IP reputation and VPN detection.

What does WebDecoy Cloud add?

WebDecoy Cloud adds threat intelligence feeds (AbuseIPDB, VPNAPI, MaxMind), centralized monitoring across multiple sites, indefinite detection history, and automated response features like webhooks and email alerts. Compare plans.

Does WebDecoy slow down my site?

No. WebDecoy adds less than 5ms of latency to requests. Server-side detection runs in milliseconds. The client-side scanner loads asynchronously with the defer attribute and doesn’t block page rendering.

Will it block legitimate visitors?

WebDecoy is designed to minimize false positives. You can adjust the sensitivity and blocking threshold. Start with “Log only” mode to monitor before enabling blocking. Good bots (Googlebot, Bingbot, etc.) are automatically recognized.

Does it work with caching plugins?

Yes. WebDecoy works alongside popular caching plugins. The client-side scanner runs after page load, and server-side checks happen before caching.

What about search engine bots?

WebDecoy automatically recognizes and allows 60+ legitimate bots including Googlebot, Bingbot, and other search engine crawlers. Good bot verification uses reverse DNS lookup. Your SEO won’t be affected.

Can I block AI training crawlers?

Yes. WebDecoy can identify and optionally block AI crawlers like GPTBot, ClaudeBot, PerplexityBot, and others. Enable this in Settings > Good Bots.

Does it work with WooCommerce?

Yes. WebDecoy includes specialized carding protection for WooCommerce including checkout velocity limiting, card testing detection, and automatic fraud blocking. Compatible with both classic checkout and WooCommerce Blocks.

Is my data secure?

Without an API key, the plugin makes zero external connections — visitors’ browsers never contact third-party servers, and neither does your server. Chart.js (admin charts) is bundled with the plugin. All detection data stays on your server, and detection logs are automatically cleaned up after 30 days. When you optionally connect WebDecoy Cloud, all communication is encrypted over HTTPS (see External Services below).

How does the proof-of-work challenge work?

When a suspicious visitor is detected and your block action is set to “Challenge”, they see a checkbox widget. Clicking it starts a SHA-256 puzzle that solves in the background (typically under 1 second for humans). Bots and automation tools take much longer or fail entirely. No external CAPTCHA service is involved.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“WebDecoy Bot Detection” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

2.2.3

  • Changed: All CSS and JavaScript is now loaded via the WordPress dependency APIs (wp_register_style/script, wp_add_inline_script, wp_print_styles/scripts) — no more raw style/script tags
  • Changed: The “Protected by WebDecoy” credit on the challenge page is now opt-in (Settings > Blocking) and off by default
  • Changed: Updated bundled Chart.js to v4.5.1 (latest stable)
  • Changed: Removed the load_plugin_textdomain() call (unneeded since WordPress 4.6 for directory-hosted plugins)

2.2.2

  • Fixed: A PHP 7.4 fatal error in good-bot verification (use of a PHP 8 function)
  • Fixed: Timezone-safe date handling throughout
  • Changed: The bundled SDK now uses the WordPress HTTP API exclusively (removed the raw cURL fallback)
  • Changed: Requires WordPress 6.1+; tested up to WordPress 7.0
  • Internal: Full WordPress Plugin Check compliance (resolved 69 flagged items)

2.2.1

  • Changed: Chart.js (admin Statistics charts) is now bundled with the plugin instead of loaded from a CDN — the plugin makes no external requests until you connect a WebDecoy Cloud account
  • Changed: Clarified the External Services disclosure
  • Internal: Refactored the self-hosted updater into its own module

2.2.0

  • Added: Tripwires — deterministic, zero-false-positive blocking of hidden honeypot paths (on by default)
  • Added: Honeytoken — auto-injected invisible decoy link armed as a tripwire (on by default)
  • Added: Filter rules — expression-based rules with an admin rule builder (ip.* / req.* fields)
  • Added: IP enrichment (VPN/proxy/Tor, geo, ASN, abuse score) powering ip.* filter fields
  • Added: wd_clearance enforcement loop — silent cookie minting + tripwire forwarding for rotation-proof device lockouts
  • Added: Stealth-browser (F1) detection — catches automation that patches native browser functions
  • Added: Deceptive tripwire responses — fake .env/wp-config/SQL/phpinfo with per-site canary credentials; canary logins flagged as critical
  • Added: WordPress-native traps — fake vulnerable-plugin paths, optional XML-RPC trap, author-enumeration canary
  • Added: WooCommerce honeytoken coupons — a hidden decoy coupon; applying it is a deterministic bot signal
  • Added: IP allowlist (Settings Blocking)
  • Improved: Rate limiting runs as a rule — proper 429 + Retry-After + X-RateLimit-* headers, sliding-window algorithm, per-IP/route/user keying
  • Improved: Resilient violation reporting (DB spool + cron retry, no page latency)
  • Changed: Consolidated onto a single detector path; removed legacy dead code

2.1.0

  • Added: JS execution verification — detects non-JS HTTP scrapers
  • Added: Challenge token meta tag for premium page serve tracking

2.0.0

  • Major: All detection and protection now works locally — no API key required
  • Added: Invisible proof-of-work (PoW) challenge system
  • Added: Behavioral scoring for form submissions
  • Added: Statistics page with Chart.js detection trend charts
  • Added: Enhanced detections page with date filters, CSV export, bulk actions
  • Added: WebDecoy Cloud settings tab (optional premium features)
  • Added: Cloud upsell sections throughout dashboard
  • Improved: Settings page restructured — Protection tab is now default
  • Improved: Dashboard widget with cloud intelligence upsell
  • Changed: CDN update checker gated behind WEBDECOY_SELF_HOSTED constant
  • Changed: Version bump to 2.0.0 signaling architecture change
  • Fixed: PHP 7.4 str_ends_with polyfill (already present)

1.3.8

  • Fixed: Removed no_plugins trigger (deprecated in modern browsers, caused false positives)

1.3.7

  • Version bump

1.3.6

  • Protection hooks only activate when API key is validated as active
  • E2E test compatibility

1.3.5

  • Security improvements and code hardening
  • Updated WooCommerce compatibility to 9.4
  • Performance optimizations for detection checks

1.3.0

  • Major performance improvements
  • Added bulk IP blocking/unblocking
  • Enhanced good bot detection (60+ bots)
  • Improved WooCommerce checkout protection

1.0.0

  • Initial release