Skip to content
Sign in
LC Anti-Spam Registration icon

LC Anti-Spam Registration

Prevent fake and automated bot registrations with lightweight honeypots, rate limiting, and intelligent username analysis.

Not scanned yet WordPress plugin

Install in

No install steps yet

Follow the steps on the source page.

LC Anti-Spam Registration provides comprehensive, multi-layer registration security and automated bot defense for WordPress. It prevents fake user accounts, spam registrations, and credential-stuffing bots from ever polluting your database β€” without frustrating real human visitors with annoying CAPTCHAs.

Whether you run a WooCommerce store, membership site, LMS portal, online community, or standard WordPress blog, automated bot registrations clog your database, skew conversion analytics, trigger unwanted transactional emails, and introduce severe security vulnerabilities.

LC Anti-Spam Registration operates at the gate: it evaluates registration requests in real time using lightweight behavioral honeypots, human timing algorithms, disposable email detection, and intelligent username pattern heuristics.

πŸ›‘οΈ Core Defensive Capabilities

  • Invisible Honeypot Trap β€” Injects invisible fields into registration forms that automated bots inevitably fill out, instantly trapping and discarding malicious attempts without disturbing genuine users.
  • Human Form-Timing Verification β€” Measures registration submission velocity. Bots submit forms within milliseconds; human users take time to type. Requests submitted below human speed thresholds are safely denied.
  • Algorithmic Username & Pattern Scoring β€” Analyzes username entropy to detect machine-generated bot accounts (e.g. random consonant strings, suspicious character distributions, and algorithmic digit sequences).
  • Disposable & Temporary Email Defense β€” Blocks registrations from known temporary inbox providers, throwaway domains, and malformed email patterns.
  • Registration Rate Limiting & Dynamic IP Firewall β€” Imposes strict request thresholds per IP address. Bursts of rapid registration attempts are automatically throttled and blocked before server resources are consumed.
  • Brute-Force Login & Credential-Stuffing Protection β€” Monitors and mitigates aggressive login probes and dictionary attacks across wp-login.php and registration endpoints.
  • Retrospective Spam Account Scanner β€” Deep-scans your existing user database to identify dormant, unverified, or bot-generated accounts registered before plugin activation.
  • Registration Burst Cohort Review β€” Identifies coordinated mass-registration attack waves across specific calendar windows. Allows administrators to inspect suspicious cohorts with granular activity metrics before taking action.
  • Administrator Shield & Role Safelisting β€” Hardcoded immunity for Administrator and Editor roles, plus a flexible custom safelist to guarantee zero accidental deletions of trusted staff, students, or clients.
  • Interactive Quick Setup Guide β€” Step-by-step onboarding tracker directly on the Overview dashboard to arm registration defense, rate limiting, and firewall shields in seconds.
  • ManageWP & Remote Maintenance Compatibility β€” Cryptographically verifies signed master requests from remote management tools (such as ManageWP Worker) so automated backups and updates are never falsely rate-limited or blocked.
  • 100% Privacy-First & GDPR Compliant β€” All security evaluations and detection heuristics run entirely on your local server. Zero external API calls, zero visitor tracking, and built-in integration with WordPress Personal Data Exporter & Eraser tools.
  • Academic Research Citation β€” Based on published research: β€œAlgorithmic Mitigation of Asymmetric Bot Registration Attacks and Credential Stuffing in High-Concurrency CMS Ecosystems” (Light & Composition University Academic Journal, Vol. 14, Issue 3, Pages 65–96).

Written by Joobi from the project's own listing. See the source page

anti-spambot protectionhoneypotregistrationsecurity
30 Nov 2026
Version 1.4.23 released. Not scanned yet.

1.4.23 (November 29, 2026) – Hotfix: Cloudflare IPv6 & Proxy CIDR Resolution and Zero-Write Public GET Firewall

  • IPV6 & REVERSE-PROXY CIDR SUPPORT (includes/class-firewall.php): Upgraded LCASR_Firewall::ip_in_range() to binary inet_pton() IPv4 + IPv6 CIDR matching and expanded is_trusted_proxy() to include official Cloudflare IPv6 CIDRs, RFC1918/ULA internal reverse-proxy ranges, and SERVER_ADDR, preventing IPv6/proxied visitors from collapsing onto one shared proxy IP and triggering mass HTTP 429 retry storms.
  • MYSQL wp_options LOCK ELIMINATION (includes/class-firewall.php): Added should_track_rate_limit() so ordinary public GET/HEAD pageviews skip wp_options transient rate-limit writes when no external object cache is active, while keeping IP blocking active on all requests and rate limiting active on POST, wp-login.php, xmlrpc.php, REST, and AJAX endpoints (and all requests when Redis/object cache is active).

