WCP Security Scanner
Deep WordPress security, malware, integrity and forensic scanner. Scans files, core/plugins/themes, database, users, cron, configuration, persistence, obfuscation, suspicious code, URLs and content to identify security threats and compromised sites.
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/webcarepro/wcp-wp-security/archive/refs/heads/main.zip
Enterprise-Grade WordPress Malware Detection, Core Integrity Auditing & Forensic Threat Intelligence
🛡️ Overview
WCP Security Scanner is a modern, high-performance WordPress security, malware detection, and forensic auditing plugin engineered by WebCare Pro.
Unlike heavy, bloated security plugins that degrade server performance with background overhead, WCP Security Scanner 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, and server configurations—giving developers, sysadmins, and agency site owners complete visibility and control over their WordPress security posture.
🌟 Key Features
1. Multi-Vector Security & Malware Scanning
- Deep Heuristic PHP Code Analysis: Scans for webshells, backdoors, Trojan droppers, and remote access tools (variants of c99, r57, b374k, WSO, China Chopper). Detects obfuscation patterns including nested
eval(base64_decode()),gzinflate(),str_rot13(), dynamic variable functions, hex/octal encodings, and malicious file header spoofs. - WordPress Core Cryptographic Integrity Engine: Validates core files against official WordPress.org cryptographic MD5 checksum APIs. Pinpoints modified, injected, tampered, or missing core files in
wp-admin,wp-includes, and root directories. - Uploads Executable & Script Shield: Recursively audits
wp-content/uploads/for prohibited script extensions (.php,.phtml,.phps,.sh,.py,.pl), disguised double-extensions (shell.jpg.php), and rogue.htaccessexecution overrides. - Database Threat & Content Injection Scanner: Deeply inspects
wp_posts,wp_options,wp_users, andwp_commentsfor stored cross-site scripting (Stored XSS), malicious iframes, pharmaceutical spam links, hidden redirect doorways, and unauthorized admin user records. - Crontab & Scheduled Task Auditing: Audits both Linux server-level crontab files (
/var/spool/cron,crontab -l) and WordPress virtualwp-cronhooks for unauthorized piped downloads (curl | bash,wget | sh), reverse shells, and persistence callbacks. - User Account & Privilege Security: Identifies weak administrator passwords, dormant superuser accounts, and suspicious newly created administrator accounts.
- Server Configuration Hardening: Checks permissions for
wp-config.phpand.htaccess, verifiesWP_DEBUGexposure flags, and audits protection against public access to.env,.git,.user.ini, and database dumps.
2. Software Intelligence & CVE Vulnerability Engine
- Curated CVE Advisory Database: Scans installed WordPress core, plugins, and active/inactive themes against an offline-resilient vulnerability database.
- Granular Vulnerability Metadata: View CVSS risk scores, severity badges (Critical, High, Medium, Low), affected versions, patched versions, and official NIST NVD reference advisories.
- Interactive Vulnerabilities Dashboard: Filter by component type (Core, Plugins, Themes) or status (Vulnerable, Outdated, Clean). Includes 1-click update links to native WordPress update screens and an in-depth CVE forensic breakdown modal.
3. Threat Forensics, Code Viewer & Quarantine Vault
- In-Browser Dark-Theme Code Inspector: Built-in Monaco/terminal-style viewer (
#090d16) with line numbering, syntax highlighting, search/filtering, and automatic scroll-to-line highlight on flagged threat snippets. - Database Content Inspector: Dedicated modal for inspecting database post/page threats, showing post metadata, snippet preview, direct editor links, and live post permalinks.
- Secure Quarantine Vault: Safely isolates infected files into a protected,
.htaccess-guarded directory. Preserves original file permissions, timestamps, and SHA-256 cryptographic hashes, with 1-click instant restoration or permanent deletion.
4. Database Vault & System Diagnostics
- One-Click Database Backup Vault: Creates instant on-demand database dumps with automatic
.sql.gzGzip compression, size metadata indexing, and secure browser downloads. - Real-Time Environment Diagnostics: Live diagnostics for PHP memory limit, execution time, SAPI interface, active extensions (
cURL,OpenSSL,sodium,Zip), MySQL collation, database size, and OS architecture. - Historical Audit Logs: Complete chronological history of past scans with durations, scanned file counts, risk scores, and granular issue categorization.
5. Settings, Automation & AI Forensics
- Automated Scheduled Scans: Run hands-free recurring scans via WP-Cron on an Hourly, Twice Daily, Daily, or Weekly schedule, with configurable off-peak execution times (HH:MM server time) and selectable scan depth.
- Instant Email Security Alerts: Dispatches HTML email alerts on detection of Critical or High severity threats or CVE advisories, with configurable recipient lists and severity thresholds.
- AI Intelligence Integration:
- Connect your choice of state-of-the-art AI forensic engines: Google Gemini (Gemini 3.8 Flash, 2.5 Flash), OpenAI (GPT-6.1 Sol, GPT-4o), or Anthropic Claude (Claude Sonnet 5.5, Claude 3.7 Sonnet).
- WordPress 7.0+ Core AI Client Bridge: Automatically detects and leverages WordPress 7.0+ native
wp_ai_client()site-level AI credentials for zero-configuration AI forensics. - 1-Click AI Code Forensics Modal: Decodes obfuscated scripts in seconds, determines whether code is safe or malicious, assesses threat confidence, and generates clean surgical remediation patches.
- Performance & Developer Safeguards: Configurable scan batch sizes (25 to 200 files/batch), memory limit overrides (256 MB to 1024 MB), heuristic file size thresholds, custom path exclusions (e.g.,
wp-content/cache/*), safe directory index (index.php) auto-exclusion in uploads, and 1-click generator tag hiding. - Settings Import & Export: 1-click JSON export and import for seamless fleet deployment across multi-site agency portfolios, plus factory reset safeguards.
- Clean Uninstall & Data Privacy: Standard
uninstall.phplifecycle script. When Auto-Remove All Data on Uninstall is active (default), deleting the plugin automatically drops all 5 custom database tables (wp_wcp_scans,wp_wcp_scan_issues,wp_wcp_scan_files,wp_wcp_quarantine,wp_wcp_firewall_logs), deletes options/transients, clears crons, and purges the upload storage folder.
6. Web Application Firewall (WAF) Lite & Virtual Patching
- Real-Time Request Filtering: Inspects incoming HTTP payloads at
plugins_loaded(priority 0) with sub-millisecond evaluation before core WordPress queries execute. - Attack Vector Shields: Blocks SQL Injections (
UNION SELECT,information_schema,benchmark), Cross-Site Scripting (XSS scripts and handlers), Path Traversal & LFI (/etc/passwd,php://filter), PHP code tag injections (<?php,eval,base64_decode,system), and XML-RPC exploitation. - Smart Cloudflare & Third-Party Coexistence: Decodes visitor Real-IP from
HTTP_CF_CONNECTING_IPwith Cloudflare proxy range validation. Auto-negotiates with Wordfence, Sucuri, and Solid Security into Complementary Virtual Patching mode without hook conflicts. - Live Incidents Stream & Controls: Real-time blocked attack table, 1-click IP whitelisting, Learning Mode toggle (audit-only logging), and individual rule toggles. Custom dark-themed 403 Forbidden screen with incident reference IDs.
7. Real-Time File Integrity Monitoring (FIM) & Code Diff Viewer
- Filesystem Change Tracker: Monitors WordPress Core, active Plugins, Themes, and Uploads directories with customizable historical audit windows (24h, 48h, 7d, 30d).
- Custom & Premium Component Recognition: Automatically identifies custom or commercial plugins/themes not hosted on WordPress.org, excluding them from repository baseline checks to prevent false-positive alarms.
- Bit-for-Bit Visual Code Diff Viewer: Pure PHP Myers/LCS visual diff engine comparing modified server files against official WordPress.org release mirrors with side-by-side and unified views.
8. One-Click Malware Remediation & Auto-Cure Engine
- Automated Webshell Stripping: 1-click surgical neutralization of malicious code headers, obfuscated base64/eval wrappers, and backdoor includes while preserving legitimate file code. Includes tokenizer syntax validation before writing.
- Official WordPress.org Restoration: 1-click replacement of infected or tampered plugin/theme files with authentic, bit-for-bit verified copies fetched directly from official release mirrors.
- Auto-Cure Safety Backups & Rollback Vault: Creates timestamped safety backups in a secure directory before every remediation action, enabling instant 1-click restoration if needed.
9. Cloud Threat Intelligence & Botnet Feeds
- Community Botnet IP Blacklists: Synchronizes active botnet nodes and brute-force scanner pools from Blocklist.de, Stamparm Ipsum, and FireHOL. Performs static in-memory O(1) hash map and CIDR subnet matching (<0.05ms) to auto-drop botnet traffic at the perimeter.
- Zero-Day CVE Feed & Site Correlation: Real-time zero-day vulnerability definitions with WAF virtual patching. Automatically correlates CVEs with installed WordPress Core, plugins, and themes, displaying status badges (
Installed — Vulnerable,Installed — Patched,Global Virtual Shield) and filter controls. - IP Reputation Diagnostic Tool: Built-in checker to test client or visitor IPs against the active threat database.
10. Multi-Factor Authentication (2FA) & Login Hardening
- Pure PHP RFC 6238 TOTP Engine: Compatible with Google Authenticator, Authy, 1Password, Bitwarden, and Microsoft Authenticator without external libraries.
- Native wp-login.php Interception: Displays a responsive, branded two-factor verification challenge screen with support for rotating 6-digit TOTP codes and single-use emergency backup recovery codes.
- Brute Force Rate-Limiter: Tracks failed login attempts per client IP with configurable thresholds and temporary lockout durations with countdown notices.
11. DevSecOps Chat Webhooks (Slack & Discord)
- Real-Time Security Notifications: Delivers rich Block Kit (Slack) and Embed (Discord) alert cards when critical vulnerabilities are found, files are altered, or attacks are blocked.
- Attack Flood Protection: Built-in 60-second rate-limiting prevents channel notification spamming during brute-force or DDoS storms.
- Live Webhook Testing API: 1-click test button inside Scanner Settings to verify webhook URL configuration instantly.
🏢 About WebCare Pro
WebCare Pro is an enterprise web and Linux server engineering firm founded in 2013 by Mir Alamin. We 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 supervised—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.
Specialized Professional Services:
- 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.
- Managed Server Administration — Full Linux root VPS & dedicated server management, Nginx/LiteSpeed tuning, CSF/UFW firewalls, and 24/7 health monitoring.
- Expert Web Maintenance — Proactive round-the-clock uptime monitoring, safe staging updates, automated offsite cloud backups, and regular database audits.
- Zero-Downtime Website Transfers — Flawless server migrations with live WooCommerce order delta synchronization and DNS staging.
- Server & Web Troubleshooting — Emergency triage for HTTP 500, 502 Bad Gateway, 504 Timeouts, and White Screen of Death (backed by our No Fix, No Fee policy).
- Domain & DNS Setup — Enterprise Cloudflare Edge caching, Bot Fight Mode, and SPF/DKIM/DMARC records for in-box email deliverability.
- Web Hosting Management — Comprehensive care for cPanel, Plesk, and shared hosting control panels.
- White-Label Agency Support — Dedicated, invisible behind-the-scenes Linux sysadmin partner for digital agencies with NDA protection.
- AI-Ready Web Development — High-performance Next.js and React architectures engineered for 100/100 Core Web Vitals and WebMCP discovery.
💻 Tech Stack & Requirements
| Component | Specification |
|---|---|
| PHP Version | PHP 8.3 or higher |
| WordPress Version | WordPress 7.0 or higher (compatible with 7.1+) |
| Database | MySQL 8.0+ or MariaDB 10.4+ |
| Frontend Framework | React 18, TypeScript, @wordpress/scripts, Lucide Icons |
| Styling | Clean Vanilla CSS & Modern Responsive Flexbox/Grid |
| API Layer | WordPress REST API (/wp-json/wcp-scanner/v1/) |
| Security Standards | Nonce verification, current_user_can('manage_options'), input sanitization, output escaping, prepared SQL queries |
📦 Installation & Setup
Method 1: WordPress Admin Upload
- Download the release archive
wcp-security-scanner.zip. - In your WordPress admin dashboard, navigate to Plugins → Add New Plugin → Upload Plugin.
- Select
wcp-security-scanner.zipand click Install Now. - Click Activate Plugin.
- Navigate to Security Scanner in your admin sidebar to begin your first audit.
Method 2: Manual / Composer Installation
# Clone repository into your WordPress plugins directory
cd wp-content/plugins/
git clone https://github.com/WebCarePro/wcp-wp-security.git wcp-security-scanner
# Activate via WP-CLI
wp plugin activate wcp-security-scanner
Method 3: Building from Source
If you are developing or customizing the React dashboard:
# Clone the repository
git clone https://github.com/WebCarePro/wcp-wp-security.git
cd wcp-wp-security
# Install dependencies
npm install
# Compile the production React build
npm run build
# Package the clean release zip for WordPress.org
npm run package
🔒 Security & WordPress.org Directory Compliance
WCP Security Scanner is strictly developed in adherence to the WordPress.org Plugin Guidelines:
- Non-Destructive Core Policy: Does not modify, overwrite, or delete core WordPress files directly. When core files are flagged as tampered, administrators are guided to use official WordPress update workflows (
update-core.php) or WP-CLI (wp core download --force). - Protected File Storage: Quarantine vaults, audit logs, and compressed database backups are stored exclusively within
wp-content/uploads/wcp-security-scanner/, guarded by Apache/LiteSpeed.htaccess(Require all denied) and silent PHP index files. - 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 and optional AI providers) are fully documented with explicit triggers, payload descriptions, and links to Terms of Service and Privacy Policies.
📬 Connect & Hire WebCare Pro
Have questions, need an emergency malware cleanup, or want to hire a certified Senior Linux SysAdmin for your website? Connect with us directly:
Direct Contact Channels:
- 🌟 Upwork Profile: Mir Alamin — Top Rated Plus Freelancer (100% Job Success Score)
- 🌐 Official Website: https://webcarespro.com
- 🚨 Emergency Triage & Consultations: https://webcarespro.com/contact
- 💬 WhatsApp / Direct Line: +880 1322 691090
- 👥 Microsoft Teams: Connect on MS Teams
- 📧 Direct Email: hello@webcarespro.com
- 🐙 GitHub Organization: https://github.com/WebCarePro
- 📦 Repository: https://github.com/WebCarePro/wcp-wp-security
📄 License & Attribution
- 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.
Releases
1 release.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.