FBS Secure Optimize – Speed Optimization, Security Headers & Malware Scanner
Modular speed optimization, database & autoload cleaner, HTTP security headers, login brute-force shield, and 6-layer malware scanner.
Install in
FBS Secure Optimize (engineered by FBS Fusion) is a modern, lightweight performance and security suite built around 6 Independent Zero-Overhead Modules.
Most sites don’t need bloated, all-or-nothing plugins that slow down wp-admin or clash with existing caching layers. With FBS Secure Optimize, every engine has its own 1-Click Master Toggle in the Module Control Center:
- Disabled Modules = Zero Runtime Overhead: Any module you toggle off is completely bypassed at boot—zero frontend hooks, zero database queries, and zero conflicts with WP Rocket, LiteSpeed Cache, FlyingPress, Autoptimize, Cloudflare, or WooCommerce.
- Auto-Hide Clean Interface: Turning a module off automatically hides its configuration panels and tabs so your dashboard stays focused and clutter-free.
6 Independent Modules Included Free
1. Asset & Core Web Vitals Optimizer (with 1-Click Universal Cache Purge & Guest Page Cache)
Boost Lighthouse Performance, Largest Contentful Paint (LCP), Cumulative Layout Shift (CLS), and Total Blocking Time (TBT) without jQuery bloat or fragile script bundling:
* Auto-Preload Above-the-Fold LCP Image & Hero CSS Background: Automatically detects your top hero banner—including CSS background-image: url(...) hero sections from page builders and themes—and injects early <link rel="preload" as="image" fetchpriority="high"> in <head>, while stripping misplaced fetchpriority="high" from offscreen loading="lazy" images.
* Zero-CLS Full-Width Builder Rows & Inline SVG Stabilizer: Pre-calculates exact viewport geometry before First Paint to eliminate large layout shifts (0.70+ CLS) caused by JS-stretched full-bleed rows (SiteOrigin Page Builder, WPBakery) and un-sized inline <svg viewBox="..."> icons.
* Zero-CLS Missing Image width & height Injection (Full-Page): Automatically detects local raster and .svg <img> tags across headers, content, widgets, and footers missing explicit dimensions and injects cached width and height attributes.
* Hoist & De-Block Chained CSS @import Google Fonts: Extracts render-blocking @import Google Fonts hidden inside theme style.css files into parallel non-blocking preconnect + async swap links and serves a cached de-blocked stylesheet.
* Non-Blocking Google Fonts & Icon Stylesheets: Converts render-blocking Google Fonts, Font Awesome, Elementor Icons, Ionicons, Line Awesome, and Magnific Popup stylesheets to asynchronous media="print" swap with <noscript> fallback.
* Auto-Inline Small Local CSS (<= 8 KB) & Strip 0-Byte CSS: Inlines tiny render-blocking CSS files into <head> while rewriting relative url(...) paths and removing empty 0-byte plugin stylesheets.
* Smart Post-Render Unused Plugin CSS/JS & reCAPTCHA Unloader: Inspects the complete rendered HTML document (including headers, popups, widgets, and footers) and safely strips unused Contact Form 7, orphaned Google reCAPTCHA v3, Smash Balloon Instagram Feed, Slick/Carousel, WPForms, TablePress, and unused block inline CSS on pages where those elements do not exist.
* Delay External & Inline Third-Party Trackers & reCAPTCHA v3 (TBT/INP): Delays external and inline bootstrap trackers (GTM, GA4, Microsoft Clarity, Meta Pixel, Hotjar, LinkedIn, TikTok, and invisible reCAPTCHA v3) until first user interaction or post-load idle—automatically bypassed on WooCommerce cart, checkout, and account pages.
* Ultra-Light Guest HTML Disk Page Cache: Optional 1-click static disk HTML page cache (X-FBS-Cache: HIT) for logged-out visitors with marketing UTM/GCLID cache-hit support, automatic post/comment/menu invalidation, and automatic bypass when LiteSpeed Cache or WP Rocket is active.
* Top Admin Bar & Dashboard 1-Click “Purge Cache”: Instantly clears FBS inlined/de-blocked CSS, CLS dimension caches, guest disk page cache, WordPress Object Cache (Redis/Memcached), PHP OPcache, and triggers compatible cache flushes across LiteSpeed Cache, WP Rocket, W3 Total Cache, WP Fastest Cache, WP Super Cache, Autoptimize, SiteGround, Breeze, and WP Engine.
* Iframe & Video Lazy Loading: Defers embedded maps and video players until visitors scroll near them.
* Safe Non-Critical JS Deferring: Adds defer to frontend scripts while automatically protecting jQuery, WooCommerce checkout flows, and scripts with synchronous inline dependencies.
* Core Bloat Removal & Heartbeat Control: Strip inline emoji scripts/styles, disable frontend Dashicons for guests, dequeue unused oEmbed scripts, clean <head> discovery tags, and throttle Heartbeat API to 60 seconds.
2. Database & Autoload Cleaner
Keep MySQL lean for sub-200ms Server Time to First Byte (TTFB):
* 1-Click & Scheduled Cleanup: Safely remove post revisions, old auto-drafts (> 7 days), spam and trashed comments, expired transients, and orphaned postmeta rows.
* MySQL Table Optimization: Run OPTIMIZE TABLE across core tables manually or automatically via daily, weekly, or monthly WP-Cron schedules.
* Built-In Autoload Bloat Inspector: Instantly audit total autoloaded wp_options size (in KB) alongside your Top 5 Heaviest Autoloaded Options so hidden database bottlenecks never go unnoticed.
3. HTTP Security Headers
Achieve a hardened browser security posture without breaking stylesheets, fonts, or payment gateways:
* Toggleable X-Content-Type-Options: nosniff (MIME-sniffing defense)
* Toggleable X-Frame-Options: SAMEORIGIN (clickjacking protection)
* Toggleable Referrer-Policy: strict-origin-when-cross-origin
* Toggleable Permissions-Policy (restricts unauthorized camera, microphone, geolocation, and USB access)
* Optional Strict-Transport-Security (HSTS) for HTTPS sites
* Hide core generator meta tags and asset version fingerprinting (?ver=)
4. Unified Login Brute-Force Shield
Stop automated credential-stuffing and brute-force bots before they exhaust PHP workers:
* Automatic IP Lockouts: Lock out attacking IPs after a configurable number of failed login attempts and lockout window.
* Trusted IP Allowlist: Whitelist your office or developer IPs so you are never locked out.
* Username Enumeration Masking: Replace verbose login failure hints with generic error messages so attackers cannot harvest valid usernames.
* Live Telemetry & 1-Click Reset: View recent failed login attempts (IP, username, UTC timestamp) and clear active lockouts in one click.
5. Core Hardening & 1-Click Uploads PHP Shield
Close the most common entry points used in automated site compromises:
* 1-Click wp-content/uploads/ PHP Execution Shield: Generates hardened .htaccess rules blocking direct execution of backdoor .php, .phtml, and .phar shells uploaded into media folders.
* Disable XML-RPC & X-Pingback: Eliminates amplified system.multicall brute-force and pingback DDoS vectors.
* Block Username Harvesting: Stops ?author=1 archive scans and restricts unauthenticated REST API /wp/v2/users enumeration.
* Lock Theme & Plugin File Editors: Blocks arbitrary PHP code editing inside wp-admin via capability mapping (map_meta_cap).
* High-Risk Plugin Detector: Alerts you if risky file-manager or database-admin plugins are left active in production, with 1-click deactivation.
6. 6-Layer Malware, Core Checksum & Hidden-Admin Scanner
Built from real-world forensic incident response to uncover threats traditional scanners miss:
* Layer 1 — Root Directory PHP Audit: Flags unauthorized .php drop-ins sitting in your site root (ABSPATH).
* Layer 2 — Official Core MD5 Checksums: Verifies every file inside wp-admin/ and wp-includes/ against official api.wordpress.org cryptographic MD5 hashes.
* Layer 3 — Zero-Tolerance uploads/ Shell Scan: Detects disguised PHP webshells inside wp-content/uploads/.
* Layer 4 — mu-plugins Persistence Audit: Inspects Must-Use plugins where stealth malware often hides from the standard Plugins screen.
* Layer 5 — Heuristic Signature & wp_options DB Scan: Scans plugins, themes, and database options for obfuscated eval(base64_decode(...)), gzinflate, shell execution, and injected script payloads, complete with a Safe Read-Only Code Snippet Preview modal.
* Layer 6 — Stealth pre_user_query Hidden-Admin Detector: Compares high-level WP_User_Query results against raw database capabilities usermeta rows to expose rogue administrator accounts hidden by malicious hooks.
Unlock Active Defense with FBS Secure Optimize Pro
Need real-time attack blocking and 1-click threat eradication? FBS Secure Optimize Pro extends the free plugin with 5 additional independent modules:
* Early-Boot Web Application Firewall (WAF): Blocks SQL Injection (SQLi), Cross-Site Scripting (XSS), Directory Traversal, Null-Byte exploits, and bad-bot user-agents at priority 0 (includes safe Learning Mode).
* 429 Anti-Bot Flood Rate Limiter: Sliding-window per-IP request throttling (HTTP 429 Too Many Requests) to prevent scraper floods from triggering 502 Bad Gateway crashes.
* Real-Time Admin Capability Guard: Locks an Approved Administrator Whitelist and automatically disarms unauthorized privilege escalation while destroying rogue sessions.
* 1-Click Malware & Rogue-User Eradication: Delete flagged backdoor files, malicious database rows, and stealth admin accounts directly from the 6-Layer Scanner.
* Custom CSP Header Builder & Scheduled Daily Scans: Test Content-Security-Policy directives in Report-Only mode before enforcing Grade A+ headers, plus automated daily scan email alerts.
External Services
When an administrator manually clicks Run 6-Layer Deep Scan inside wp-admin (or enables scheduled scans in Pro), the plugin connects to the official public WordPress.org Core Checksums API (https://api.wordpress.org/core/checksums/1.0/) to fetch official MD5 file hashes for your installed core version and locale.
* Data sent: Only your WordPress version string and locale (for example, version=7.1&locale=en_US), solely when a scan runs.
* Privacy: Zero personal data, visitor IPs, user accounts, or site content is ever transmitted. Governed by the WordPress.org Privacy Policy.
Written by Joobi from the project's own listing. See the source page
2.2.0
- New: Auto-Preload Above-the-Fold LCP Image & Hero CSS Background (detects both hero
<img>banners and page-builder CSSbackground-imageheroes, injects<link rel="preload" as="image" fetchpriority="high">after<meta name="viewport">, skips header logos/SVGs, and demotes offscreenloading="lazy"images tofetchpriority="low", plus optional manual URL override). - New: Zero-CLS Full-Width Builder Rows & Inline SVG Stabilizer (measures exact post-viewport
--fbs-cwgeometry immediately after<body ...>to eliminate0.70+layout shifts from JS-stretched full-bleed rows in SiteOrigin Page Builder & WPBakery before First Paint, and injects intrinsicviewBoxdimensions on un-sized inline<svg>icons). - New: Hoist & De-Block Chained CSS
@importGoogle Fonts (extracts blocking@importGoogle Fonts inside themestyle.cssfiles into non-blockingpreconnect+ swap links and serves a cached de-blocked stylesheet). - New: Non-Blocking Icon & Decorative Stylesheets (converts Font Awesome, Elementor Icons, Ionicons, Line Awesome, and Magnific Popup CSS to async
media="print"swap). - New: Smart Post-Render Unused Plugin CSS/JS & reCAPTCHA Unloader (inspects complete rendered HTML DOM and safely strips unused Contact Form 7, orphaned Google reCAPTCHA v3, orphaned
wp-polyfill/wp-i18n/wp-hooksdependencies, Smash Balloon Instagram Feed, Slick/Carousel, WPForms, TablePress, and unused block social-links CSS on pages where absent). - New: Smart Inline-Verified
jQueryDeferring & Upgraded Third-Party JS Delay (captures both external<script src>and inline GTM/Clarity/Meta/Hotjar bootstrap snippets plus invisible reCAPTCHA v3, and auto-defersjquery-core/jquery-migratewhen zero synchronous inline scripts referencejQuery/$). - New: Optional Ultra-Light Guest HTML Disk Page Cache (
X-FBS-Cache: HIT) with marketing parameter (utm_*,gclid,fbclid) cache-hit support, automatic content invalidation, and 1-Click “Apply Max PageSpeed Preset” button. - Fix: Eliminated false-positive
CRITICALscanner alerts on content-verified legitimate root WAF bootstrap files (wordfence-waf.php,aios-bootstrap.php,malcare-waf.php) and compiled Timber/Twig (wp-content/uploads/timber-cache/) or Blade template cache files while still catching tampered or spoofed webshells. - Fix: Eliminated wasted render-blocking HTTP requests on empty
0-byte local plugin stylesheets and protectedwp_add_inline_script(..., 'after')handles during JS deferring.
2.1.1
- Fix: Eliminated false-positive
OS Command Execution (shell_exec/system)alerts in the 6-Layer Malware Scanner on legitimate Composer vendor libraries (such asMonolog\Handler\ProcessHandlerused by FluentSMTP / Google API Client,Symfony\Component\Process, andComposer\Util\ProcessExecutor) while preserving full detection if those files are tampered with or contain superglobal input ($_GET,$_POST,$_REQUEST,$_COOKIE). - Dev: Added the
fbsseop_scanner_is_safe_matchfilter for custom scanner false-positive exclusions.
2.1.0
- New: Non-Blocking Google Fonts & Preconnect optimizer (eliminates render-blocking Google Fonts CSS, enforces
display=swap, and adds automaticpreconnectresource hints). - New: Auto-Inline Small Local CSS (
<= 8 KB) with automatic relativeurl(...)path rewriting and salt-versioned transient caching. - New: Zero-CLS Missing Image
width&heightauto-injection for local content, thumbnail, and widget images, plus stronger LCP hero image protection (strips theme-injectedloading="lazy"on image #1). - New: Delay Third-Party Analytics & Tracking Pixels (
gtag.js,gtm.js, Meta Pixel, Clarity, Hotjar, LinkedIn, TikTok) until first user interaction or 3.5s fallback, automatically bypassing WooCommerce cart/checkout/account pages. - New: 1-Click Purge Cache button in both the WordPress Top Admin Bar (frontend &
wp-admin) and plugin Hero Header—flushes FBS Asset/CLS caches, WP Object Cache, PHP OPcache, and compatible host/page caches, plus automatic invalidation on theme/plugin updates.
2.0.0
- Major Release: Re-architected around 6 Independent Zero-Overhead Module Toggles with live Auto-Hide admin UX.
- New: 6-Layer Malware, Official Core MD5 Checksum & Stealth Hidden-Admin (
pre_user_query) Scanner with safe code snippet preview modal. - New: Core Hardening module featuring 1-Click
wp-content/uploads/.htaccessPHP Execution Shield, XML-RPC blocker, author/REST user enumeration defense, file editor lock, and High-Risk Plugin detector. - New: Built-in
wp_optionsAutoload Bloat Inspector displaying total autoloaded KB and Top 5 heaviest autoload rows. - New: LCP-safe native lazy loading (
fetchpriority="high"on first hero image), iframe lazy loading, Emoji/Dashicons bloat removal, and 60s Heartbeat API throttling. - Tweak: Modern SaaS Control Center UI, redesigned Meet The Author page, and full WordPress 7.1 & Plugin Check compliance.
1.0.2
- New: Integrated “Our Plugins” showcase page and “Meet The Author” profile page.
- Tweak: Redesigned backend dashboard styling.
1.0.1
- Tested compatibility with WordPress 6.9.
1.0.0
- Initial release on WordPress.org.
Follow this listing's changes (Atom feed)