1.4.22 (November 29, 2026) – Security Hardening: Proxy Header Verification, ManageWP & Timer Token Enforcement

  • TRUSTED PROXY IP VERIFICATION (includes/class-firewall.php): Restricted HTTP_CF_CONNECTING_IP and HTTP_X_FORWARDED_FOR inspection in LCASR_Firewall::get_client_ip() strictly to connections whose direct REMOTE_ADDR matches an explicitly trusted proxy/Cloudflare CIDR (lcasr_trusted_proxies), and scoped loopback exemption in check_request() strictly to genuine local REMOTE_ADDR requests.
  • MANAGEWP HEADER SPOOFING FIX (lc-anti-spam-registration.php): Removed the unverified HTTP_MWP_ACTION / HTTP_MWP_SIGNATURE header firewall exemption (ManageWP IPs can be allowlisted cleanly via lcasr_trusted_ips).
  • ANTI-BOT TIMER TOKEN ENFORCEMENT (includes/class-spam-detector.php): Required a valid non-empty HMAC lcasr_form_token whenever registration_start_time is evaluated so omitting lcasr_form_token fails velocity verification cleanly.

1.4.21 (October 1, 2026)

  • LOOPBACK & TRUSTED IP RATE-LIMIT EXEMPTION β€” Automatically exempted IPv4 and IPv6 loopback addresses (127.0.0.1, ::1) and configured trusted IPs (lcasr_trusted_ips) from the rate-limiting firewall in check_request(), completely preventing local developer and staging traffic from triggering false-positive HTTP 429 Too Many Requests errors.

1.4.20 (September 18, 2026)

  • AUTHENTICATED MEMBER RATE-LIMIT EXEMPTION β€” Exempted is_user_logged_in() from check_request(), ensuring logged-in subscribers, customers, students, and community members browsing tabs or using real-time features (chat lounges, presence heartbeats) are never throttled or blocked.
  • RATE LIMITING THROTTLE VS PUNITIVE 24-HOUR BLACKLIST β€” Eliminated permanent 24-hour IP blacklisting ($this->block_ip()) from request rate limiting. Breaches now return a clean, temporary HTTP 429 status with Retry-After: 60 and nocache_headers(), allowing visitors to resume access automatically once requests subside without administrative intervention. Permanent 24-hour IP blocks are strictly reserved for brute-force login attacks and manual admin bans.
  • CLOUDFLARE & REVERSE PROXY IP RESOLUTION β€” Upgraded get_client_ip() to inspect HTTP_CF_CONNECTING_IP and HTTP_X_FORWARDED_FOR, preventing visitors behind Cloudflare or reverse proxies from sharing edge IPs and triggering shared false-positive blocks.
  • REAL-TIME POLLING & HEARTBEAT SAFEGUARDS β€” Automatically exempted WordPress AJAX heartbeats (action === 'heartbeat') and background CLI/cron jobs, and raised default request threshold to 120 requests per 5-minute window for unauthenticated traffic.

1.4.19 (September 14, 2026)

  • FLAGGED USER EMAIL VISIBILITY & FORENSIC REVIEW β€” Enhanced the Flagged Accounts review table to ensure administrators can always see and verify user emails before deciding to delete or safelist accounts.
  • EXPLICIT β€œEMAIL MISSING” STATUS BADGE β€” Added a high-contrast warning badge (Email missing) when accounts have no registered email address in WordPress or metadata (e.g. legacy social/Facebook registrations without email scopes), eliminating confusing blank table cells.
  • WOOCOMMERCE BILLING EMAIL FALLBACK β€” Added automatic fallback resolution from billing_email in usermeta with a dedicated billing source badge, preventing legitimate store customers from being mischaracterized as email-less accounts.
  • CLICKABLE EMAIL & USER PROFILE INSPECTION β€” Formatted valid emails with clickable mailto: links with dashicons and made user display names clickable directly to /wp-admin/user-edit.php for instant forensic inspection.
  • SENSEI LMS STUDENT & SOCIAL LOGIN DETECTION β€” Integrated account origin and LMS enrollment tracking (Enrolled (N courses), Social Login) directly into the review tags, protecting active students and social login members from accidental deletion.
  • RETROSPECTIVE SCAN STUDENT IMMUNITY β€” Hardened check_existing_user() to exempt active Sensei LMS students and use effective billing emails during scans, eliminating false-positive flags on legitimate members.

