CyberPulse — Advanced Security & Bot Protection
Real-time security firewall with IP blocking.
Install in
🛡️ CyberPulse (Cyber Pulse) is a powerful security firewall with IP blocking and whitelist that protects your website 24/7.
Every request is analyzed in real time. Bots, scanners, and attackers are blocked instantly — before they reach your site. The plugin detects suspicious behavior, blocks AI data collectors like GPTBot and ClaudeBot, and stops brute force attacks with automatic IP bans.
Why Choose Cyber Pulse:
- ⚡ Real-Time Protection — monitors every request and blocks threats instantly
- 🍃 Lightweight & Fast — minimal database load, logs stored in files with automatic cleanup
- 🌍 13 languages — Russian, English, German, French, Italian, Spanish, Portuguese, Dutch, Polish, Turkish, Chinese, Japanese, Korean
- 🚀 Easy to Use — install and protect your site in under a minute
- 🚫 Clean Interface — no third-party ads; a single, non-intrusive link to the optional PRO edition
- 🔗 Works with Caching — compatible with WP Rocket, W3 Total Cache, LiteSpeed Cache, and CDN services
Protection Features:
- 🤖 AI Scraping Protection — blocks GPTBot, ClaudeBot, PerplexityBot, CCBot, and other AI data collectors
- 🛡️ Server-level
.htaccessprotection — optional (opt-in) blocking of sensitive files and AI bots directly at the Apache/LiteSpeed level - 🔍 Multi-layer bot detection (15 independent checks plus a weighted score across User-Agent, HTTP headers, Referer, Accept-Language, browser headers and request behaviour)
- 🔐 Brute force protection — counts only real login POSTs and escalates through a punishment ladder: temporary block one-week IP ban subnet ban only after a confirmed mass attack
- ⚖️ Weighted bot score with a challenge band — weak signals together lead to a proof-of-work check instead of an outright ban, so corporate VPNs and privacy relays are not treated as bots
- 🧩 Verified-crawler table — every crawler User-Agent is bound to the domains and network (ASN) it may come from, so a forged “Googlebot” fails even with a matching reverse DNS name
- 🌍 IP Management — block IPs, subnets (/24), whitelist trusted addresses, detect visitor country by IP
- 📁 WordPress system files hiding — blocks access to wp-config.php, .env, .git, and other sensitive files
- ⏱️ Rate Limiting — configurable request limits to prevent DDoS and aggressive scraping
- ✅ IP Whitelist — manual and automatic (server IP, search engines, administrator IPs)
- 🔒 Force HTTPS redirect — automatic 301 redirect from HTTP to HTTPS with proxy-loop protection
- 🛡️ XSS attack protection — blocks cross-site scripting in requests
- 🧱 SQL injection detection — injection syntax in URLs and form data is blocked alongside the XSS check
- 🛡️ CSP headers with
X-Frame-Options— the browser is told which origins it may load from, so injected markup cannot pull in an attacker’s resource - ✂️ File editor lock — disables the built-in plugin/theme PHP editors (
DISALLOW_FILE_EDIT), a favourite target for a hijacked admin session - ⏱️ REST API rate limiting — the API cannot be walked as a bulk export (60 requests/min for guests, 300 for logged-in users)
- 🔎 404 scanner detection — blocks vulnerability scanners by excessive 404 errors
- 🔒 URL Firewall — manual path blocking for specific endpoints
- 👤 User-Agent blacklist with statistics — block specific bots by User-Agent
- 🔗 Referer verification — blocks suspicious requests without proper Referer header
- 📊 Security score dashboard — hourly attack histogram, fix recommendations
- 📧 Email alerts on attack spikes
- 📝 Event audit log — track logins, settings changes, and plugin activity
- 🎨 Dark & Light theme for admin panel
External Services
This plugin connects to external services to provide specific functionality.
🌍 IP Geolocation
* Local source: a bundled country table (252,603 prefixes) ships with the plugin. Most addresses are resolved from it with no network request at all.
* Remote fallback: ip-api.com, then ipwho.is, then ipapi.co — contacted only when an address is not in the bundled table.
* Purpose: Determines the visitor’s country for the statistics columns and the log
* Data sent: the visitor’s IP address, and only on that remote fallback
* When: a blocked request whose country is not cached yet, plus the background queue (WP-Cron). Results are cached for 7 days; a failed lookup is retried after 15 minutes.
* Terms of Service: https://ip-api.com/docs/legal
* Privacy Policy: https://ip-api.com/docs/legal
* The endpoint can be replaced with the cybersec_geo_endpoint filter.
🖥️ Server IP Detection
* Service: https://www.ipify.org/
* Purpose: Detects the server’s public IP address when it cannot be resolved from SERVER_ADDR or DNS
* Data sent: the caller’s IP address (the service returns nothing else, and it must see the address to answer). No site URL and no page data: an explicit User-Agent of CyberPulse Security/<version> is sent instead of WordPress’s default, which would carry the site address
* When: only when neither SERVER_ADDR nor DNS yields a usable public address, and at most once per 24 hours (result cached for a day). If the lookup fails, it is retried after one hour
☁️ Cloudflare IP Ranges
* Service: cloudflare.com (public IP list: https://www.cloudflare.com/ips-v4/ and /ips-v6/)
* Purpose: Verifies that a request really comes from Cloudflare before trusting CF-Connecting-IP
* Data sent: None (downloads a public list)
* When: When the Cloudflare header is present, cached for one day; a bundled fallback is used if the download fails
🔄 WordPress.org API
* Service: api.wordpress.org
* Purpose: Checks for WordPress core updates (security score feature)
* Data sent: None (standard WordPress update check)
* When: When the security score is calculated in the admin area
* Privacy Policy: https://wordpress.org/about/privacy/
Source Code
The original unminified developer source code is available inside the plugin package (in the .zip archive) or via the WordPress.org SVN repository.
Written by Joobi from the project's own listing. See the source page
5.9.2.0
- 🌍 New languages: Turkish, Dutch, and Polish added — bringing the total to 13 languages.
- 🔐 Fixed: the block page could be used to walk around the firewall. The 403 page carries a proof-of-work challenge, and passing it was treated as proof of good faith: the address got a 24-hour auto-whitelist entry — which the
.htaccessgenerator also turned into an edge exemption — plus a 24-hour transient that skipped every check in the firewall. A scraper could solve the challenge once and then browse unmolested for a day, and repeat that per address. The reward is now split by what a challenge can and cannot lift:- Not lifted: a permanent ban, an active temporary block, a blacklisted User-Agent, an AI-crawler signature, hidden-file probing (
.env,.git,wp-config), XSS and automated-tool signatures. Those are recorded evidence, and solving a challenge no longer erases them. A solved challenge also no longer clears a temporary block, so the punishment ladder cannot be walked out of through the block page. - Lifted, once, for a short window: only the weighted score band that produced the challenge page — the case the flow was built for, a real visitor whose connection looks like a datacenter.
- A challenge no longer writes a whitelist entry at all, so it can no longer reach the
.htaccessallow list. The exemption is a 15-minute transient, gated bycybersec_human_grace_is_safe(), which refuses it whenever any of the conditions above is true. Administrators unlocking a visitor from the emailed link are unaffected and still get their entry.
- Not lifted: a permanent ban, an active temporary block, a blacklisted User-Agent, an AI-crawler signature, hidden-file probing (
- ⚖️ The challenge now escalates instead of costing the same every time. The base difficulty rose from 4 to 5 hexadecimal zeroes (≈65k ≈1M hashes), and an address that keeps coming back for a new challenge pays more on each round after the second (up to 7). The first two are deliberately unescalated: one challenge is the normal experience for a legitimate visitor behind a corporate VPN or a shared mobile address, and punishing that would recreate the false positives the challenge band exists to prevent.
- 🧱 New: SQL injection detection. Request URLs and form data are checked for SQL injection syntax —
UNION SELECT,SELECT … FROM, stacked queries, time-based blind payloads (SLEEP,BENCHMARK,WAITFOR DELAY), hex literals,LOAD_FILEandINTO OUTFILE— in the same pass that already scanned for XSS, so both arrive through the same door and are checked together. Values are skipped unless they carry SQL punctuation, which keeps ordinary prose and passwords free of false positives; a match is logged with the signature that fired rather than a generic label. - ✂️ New: the built-in file editor can be turned off. The plugin and theme PHP editors are a direct route from a hijacked administrator session to code execution, and an edit leaves no trace in the security log. The plugin now sets
DISALLOW_FILE_EDIT(on by default) and hides both editor screens. ADISALLOW_FILE_EDITalready defined inwp-config.phpis respected, and the setting can be switched off. - 👤 User-Agent statistics can now be switched off. The per-User-Agent counters behind the “User-Agent: Blocking and Statistics” table were always collected, with no way to stop them or to see that they were being written at all. They now have their own card on the Protection tab, so a site that does not use the table can stop the writes, and the panel shows the current state. The table is capped at the 1,000 most frequent entries either way.
- ⏱️ New: REST API rate limiting. The batch endpoint had a limiter, but every other route was unlimited —
/wp-json/wp/v2/posts?per_page=100&offset=…could be walked page by page to mirror an entire site, and the API was the cheaper door than the HTML pages, which were already rate-limited. Guests are now limited to 60 requests per minute and logged-in users to 300. The block editor and the mobile apps stay well inside those numbers; a mirroring script does not. Whitelisted addresses, administrators and the server are exempt, and the limiter throttles rather than bans, so a legitimate integration that briefly exceeds the limit is not locked out.
5.9.1.9
- 🤖 Fixed: verified search engines could be blocked with 403. A crawler sends no
Accept-Languageheader, and the browser check treated that as a bot signature, so a genuine Googlebot or YandexBot could be refused. A declared crawler identity is now recognised as a legitimate client. Whether the address really belongs to that crawler is still verified against its network, so a forged User-Agent gains nothing. - 🗺️ Country lookups no longer need the network. The free build used to ask a third-party API for every country it displayed. It now ships the same bundled country table the PRO build uses (252,603 prefixes), so a visitor’s address is resolved locally and is only sent to a geolocation provider when it is not in the table.
- 🌍 Datacenter detection now covers real hosting address space. The plugin used to rely on a hand-written list of 256 prefixes, which recognised only 0.2% of Amazon AWS, 0% of Oracle Cloud, 0% of Cloudflare and 2.7% of Microsoft Azure addresses. It now ships a compact table built from live BGP announcements (38,353 prefixes), so a rented server is identified as one.
- 🎯 Fixed a wrong answer in the network lookup. BGP prefixes nest — a /21 can contain a /24 owned by a different operator. The search could return the enclosing network instead of the specific one, and could miss an enclosing network entirely when it sat far back in the table. It now applies the same “most specific prefix wins” rule a router uses, and reads the search window in one pass (9× faster: 0.3 ms per lookup).
- 🔄 The Chrome version floor is derived, not hardcoded. The old fixed value (130) silently stops matching as Chrome advances, which let scrapers advertising a newer version through while flagging fewer and fewer real browsers. The floor now follows the actual release cadence and stays correct without maintenance.
- 🛡️ Self-healing block table. If the temporary-block table disappears (migration, partial restore, host move), the cached “table exists” verdict now resets instead of repeating a database error on every request.
- 🧹 Cleaner uninstall. Now also removes the highest-permaban marker and the seen-version flag, so a reinstall does not inherit state that hides the first alert or the upgrade notice.
5.9.1.8
🛡️ Content-Security-Policy headers added. The browser is now told which sources it may load scripts, styles, frames and connections from, so injected code cannot pull in a resource from an attacker’s host. X-Frame-Options ships with it. Off by default, and deliberately permissive for HTTPS sources so CDNs and embedded players keep working.
5.9.1.7
- 🗄️ Temporary blocks now live in a dedicated database table instead of one option row. Every block is its own row, so two simultaneous blocks can no longer overwrite each other — previously the loser’s block simply disappeared. The upgrade copies the existing blocks into the table on the first admin visit; the option keeps being written as a mirror, so a rollback to an older build still finds every block, and if the table cannot be created the plugin falls back to the option and behaves exactly as before.
- ⚡ Temporary blocks: the expired-block cleanup now takes the write mutex before reading the list. Previously it scanned first and locked only the write, so a block created in between was overwritten by the stale snapshot.
- 🧹 Cleanup: removed eleven unused helper functions left over from earlier releases (old diagnostics, the pre-proof-of-work unblock-token generator, an unused UA-stats rebuilder). No behaviour change.
5.9.1.6
- ⚡ Faster sync: new or lifted temporary blocks mark the edge list as stale and schedule a sync within 30–60 seconds instead of waiting for the five-minute maintenance run.
- 🚀 Lightweight blocks: HEAD requests, empty User-Agents and command-line scanners (
curl,wget,python-requests,sqlmap,nmap, etc.) receive a plain403 Forbiddenunder 1 KB instead of the full branded block page. - ⚡ Rate limits: the absolute flood threshold is now 100 requests / 10 minutes, and datacenter addresses are limited to 30 / 10 minutes. Verified search engines, whitelisted addresses, administrators and the server itself stay exempt.
5.9.1.5
- 🔒 Security: Fake bots can no longer slip through. A crawler name in the User-Agent is no longer a free pass — known crawlers must come from their own domains and network (ASN), and spoofed search engines are rejected.
- 🔒 Security: Login page, XML-RPC, admin pages, and the REST API are now checked early. Previously the main protection layer never saw these requests.
- 🛡️ Data safety: Background code can no longer wipe permanent bans. Any automatic cleanup that would remove more than 25 records is refused and written to the audit log. Only an administrator can remove bans in bulk.
- ⚡ Speed: Obvious bots no longer pay for a full WordPress load — cheap checks run first.
- ⚡ Speed: Rate limits, flood counters, and log deduplication moved to a fast cache layer, so a busy site stops writing to the database on every page view.
- ⚡ Speed: Heavy admin files load only where they are needed, and dashboard counters are cached.
- 🎨 Interface: Unban and delete actions work without reloading the page — the row disappears, scroll position is kept, and results are announced politely instead of blocking alerts. Everything still works without JavaScript.
- 🎨 Interface: The Permaban tile updates instantly after an unban and shows a real breakdown of single addresses and ranges.
- ⚡ Rate limiting: the effective default is 20 requests per minute. Builds that stored the old 40 value are migrated to 20, because the duplicate check that used to halve it has been removed.
5.9.1.4
- 🎨 Major UI Overhaul: Completely redesigned the plugin interface to match the premium “CyberPulse” branding. Enjoy a refreshed dark theme and a fully reworked light theme with a refined color palette, polished grid backgrounds, smoother transitions, and improved overall visual stability.
- 🔒 Security: Prevented spoofed search engine User-Agents (e.g., fake Googlebot) from accessing sensitive files like .env, config.yml, or wp-config.php.bak. Hidden file pattern checks now run before the search bot whitelist.
- 🎨 Visual Log Analysis: Tracked page logs are now highly informative. IPs are highlighted in yellow, URLs in green, and Referers in blue for instant visual parsing.
- 🤖 Bot Detection: Added 9 Joomla/Drupal scanner signatures (
/administrator/components/com_*,/plugins/editors/*,/sites/default/*,/templates/system/*,/modules/mod_*, etc.) to the hidden-file scanner. Joomla-targeting bots that hit 404s on WordPress sites are now blocked at first request instead of being counted toward the 404 threshold. - ⚡ Reliability: Geo-location lookups now use a 5-second timeout (was 2s), so the geo-location service can respond under load without being incorrectly marked as down.
- 🐛 Fixed: Legit bot cache is now keyed by IP + User-Agent instead of just IP. This prevents a malicious scanner from inheriting whitelist status if it uses the same IP as a legitimate crawler.
- 🐛 Fixed: Flood attack auto-permaban now reliably triggers even if the repeat offender counter fails to increment due to DB race conditions. IPs exceeding the rate limit by 5+ requests are now instantly escalated to a permanent subnet ban.
5.9.1.3
- ⚡ Performance: Lowered the default Rate Limiting threshold from 60 to 40 requests per minute. Added a smart collapsible guide in the UI to help users choose the right value (with CGNAT and mobile carrier warnings).
- 🛡️ Custom Static 403 Page: When .htaccess protection blocks a bot, it now displays a beautifully styled cyberpulse-403.html page instead of the hosting provider’s default error page.
- 🔧 Better UX: Replaced the “Back to Home” button with a “Refresh Page” button on the static block page, which is more useful for temporary blocks.
- 🔒 New Free Feature: Force HTTPS 301 redirect with proxy-loop protection, full-width UI, and translations for all 10 supported languages.
5.9.1.2
- 🤖 AI bot protection is now configurable. Added two independent toggles so you control exactly what gets blocked.
- 🧠 AI Training Bots (default ON) — blocks GPTBot, CCBot, Google-Extended, ClaudeBot, Bytespider, Amazonbot, etc. They only download your content and never show your site to users.
- 🔍 AI Search Bots (default OFF) — blocks OAI-SearchBot, ChatGPT-User, PerplexityBot, Claude-User, Amzn-SearchBot, etc. They index your site for AI search engines. Enable this if you want the old strict behavior.
- 🆕 Expanded signature database — added new AI bots: DuckAssistBot (DuckDuckGo), Amzn-User (Amazon), Grok-DeepSearch (xAI), QwenBot (Alibaba), DeepSeekBot, xAI-Crawler, and cohere-training-data-crawler.
- 🛡️ New server-aware .htaccess panel: shows “Recommended: ON” on Apache/LiteSpeed with a writable file, warns clearly on nginx or read-only setups, and disables the checkbox when the feature cannot work.
5.9.1.1
- 🔒 Security: User-Agent validation rewritten — hardcoded Chrome version threshold replaced with behavioural verification (Sec-Fetch-*, Client Hints, Accept-Language).
- 🤖 Bot Detection: Added WebView whitelist (Instagram, Facebook, TikTok, Telegram, Snapchat, Pinterest, LinkedIn, WeChat, LINE, KakaoTalk, Viber, Twitter) to prevent false positives on mobile in-app browsers.
- ⚡ Reliability: Temporary blocks now survive
alloptionscache invalidation — fixes rare cases where a blocked IP was allowed again within seconds.
5.9.1.0
- 🔒 Security: AI scraper check now runs first, before the human-test window. Bots that pass the captcha once are still checked against AI signatures on every subsequent request. Admin IPs remain exempt.
- 🔒 Security: Request flood protection now issues temporary blocks for heuristic evidence (traffic spike, datacenter IP) and reserves permanent subnet bans for repeat offenders only — reduces false positives without weakening the protection.
- 🔒 Reliability: Server IP is now re-validated every 24 hours instead of being cached indefinitely. A hosting migration or proxy change is picked up automatically, and private/reserved addresses from reverse-proxy setups are rejected at every step.
- ⚡ Performance: Radically optimized admin panel loading by eliminating blocking GeoIP requests, implementing smart log reading (200KB) with a 1000-row display limit to prevent UI freezing (full files are still processed during download/copy).
- ⚡ Performance: Log writes are now ~50× faster on busy sites, with ~5× lower memory use during rotation. Leftover
.log.1files from older versions are cleaned up automatically.
5.9.0.9
- 🔒 Security & Feature:
.htaccessprotection is now opt-in (disabled by default) and managed via a new “AI Scraping Protection” settings block. The ruleset was also extended to block.git,.env,.sqldumps, and other sensitive files before PHP loads. - 🤖 Bot Detection: Unified and expanded detection logic — added 12 new AI bot signatures (Claude-User, xAI-Grok, etc.) and implemented Mac+Chrome antidetect checks to catch residential proxy bot farms. Also blocked fake GPTBot/ClaudeBot impersonation and scrapers masquerading as mobile apps (TikTokSpider, InstagramScraper).
- 🎨 UI: Brute Force panel now displays the full history of login attempts (active and inactive) with clear limit indicators.
5.9.0.8
- 🚀 Major Performance Boost: Complete dashboard overhaul — log files are now read only once, and CSS rendering optimizations allow you to smoothly view thousands of log rows without any lag.
- ⚡ Backend Optimization: Restored object caching for threat levels, top offenders, and UA statistics. Rate limiting is now working properly, and background tasks are safely throttled.
- 🎨 Interactive Dashboard: All cards (KPI and Pulse) are now clickable with smooth-scroll navigation to relevant sections. Added informative tooltips and replaced confusing percentages with clear numerical differences.
5.9.0.7
- 🔒 Search engine protection: Google, Yandex, Bing, Baidu, Apple, Meta, Telegram, Twitter, and Cloudflare subnets bypass permaban
- 🔒 Automated cleanup of search engine subnets from permanent block list
- 🔒 Instant-pass whitelist for verified search bots
- 🔒 Fake-UA guard: search bots with “Chrome/” in User-Agent fall back to regular checks
- 🔒 Subnet size guard: permaban skips subnets wider than /16 (IPv4) or /32 (IPv6)
- ⚡ Rate limiting and 404 detection skip verified search engine bots
- ⚡ Performance: merged whitelist checks into a single compact sanity check
- ✅ New helpers: cybersec_is_search_engine_subnet(), cybersec_purge_search_engine_subnets_from_permaban()
- 🎨 Complete UI redesign — cleaner, more professional interface across all admin tabs
- 🎨 New light theme “CyberPulse Daylight” — warm green palette, brand grid pattern, saturated accent, chunky shadows
5.9.0.6
- 🔒 Security: Fixed brute force protection bypass via
_wpnonceparameter - 🔒 Security: Fixed privilege escalation via whitelist
notefield — admin IPs now use explicitauto_typemarker - 🐛 Fixed: XSS check on AJAX human verification now reads raw request data
- 🐛 Fixed: Chrome parsers with fixed old builds now blocked
- ✅ Added: Extended bot UA blacklist (CVE-validators, unknown crawlers, NetAPI)
- ⚡ Performance: Cached
cybersec_check_ai_scraper()result within single request - 🧹 Cleanup: Activated
cybersec_sync_page_logs_stats()— page counters now auto-refresh every 5 min
5.9.0.5
- ✅ Added: Extended whitelist for search engines and monitoring services
- ✅ Added: Extended Yandex subnet list
- ✅ Added: Extended SQL injection patterns and audit logging
- 🔒 Security: Improved bot detection integrati
Follow this listing's changes (Atom feed)