Enterprise-Grade WordPress Malware Detection, Web Application Firewall (WAF), Core Integrity Auditing & Forensic Threat Intelligence
Current release metadata:
{"version": "0.0.1"}
WebCare Pro Security & Firewall is a modern, high-performance WordPress security, malware detection, and forensic auditing plugin engineered by Mir Alamin (WebCare Pro).
Note
Active Engineering & Senior Architecture (v0.0.1 β WordPress 7.0+ & PHP 8.3+)
WebCare Pro Security & Firewall is actively developed and battle-tested by solo engineer Mir Alamin. Designed for shared cPanel hosting and high-traffic sites alike, it uses filesystem-first zero-SQL logging (/webcare-waf/), instant Cloudflare Edge ban offloading (CF Ban), and memory-safe streaming engines.
Unlike heavy, bloated security plugins that degrade server performance with background overhead, WebCare Pro Security & Firewall combines memory-safe PHP batch auditing engines with a responsive React 18 single-page administrative dashboard. It provides deep insight into your file system, WordPress core integrity, plugin and theme source code, database tables, cron jobs, active administrative sessions, runtime memory hooks, and server configurationsβgiving developers, sysadmins, and site owners complete visibility and control over their WordPress security posture.
Important
Zero Plaintext Credentials in Database or SQL Backups with Authenticated AEAD Encryption.
Unlike typical WordPress security plugins that store third-party API keys and incoming webhooks as raw plaintext inside wp_options, WebCare Pro Security & Firewall implements a dedicated Enterprise AES-256-GCM Authenticated Cryptographic Secret Vault. Every webhook URL, Cloudflare API token, AI key, and 2FA user secret is encrypted at rest using modern Authenticated Encryption with Associated Data (AEAD), 128-bit integrity authentication tags, randomized 12-byte initialization vectors (random_bytes(12)), and dynamic 256-bit key derivation with optional server-level WEBCARE_VAULT_KEY environment isolation.
| Security Dimension | Standard WordPress Plugins | WebCare Pro Security Vault |
|---|---|---|
Database Storage (wp_options) |
β Plaintext strings visible to anyone with database access | β
AES-256-GCM Authenticated Ciphertext (webcare_gcm:...) |
| Tamper & Bit-Flip Resistance | β None (or vulnerable to CBC padding oracle attacks) | β 128-bit Cryptographic Authentication Tag (tampering rejected immediately) |
| SQL Dumps & Database Backups | β Secrets exposed in plain text if backup files are compromised | β Completely unreadable encrypted strings |
| phpMyAdmin & SQLi Exposure | β Scraped easily via unauthorized database queries | β Zero plaintext credential leakage |
| Encryption Keys & Salting | β Static hardcoded strings or unencrypted options | β
Derived from WP Salts (AUTH_KEY, AUTH_SALT, SECURE_AUTH_KEY) or dedicated WEBCARE_VAULT_KEY |
| Key Isolation (DevOps) | β Tied solely to database or webroot | β
Supports isolated WEBCARE_VAULT_KEY in server environment outside webroot |
| Initialization Vectors (IV) | β Static or reused IV vectors | β Cryptographically random 12-byte IV generated per record |
| Decryption Lifecycle | β Persisted in plain text on memory or disk | β Transient in-memory decryption ONLY during active API/webhook calls |
| Admin UI Visibility | β Plaintext input fields or visible strings | β
Auto-masked bullet placeholders (β’β’β’β’β’β’β’β’) with 1-click eye toggle |
WebCare Pro Security & Firewall combines lightweight, memory-efficient PHP 8.3+ streaming engines with a modern React 18 single-page cockpit. While the plugin spans 100+ specialized security subsystems (documented exhaustively in features.md), these 18 core pillars represent the heart of its defense model:
- Dynamic Security Health Score: High-precision circular SVG meter displaying your live security posture (0β100%) and letter grade (A+ through F).
- 3-Pillar Threat Metrics: Real-time summary cubes categorizing threats into Critical Exploits, Code Drift/FIM, and Software CVEs with 1-click filtering.
- Dual Interface Modes: Seamlessly switch between Essential Mode (streamlined, distraction-free protection for site owners) and Advanced SOC Mode (deep telemetry, AST dumps, and MCP controls for sysadmins).
-
Hierarchical Resumable Cursor: O(1) disk queue traversal eliminating
$O(N^2)$ filesystem loops on large sites, maintaining flat ~15β25MB batch RAM usage. -
Source-to-Sink AST Taint Flow Analyzer: Token-level dataflow tracking (
token_get_all()) that traces untrusted input from sources to execution sinks, catching 2026 AI-crafted polymorphic webshells that evade static signatures. - Cryptographic Core Integrity: Bit-for-bit validation against official WordPress.org MD5 checksum APIs for WordPress Core, themes, and plugins.
- Stack-Aware Dynamic Gating & CompiledStackManifest: Profiles active plugins/themes only on lifecycle hooks into OPcache-resident
site-manifest.php, booting only the required evaluators (ProtocolAndBotEvaluator,AuthAndAjaxSurfaceEvaluator,CommerceAndUploadEvaluator,AiAgentBehaviorEvaluator, andAffiliateShieldEvaluator) perRouteClass. - Affiliate Ecosystem Shield & Click-Fraud Armor (Rule #43): Auto-detects AffiliateWP (and official add-ons), SliceWP, Solid Affiliate, Easy Affiliate, Ultimate Affiliate Pro, and YITH WooCommerce Affiliates β throttling referral click-floods, inspecting
?ref=/?aff=/?sld=payloads, verifying Direct Link referers, and blocking disposable affiliate registration emails without loading when inactive. - Zero-False-Positive Runtime SQL RASP: Strips SQL comments and unwraps MySQL conditional comments (
/*!50000...*/) before AST inspection, while verifying legitimaterealpath()-backed WordPress Core/Plugin/Theme schema introspection and internal option reads so normal site operations never trigger false RASP alerts. - Deterministic First-Hit Banning & Invisible PoW: Critical exploits trigger instant bans on hit #1 while verified WooCommerce/EDD/Membership sessions and CGNAT traffic route gracefully through invisible WebCrypto Proof-of-Work before soft challenges.
- Pre-Calibrated Allowlist Library & Dual-Mode Governance: Verified enterprise integrations (WooCommerce, Stripe, PayPal, Jetpack, Gutenberg, CRM webhooks) plus developer control via
wp-content/webcare-policy.phpand WP-CLIwp webcarecommands.
- Query Smuggling & Method Override Guard (Rule #48): Normalizes
?rest_route=query routing across WAF engines and blocks unauthenticated HTTP method overrides (_method=DELETE,X-HTTP-Method-Override). - Auth Array Type-Confusion Trap (Rule #49): Intercepts non-scalar array submissions (
user_login[]=admin,pwd[]=,key[]=) to prevent PHP 8+TypeErrorcrashes and auth bypasses. - Unauthenticated Gadget Chain Defense (Rule #50): Detects unauthenticated shortcode parse requests and serialized callable gadgets (
["System", "exec"]) targeting builder RCE chains. - WordPress 7.0+ Interactivity & Block Bindings Shield (Rule #51): Guards
data-wp-*directives against prototype pollution and sanitizes block bindings to sensitive metadata. - Payment Gateway Webhook Trap (Rule #52): Deep-packet verification blocking forged
Stripe-SignatureorPayPal-Transmission-Sigwebhooks originating outside official gateway CIDRs/ASNs. - Sensitive Log & Exfiltration Instant Ban (Rule #53): Instant 1st-hit 24h ban on probes targeting
/wc-logs/,php_errorlog,.env.*,.svn/wc.db,auth.json, orRange: bytes=exfiltration. - Decompressed
.svgzPolyglot Upload Trap (Rule #54): In-memorygzdecode()inspection stopping compressed webshells, XML entity bombs, and polyglot images before filesystem write.
- Asynchronous Webhook Customer IP Extraction: Resolves authentic customer IPs directly from
$orderrecords during asynchronous webhook status updates (Stripe, PayPal, Mollie, Klarna, 3DS), guaranteeing gateway IPs are never locked out. - Carding & Checkout Velocity Deduplication: Deduplicates failed payment tracking per request, eliminating 2xβ4x double-counting and false under-attack lockdowns.
- WooCommerce Block Checkout & Store API Security: Protects
/wp-json/wc/store/v1/checkout,/apply-coupon, and/productsscraping with full batch request inspection. - Tuned Coupon Velocity with Active Cart Leniency: 8-attempt baseline with +4 extra attempts for genuine shoppers holding active cart cookies/sessions.
- Order Notes & Complex Passwords False-Positive Elimination: Context-aware XSS matching that allows benign customer delivery notes (e.g., "leave on back porch") without triggering WAF blocks.
- Zero-Resource Edge Protection: Consolidates enterprise protection into exactly 4 Master Wirefilter Rules on Cloudflare's Free Plan, leaving 1 custom rule slot 100% free for site owner rules.
- Automattic Jetpack Smart Pass: Intelligently routes
/xmlrpc.phpto origin so verified Automattic Jetpack sync works seamlessly while dropping malicious brute-force attempts. - Zero-Latency Post-Response Push: Flushes HTTP 403 responses instantly to attackers via
fastcgi_finish_request()while offloading IP bans to Cloudflare Edge in the background. - Bi-Directional Unban Sync: Unbanning an IP locally in WordPress immediately purges matching Zone IP Access Rules and Account IP Lists on Cloudflare Edge.
- Core Option Tampering Guard: Intercepts unauthenticated runtime tampering targeting
admin_email,users_can_register,default_role,siteurl,home, andactive_plugins. - Privilege Escalation Interceptor: Immediately blocks unauthorized attempts to promote users to
administratororeditorroles withoutmanage_optionscapability. - Unauthorized Admin Registration Trap: Detects guest registration workflows attempting to birth accounts with administrative roles and forces demotion to subscriber.
- Direct User Meta Privilege Trap: Traps raw SQL or REST metadata injections targeting
wp_capabilities,wp_user_level, or_application_passwords. - Test Harness Sandbox Immunity: Full compatibility with WordPress Plugin Check (PCP) sandboxed execution, ensuring compliance tests never trigger false privilege alerts.
- Official Release Mirrors: Surgically restores altered core, plugin, and theme files back to clean, official WordPress.org release packages with 100MB streaming limits, 10MB per-entry caps, and CRC-32 integrity validation.
- Non-Destructive Webshell Stripping: Neutralizes obfuscated code blocks and malicious headers while preserving legitimate file customizations with tokenizer syntax verification.
- Pre-Cure Safety Snapshots: Generates timestamped Gzip backups in the WebCare Vault before any file remediation, enabling instant 1-click rollbacks.
- Zero Plaintext Credentials in Database: All API tokens (Cloudflare, AI keys, webhooks, 2FA secrets) are encrypted at rest with military-grade AES-256-GCM AEAD encryption.
- Tamper-Evident Authentication Tags: 128-bit authentication tags and unique 12-byte initialization vectors per record protect against bit-flipping and database dumps.
- Two-Phase Key Rotation: Zero-downtime state machine for rotating master encryption keys with isolated
WEBCARE_VAULT_KEYserver environment variable support.
- Ghost Admin Canary User Tripwire: Provisions a dormant, invisible
webcare_canary_admininwp_userswith an impossible password hash to catch database dump leaks. - Database Honey-Tokens: Decoy options (
_webcareproscan_canary_*) with fake API keys instantly ban any SQL-injection intruder who attempts to read them. - AI Prompt-Injection & Jailbreak Guard: Strips invisible Unicode steganography and ChatML/LLaMA delimiter escapes from comments, reviews, and WooCommerce order notes.
- AI SEO & GEO Shield: Monitors
/llms.txtfeeds against cryptographic baselines and detects transparent CSS text cloaking and JSON-LD schema toll-fraud.
- W3C WebAuthn Passwordless Ceremony: Native Windows Hello, Apple Touch ID/Face ID, Android Biometrics, and FIDO2 USB keys for 100% phishing-immune login.
- Pure PHP RFC 6238 TOTP 2FA: High-security HMAC-SHA-512 and SHA-1 two-factor authentication compatible with Google Authenticator, 1Password, and YubiKey.
- REST Application Password Shield: Mandatory Step-Up 2FA on
authorize-application.phpblocks 1-click token consent phishing traps.
- Dual-Layer Authenticated Encryption: Encrypts administrator session records and complete IP access histories across both WordPress user meta and an isolated, HMAC-sealed
.wcpvaultfile. - Account-Based Consolidation: Consolidates multiple active sessions and connected devices per administrator account with collapsible device cards.
- 30-Day Forensic Retention Invariant: Prevents deletion of active and recently active sessions (<30 days) to protect historical audit trails against tamper and premature purging.
- Deep Egress Filtering: Intercepts outbound cURL and socket connections, blocking internal service ports (MySQL 3306, Redis 6379, Memcached 11211, Docker 2375) and cloud metadata (
169.254.169.254). - Verified Loopback Self-Communication Parity: Automatically permits legitimate WordPress Core self-requests (Site Health HTTPS check, Page Cache test, REST query-string validation
index.php?rest_route=..., andwp-cron.php) and internal diagnostics.
- Live Engine Mode Display & 16 Managed Crons: Displays live WP-Cron engine state (
NativevsDISABLE_WP_CRON), automatically reschedules overdue jobs fresh into the future, and supports 1-click Run Now execution. - System Doctor & Plugin Compatibility Checker: Runs infrastructure readiness checks (
PHP 8.3+,WP 7.0+,InnoDB,OPcache,WAF Vault Isolation,Client IP & Proxy Attribution) and active-plugin conflict audits β with per-item 1-Click Fix actions (including vault permission hardening, Cloudflare Proxy Trust activation, log guard hardening, and standalone 2FA switching) plus individual Re-check buttons.
- Zero-Orphan Multi-Channel Matrix: Configure per-event Email and Webhook delivery across 68 security events organized in 11 categories (Core Scans, Self-Defense, Supply-Chain, Behavioral Traps, Cloudflare & WAF, Auth & 2FA, FIM, CVEs, Backups & Vault, DevSecOps & AI, and Executive Digests).
- DevSecOps Integrations: Native SSRF-validated async webhook delivery to Slack, Discord, ClickUp, Asana, and custom JSON endpoints (Zapier, Make, n8n), synchronized seamlessly with Setup Studio.
- Setup Studio (3 Adaptive Modes): Configure your entire stack in 60s Calm (3 Steps), Express (6 Steps), or Pro (14 Steps) with instant Zero-Lockout Owner & CIDR Whitelist saving straight to live Firewall Rules.
- Multi-Provider AI Code Forensics: Analyze suspicious files on demand via Google Gemini, OpenAI, Anthropic Claude, DeepSeek, OpenRouter, or WordPress Native AI Connect, with AES-256-GCM key vaulting.
- Native JSON-RPC 2.0 MCP Surface: Connect external AI agents (Claude Desktop, Cursor IDE, Antigravity) under AEAD-encrypted bearer tokens, read-only/staged governance policies, rate limits, and immutable audit logging.
Tip
WebCare Pro Security & Firewall includes over 100 specialized security engines, evaluators, behavioral monitors, and forensic subsystems.
π Explore the Complete Features & Architecture Catalog in features.md for exhaustive dual-level documentation (plain-English summaries for site owners + deep technical architecture for systems engineers).
Security plugins solve overlapping problems through different architectures. This practical orientation highlights primary engineering models and operational trade-offs:
| Dimension | WebCare Pro Security & Firewall | Wordfence | Sucuri Platform | Patchstack |
|---|---|---|---|---|
| Model | On-Server Suite: Streaming Scan, WAF, Identity, Secret Vault, 4-Mirror Auto-Cure | On-Server Suite: Endpoint WAF + Signature Scanner + Login Hardening | Cloud WAF/CDN + Monitoring + Managed Human Response | Vulnerability Intel & Rapid Virtual Patching |
| Key Strength | Ultra-low RAM (~15-25MB batch delta), AES-256-GCM Vault, MCP AI agent governance, zero telemetry | Huge install base + proprietary threat research lab | Cloud edge blocking + managed malware cleanup retainers | Industry-fastest CVE intelligence & virtual patch loop |
| Trade-off | Independent solo-vendor velocity; no 24/7 global SOC; uses origin CPU/RAM | Can be resource-heavy; free threat feed delayed ~30 days; database table bloat | Premium cost; DNS/proxy dependency; free plugin is limited | Not a complete malware scanner, cleaner, or traditional WAF |
Honest Architectural Positioning: WebCare Pro Security & Firewall is not designed to replace globally distributed Anycast DDoS scrubbing networks (like Cloudflare Enterprise) or 24/7 human research SOCs. It is purpose-built for SysAdmins, developers, and store operators who demand deep on-server control, strict zero-telemetry privacy, and non-destructive surgical remediation.
π Read the comprehensive, balanced ecosystem comparison and technical breakdown:
https://webcarepro.dev/blog/post/webcare-wordpress-security-scanner
WebCare Pro is an enterprise web and Linux server engineering practice founded in 2013 by Mir Alamin. I help businesses worldwide build, secure, optimize, and manage high-performance websites and servers.
- 12+ Years Enterprise Experience: Senior Linux SysAdmin and Web Architecture background across high-traffic digital infrastructures.
- Direct Senior Engineering: Every architecture, server migration, malware cleanup, and speed optimization is personally designed and handledβzero junior contractor outsourcing.
- 100% Proven Track Record: Over 680 successfully completed client projects with a flawless 100% Job Success Score on Upwork and 5-star ratings worldwide.
- 15-Minute Emergency SLA: Rapid diagnostic triage when servers crash, gateways timeout, or websites suffer critical malware attacks.
- Website Hack Recovery & Security β Rapid malware eradication, backdoor cleanup, Google blacklist delisting, and WAF configuration.
- Website Speed Optimization β Sub-100ms TTFB tuning, Redis object caching, asset deferral, and 100/100 Core Web Vitals.
- Linux Server Administration β Nginx, Apache, LiteSpeed, PHP-FPM, Docker, MySQL replication, security hardening, and Cloudflare enterprise routing.
- WordPress Maintenance & Core Care β 24/7 uptime monitoring, offsite encrypted backups, vulnerability patching, and staging testing.
- WordPress Version: 7.0 or higher (Fully tested on WP 7.0 and 7.1)
- PHP Version: 8.3 or higher
- MySQL / MariaDB: 5.7+ / 10.3+
- PHP Extensions:
OpenSSL,cURL,sodium,json,mbstring,zip
- Download
webcare-pro-security.zipfrom releases or build directly from source. - Navigate to Plugins > Add New > Upload Plugin in your WordPress administration panel.
- Select
webcare-pro-security.zipand click Install Now. - Click Activate Plugin.
- Access your new cyber command center by clicking WebCare Pro in your WordPress sidebar.
# Clone the repository
git clone https://github.com/WebCarePro/webcare-pro-security.git
cd webcare-pro-security
# Install dependencies
npm install
# Compile the production React build
npm run build
# Package the clean release zip for WordPress.org
npm run packageIf your IP address gets temporarily blocked by login rate-limiting, honeypot traps, or strict firewall inspection rules, you can instantly restore access without breaking your site using any of these 4 failsafe methods:
Add this single line near the top of your wp-config.php file (above the /* That's all, stop editing! */ comment) with your public IP address:
define('WEBCAREPROSCAN_OVERRIDE_WHITELIST_IP', '203.0.113.1');Tip
You can also specify multiple comma-separated IP addresses or CIDR subnets:
define('WEBCAREPROSCAN_OVERRIDE_WHITELIST_IP', '203.0.113.1, 198.51.100.0/24');
This override executes with zero database dependencies and grants an instantaneous, zero-delay bypass across all WAF rules and login hardening checks.
If you need to temporarily disable all WAF inspection rules without deactivating or deleting the plugin:
define('WEBCAREPROSCAN_DISABLE_WAF', true);If you have SSH/terminal access to your server, flush active login brute-force lockouts with a single command:
wp option delete webcareproscan_login_lockoutsOpen phpMyAdmin or your MySQL client, navigate to your site's wp_options table, search for the option named webcareproscan_login_lockouts, and delete or empty that row. Access is immediately restored upon next page reload.
WebCare Pro Security & Firewall is strictly developed in adherence to the WordPress.org Plugin Guidelines:
- Non-Destructive Core Policy: Does not blindly delete or modify core files. When core files are flagged as tampered, administrators can use 1-click Auto-Cure to restore clean, bit-for-bit official copies directly from WordPress.org with automated pre-restoration rollback backups, or leverage official WordPress update workflows (
update-core.php) and WP-CLI (wp core download --force). - Protected File Storage: Preload Micro-WAF artifacts, VAULT telemetry, and zero-SQL WAF logs are isolated inside
wp-content/webcare-waf/(orWEBCARE_WAF_STORAGE_DIR) with0600/0750hardening and server deny guards; quarantine vaults and compressed database backups reside inwp-content/uploads/webcare-pro-security/protected by.htaccessand silent index files. Zero-downtime preload neutralization (is_noop_stub()) and full uninstall cleanup prevent HTTP 500auto_prepend_fileerrors on deactivation or deletion. - Directory Traversal Defense: All quarantine, file inspection, and backup operations enforce strict path normalization and trailing-slash boundary checks against
ABSPATH. - Transparent Third-Party Services: External API calls (official WordPress.org Checksum API, community threat feeds, and optional AI providers) are fully documented with explicit triggers, payload descriptions, and links to Terms of Service and Privacy Policies.
Have questions, need an emergency malware cleanup, or want to hire a certified Senior Linux SysAdmin for your website? Connect with me directly:
- π Upwork Profile: Mir Alamin β Top Rated Plus Freelancer (100% Job Success Score)
- π Official Website: https://webcarepro.dev
- π¨ Emergency Triage & Consultations: https://webcarepro.dev/contact
- π¬ WhatsApp / Direct Line: +880 1322 691090
- π₯ Microsoft Teams: Connect on MS Teams
- π§ Direct Email: hello@webcarepro.dev
- π GitHub Organization: https://github.com/WebCarePro
- π¦ Repository: https://github.com/WebCarePro/webcare-pro-security
- Zero Tracking or Analytics: WebCare Pro Security & Firewall does NOT track, collect, store, or sell any personal data, analytics, or browsing habits from your WordPress website, its visitors, or its administrators.
- No Sensitive Data Transmission: The plugin operates entirely on your local server. It does NOT transmit sensitive credentials, passwords, database records, client data, or private files to any third-party server or external cloud.
- 100% On-Premise Execution: Core scans, heuristic engines, File Integrity Monitoring (FIM), brute-force defenses, RFC 6238 TOTP 2FA generation, and firewall evaluations run 100% locally within your PHP environment.
- Explicit Administrator Integrations Only: External connections (WordPress.org checksums, threat intelligence feeds, Cloudflare edge sync, AI forensic assistance, or Slack/Discord webhooks) only execute when explicitly configured or initiated by the site administrator, transmitting only non-sensitive diagnostic parameters strictly necessary for the requested feature.
- License: Open source under the terms of the GNU General Public License v2.0 or later (GPL-2.0-or-later).
- Author & Copyright: Β© 2013β2026 Mir Alamin / WebCare Pro. All rights reserved.