1.4.18 (September 14, 2026)

  • USER CACHE PRIMING COMPATIBILITY β€” Implemented canonical lcasr_prime_user_caches() cache priming helper, safely delegating to core _prime_user_caches() or falling back to cache_users() and update_meta_cache(). Resolves unhandled fatal error on live WordPress sites during full user directory scans.
  • SCANNER MEMORY BOUNDING & CHUNK OPTIMIZATION β€” Replaced monolithic upfront cache priming in scan_all_users() with bounded chunking (100 users per batch) and per-record runtime memory eviction via clean_user_cache(), eliminating memory exhaustion crashes across high-capacity user directories.
  • AJAX SCAN ERROR HANDLING HARDENING β€” Wrapped handle_manual_scan() and handle_manual_cleanup() in try / catch (\Throwable) blocks to return structured JSON error payloads, preventing raw HTTP 500 crashes and providing actionable admin notifications.

1.4.17 (September 13, 2026)

  • IP RATE LIMITING, BRUTE FORCE & DYNAMIC FIREWALL HARDENING (PIPELINE 3) β€” Completed end-to-end audit and hardening of the request rate limiter, brute-force login monitor, and dynamic IP firewall engine.
  • CRITICAL BRUTE-FORCE SECURITY LOOPHOLE CLOSED β€” Closed critical security flaw in handle_failed_login() where brute-force login attacks against administrator accounts were erroneously bypassed from failure counters. Untrusted IPs targeting administrator or regular accounts are now strictly tracked and blocked once the failure threshold is met.
  • SUCCESSFUL AUTHENTICATION RESET β€” Added handle_successful_login() hook on wp_login to immediately purge transient failed-login attempts upon valid password entry, eliminating false-positive lockouts from previous typographical errors.
  • IMMEDIATE 429 RESPONSES ON RATE-LIMIT FLOODS β€” Updated check_request() to immediately halt execution with HTTP 429 Too Many Requests status when the rate limit is exceeded, preventing abusive traffic from consuming server CPU rendering time.
  • CRON & CLI EXECUTION SAFEGUARDS β€” Added execution safeguards to automatically exempt wp_doing_cron() and WP-CLI (WP_CLI) from rate-limiting and blocking.
  • PUBLIC INSPECTION & UNBLOCK APIS β€” Converted is_ip_blocked(), block_ip(), and get_client_ip() to public APIs; implemented unblock_ip() and get_blocked_ips() for administrative control and contract test verification.
  • DUAL HOOK EMISSION & EXEMPTION PARITY β€” Supported both lcasr_firewall_request_exempt and sad_firewall_request_exempt, and emit both lcasr_ip_blocked/sad_ip_blocked and lcasr_ip_unblocked/sad_ip_unblocked.
  • AUTOMATED SECURITY EMAIL NOTIFICATION β€” Added administrative email alert dispatch via wp_mail() when option lcasr_notify_admin_brute_force is active and an attacker is blocked.

1.4.16 (September 13, 2026)

  • ALGORITHMIC USERNAME ENTROPY & DISPOSABLE EMAIL DEFENSE (PIPELINE 2) β€” Completed full audit and hardening of the algorithmic username entropy and disposable inbox defense engines.
  • SHANNON ENTROPY CALCULATION β€” Implemented calculate_entropy() computing information entropy H(X) in bits per character to mathematically distinguish machine-generated pseudo-random identifiers from genuine human choices.
  • FALSE-POSITIVE HUMAN COMPOUND ELIMINATION β€” Fixed critical registration-blocking bug where legitimate human names and compound nouns (christopher, alexsmith, blacksmith, manchester, birmingham, strathmore, williamson) were erroneously denied registration due to broad consonant cluster boundaries. Refined heuristics with natural English trigraph detection (chr, str, tch, cks, mth, nch, ngh, etc.) and tightened vowel scarcity thresholds.
  • DISPOSABLE EMAIL PROVIDER CATALOG & SUBDOMAIN MATCHING β€” Added get_disposable_email_domains() providing a comprehensive 40+ provider catalog with filter lcasr_disposable_email_domains and wildcard subdomain defense (*.mailinator.com, etc.).
  • PRE-REGISTRATION DISPOSABLE EMAIL INTERCEPTION β€” Added proactive blocking in check_registration_limits() with lcasr_disposable_email_blocked audit action trigger before user records touch the database.
  • SUSPICIOUS EMAIL STRUCTURE HEURISTICS β€” Hardened is_suspicious_email_structure() with sub-addressing abuse detection (+temp..., +987654321) and high-risk TLD pattern heuristics with filter lcasr_is_suspicious_email_structure.
  • PCRE UNAMBIGUOUS CAPTURE GROUPS β€” Standardized regex backreferences to PCRE \g{1} and \g{2} syntax across doubled-vowel detector routines to eliminate string escape ambiguities across PHP versions.

1.4.15 (September 13, 2026)

  • REGISTRATION BOT TRAP & BEHAVIORAL TIMING HARDENING (PIPELINE 1) β€” Fully audited and hardened the registration bot trapping and submission velocity verification engine.
  • CRYPTOGRAPHIC ANTI-TAMPERING TIMING TOKENS β€” Injected server-signed verification tokens (wp_hash('lcasr_time_' . $start_time)) alongside registration timestamps to prevent malicious bots from forging past timestamps.
  • WOOCOMMERCE & MULTISITE PROTECTION PARITY β€” Extended honeypot injection and human velocity verification hooks to woocommerce_register_form, woocommerce_process_registration_errors, and signup_extra_fields.
  • ACCESSIBLE HONEYPOT MARKUP β€” Added hidden accessible <label> markup and filterable honeypot field names (lcasr_honeypot_field_name) for zero screen reader impact and customizable obfuscation.
  • SCRAPER & HEADLESS BROWSER DETECTION β€” Expanded automated client blocking to intercept empty User-Agents and modern scraper frameworks (scrapy, aiohttp, headlesschrome) with filterable pattern overrides (lcasr_bot_ua_regex).
  • THREAT AUDIT ACTION HOOKS β€” Added lcasr_honeypot_triggered, lcasr_registration_timing_failed, and lcasr_bot_ua_blocked action triggers for threat logging and Pro telemetry integration.
  • REGISTRATION QUOTA BOUNDING β€” Capped in-memory registration tracking arrays to 500 items max to guarantee zero database option table bloat under high concurrency.
  • DUAL BOOTSTRAP COMPATIBILITY HOOKS β€” Attached both lcasr_base_plugin_ready and sad_base_plugin_ready to guarantee instant synchronization with Pro add-ons and legacy integrations.

1.4.14 (September 13, 2026)

  • WORDPRESS.ORG COMPLIANCE & PREFIX HARMONIZATION β€” Systematically refactored all class names, constants, functions, options, AJAX endpoints, and filter/action hooks to the approved 5-character plugin prefix lcasr_ / LCASR_, eliminating the generic 3-character sad_ prefix.
  • TESTED UP TO 7.1 β€” Verified and validated compatibility against WordPress 7.1 core standards.
  • ASSET & NAMESPACE CONSOLIDATION β€” Renamed core component classes to LCASR_Spam_Detector, LCASR_Spam_Cleaner, LCASR_Firewall, LCASR_Privacy, LCASR_Dashboard_Widget, and LCASR_Admin_Interface.
  • AJAX & SCRIPT STANDARDIZATION β€” Updated admin AJAX handlers and localized script object to lcasrAjax with lcasr_admin_nonce.
  • UPGRADE MIGRATION β€” Added seamless backward-compatible options migration for existing installations upgrading from previous releases.

1.4.13 (September 8, 2026)

  • SAFELIST RETRIEVAL QUERY OPTIMIZATION β€” Added user cache priming (_prime_user_caches()) in get_safelist(), eliminating N+1 database queries when loading safelisted accounts in the admin console.
  • FLAGGED ACCOUNTS METADATA BATCH PRIMING β€” Integrated update_meta_cache('user', $page_ids) across paginated slices in get_flagged_accounts(), fetching spam scores, reasons, and marked dates in a single bulk query rather than 60 separate queries per page.
  • SAFELIST AUDIT NOTIFICATION HOOKS β€” Added lcasr_user_safelisted and lcasr_user_removed_from_safelist alongside legacy sad_* action hooks for audit trails and activity feeds.
  • DASHBOARD WIDGET CAPABILITY HARDENING β€” Restricted widget registration, stylesheet enqueueing, and content rendering strictly to administrators with manage_options capability.
  • PATH STANDARDIZATION & DOUBLE-SLASH PREVENTION β€” Standardized asset URLs and filesystem paths to modern LCASR_PLUGIN_DIR / LCASR_PLUGIN_URL with rtrim(), eliminating malformed double-slash asset links.
  • QUICK SETUP AJAX FAILURE RECOVERY β€” Added .fail() network error recovery handlers to the interactive Quick Setup checklist toggles, preventing controls from getting trapped in busy state during server disruptions.

1.4.12 (September 8, 2026)

  • AUTOMATED CLEANUP EXECUTION SAFEGUARDS β€” Added @set_time_limit(120) and wp_raise_memory_limit('admin') to cleanup_spam_accounts(), preventing script timeouts and memory exhaustion during automated background cron cleanups on large candidate pools.
  • DUAL STATS TRANSIENT INVALIDATION β€” Synchronized cache purging to clear both lcasr_cleanup_stats and legacy sad_cleanup_stats on single deletions, batch purges, and manual scans.
  • ACCOUNT DELETION ACTION HOOKS β€” Added lcasr_spam_user_deleted and sad_spam_user_deleted notification actions to allow audit loggers and Pro add-on hooks to record user removals.
  • DUAL CAN-DELETE & ROLE FILTERS β€” Added modern lcasr_can_delete_user and lcasr_protected_roles filter bridges alongside legacy sad_* hooks in the cleanup candidate pipeline.
  • SCHEDULED CLEANUP HOOK PARITY β€” Attached scheduled cleanup handler to both lcasr_cleanup_spam_accounts and legacy sad_cleanup_spam_accounts.

1.4.11 (September 8, 2026)

  • EMAIL LOGIN BRUTE-FORCE LOCKOUT PREVENTION β€” Enhanced handle_failed_login() with is_email() check and email-based user resolution, preventing false-positive IP bans when administrators or staff log in using their email address.
  • SAFELIST LOGIN IMMUNITY β€” Extended failed login protection to bypass rate-limiting and blocking for users explicitly included in the administrator safelist.
  • FIREWALL EXEMPTION FILTER PARITY β€” Upgraded check_request() to evaluate both modern lcasr_firewall_request_exempt and legacy sad_firewall_request_exempt filter hooks.
  • IP BLOCKING NOTIFICATION HOOKS β€” Added lcasr_ip_blocked and sad_ip_blocked action triggers upon dynamic IP blocks for integration with live threat analytics.
  • LOCAL IP FIREWALL BYPASS β€” Guarded firewall rate-limiting and failed-login transient generation against placeholder 0.0.0.0 addresses, preventing transient bloat and false blocks during local development and CLI testing.
  • STALE BLOCK PRUNING CONSISTENCY β€” Fixed timestamp evaluation in block_ip() to prune legacy entries without timestamps, maintaining full parity with is_ip_blocked().

1.4.10 (September 8, 2026)

  • HONEYPOT ACCESSIBILITY & OBFUSCATION β€” Enhanced honeypot markup with aria-hidden="true" and multi-technique CSS concealment (position: absolute; left: -9999px; opacity: 0; width: 0; height: 0;), thwarting smart bot evasion while protecting assistive screen readers.
  • TYPE SAFETY & PROTECTED ROLE DEFENSE β€” Hardened check_login_attempt() with WP_User instance verification and is_protected_user() checks, preventing PHP runtime errors from third-party auth plugins and guaranteeing administrator/editor immunity.
  • DUAL ACTION HOOK PARITY β€” Added lcasr_spam_detected and lcasr_suspicious_login action hooks alongside legacy sad_* equivalents for complete forward compatibility across modern extensions.
  • EXTENSIBLE COHORT & REGISTRATION FILTERS β€” Added modern lcasr_* filters for avatar detection, profile content completeness, member activity metrics, and registration rate limits with legacy fallback.
  • OPTIONS AUTOLOAD & LATENCY RESOLUTION β€” Explicitly configured autoload = false for large option stores (sad_registration_records, sad_spam_detection_log, sad_spam_training_data), eliminating massive database array bloat from the global alloptions cache and reducing frontend page latency.
  • LOCAL IP THROTTLING GUARD β€” Added placeholder 0.0.0.0 exclusion in registration rate limiting to prevent false-positive throttling on CLI environments.
  • LEGACY USERMETA PARITY β€” Synchronized sad_markeddate along
16 Sep 2026Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)