跳到内容

Loyal Security – Firewall & Malware Scanner

v1.6.0

Loyal Security · 2026年10月11日 上架

Free, lightweight WordPress security: firewall, malware scanner, two-factor login, backups and activity log in one plugin.

正在使用
10+
评分
5.0 / 5
累计下载
802
最近更新
2026年11月19日
3 条评价需要 WordPress 6.6+已测试到 7.1.5PHP 8.0+

贡献者

截图

Dashboard overview with the admin-bar Security Score and at-a-glance module status.
Dashboard overview with the admin-bar Security Score and at-a-glance module status.
Firewall panel — web application firewall, sign-in lockout, bot management and active virtual patches.
Firewall panel — web application firewall, sign-in lockout, bot management and active virtual patches.
Malware scanner — findings list with one-click quarantine and repair.
Malware scanner — findings list with one-click quarantine and repair.
Live Traffic monitor — real-time request feed with user-agent classification.
Live Traffic monitor — real-time request feed with user-agent classification.

Loyal Security is a free, lightweight WordPress security plugin that protects your site from hackers, bots and malware. It combines a firewall, malware scanner, two-factor authentication, backups and an activity log in one plugin, and it is built to keep your site fast and your server load low.

Everything is free. No locked features, no trial, no usage limits.

Lightweight and easy on your server

  • Attacks are stopped before WordPress loads. In Optimized Mode the firewall runs before WordPress, your database and your plugins start, so bad requests cost your server very little.
  • Flood and bot protection. Rate limiting, burst shielding and a bad-bot blocker stop repeat offenders early and help keep your site responsive under attack.
  • Heavy jobs run in small background steps. Scans and integrity checks don’t hog your server, and backups check for free disk space before they start.
  • Fewer outside requests. Firewall and scanner rules are bundled with the plugin, and WordPress.org checksums are kept locally once verified.
  • No bloat. Nothing to compile or install. The dashboard uses the React that already ships with WordPress, and live screens stop refreshing when the browser tab is hidden.
  • Storage stays under control. Logs, scan data and backups have limits and retention settings, so your database and disk don’t keep growing.
  • Safe by design. If the firewall can’t load, it steps aside instead of breaking your site.

Easy to set up and use

  • Setup Wizard — picks the best firewall mode for your hosting and turns it on.
  • Plain-language alerts — the dashboard and emails explain what happened and what to do.
  • Security Score — an A–F grade for your site, shown in the admin bar.
  • Works with any theme, and automatically detects real visitor addresses behind Cloudflare.

Complete WordPress security in one plugin

Firewall and attack protection

  • Dual Web Application Firewall — blocks SQL injection, cross-site scripting, file inclusion and other common attacks.
  • Brute-force protection — sign-in lockouts, login CAPTCHA and a custom login URL.
  • Country blocking — works with or without a CDN.
  • Virtual patching — shields vulnerable plugins and themes until you can update them.
  • Live Traffic monitor — see requests in real time and block or unblock with one click.
  • Server hardening — .htaccess and Nginx rules, wp-config hardening, REST API and XML-RPC restrictions.
  • CSP – Content Security Policy manager — builds a policy from what your site actually loads, with a report-only mode.

Malware scanning and clean-up

  • Malware scanner — on-demand scans plus an automatic weekly scan.
  • File integrity monitoring — compares core and plugin files with official WordPress.org checksums and alerts you when files change.
  • Database scanner — finds injected scripts, spam links and rogue admin accounts.
  • Vulnerability notices — flags plugins and themes with known security issues on your Plugins, Themes and Updates screens.
  • Safe clean-up — quarantine suspicious files and restore clean copies in one click.

Login security

  • Two-factor authentication — authenticator apps, passkeys and backup codes.
  • Password policy and breached-password warnings, plus session management.

Backups, logs and alerts

  • Backup and restore — scheduled or on-demand, with a recovery tool that works even if WordPress won’t load.
  • Audit log — who did what, with CSV export.
  • Email notifications — with throttling, quiet hours and per-event muting.
  • WP-CLI commands — wp loyal-security status | scan | firewall | backup | twofa.

Loyal Security Pro

Loyal Security Pro is a separate plugin for people who run security across many sites. You don’t need it for anything listed above. It adds:

  • Sentinel AI — AI-assisted review of suspicious activity with reversible responses and autonomous site protection mode.
  • Hourly threat-intelligence updates, plus extra firewall and malware rules published for Pro sites.
  • Under Attack Mode — a one-click emergency shield with automatic expiry.
  • Faster scheduled scans and auto-quarantine — daily or twice-daily scans, with infected files isolated the moment they are found.
  • Threat hunting, uptime monitoring and compliance reports.
  • Webhook, PagerDuty and OpsGenie alerts, and Cloudflare edge sync.
  • WooCommerce-aware backups and staging restores.
  • Agency tools — white-label dashboard, role management and a multi-site hub.

External services

Everything runs on your own server. By default the plugin contacts only three services, and each can be switched off in Settings. Everything else stays off until you turn it on or click a button. The plugin’s own requests identify themselves as LoyalSecurity/<version>, and your site’s URL, visitors’ personal data and content are never sent unless stated below.

Loyal Security threat-intelligence service (licensekit.loyalsecuritywp.com) — on by default

Used twice a day, and when you click “Sync now”, to update the vulnerability database and receive new firewall rules, malware signatures and virtual patches. It sends the dataset name and version, the feed channel (“free” or “pro”), the Pro subscription key if one is stored, and, for the vulnerability dataset only, the slugs (folder names) of your installed plugins and themes so you only get relevant advisories. Turn it off in Settings Threat Intelligence (“Sync the threat feed automatically” or “Enabled”); the plugin keeps using the rules it has.

Only when you use them:

  • The “About Pro” screen fetches the public plan list. No site data is sent.
  • “Test connection” sends a timestamp, an anonymous install ID and, if present, a hash of the subscription key.
  • Firewall-bypass reports are off until an administrator consents under Loyal Security Bypass Telemetry (in the Advanced view; you can withdraw at any time). They send the attacking request (method, path, parameters, IP address, country), the matching rule names, plugin/WordPress/PHP versions (major.minor) and an anonymous install ID, with cookies, authorization headers and nonces removed.
  • With the same consent, a virtual patch you approve can be shared as a rule suggestion. It sends the rule and its category, the plugin version, a timestamp, an anonymous install ID and, if present, a hash of the subscription key.

Terms · Privacy policy

Have I Been Pwned (api.pwnedpasswords.com) — on by default

At login, to warn users whose password appears in a known breach. Only the first five characters of the password’s SHA-1 hash are sent (k-anonymity), never the password, username or email address. It never blocks a login. Turn it off in Settings Identity & Access “Check passwords against known breaches”.

Terms · Privacy policy

WordPress.org (api.wordpress.org, downloads.wordpress.org, core.svn.wordpress.org) — on by default

File integrity checks download the official checksums for WordPress core and your WordPress.org plugins (plugin slug and version), automatically each week and whenever you start a check. Repair or reinstall downloads the official package or file. These are the same public services WordPress uses for updates, and these requests go through WordPress’s own functions, so they use WordPress’s standard user agent, which includes your site address, exactly as WordPress updates do. Turn off the scheduled check, or the whole module, in Settings File Integrity Monitoring.

Privacy policy · WordPress.org publishes no separate terms for these endpoints; the software is governed by the GPL.

Cloudflare Turnstile (challenges.cloudflare.com) — only if you choose it

Only if you select Turnstile as your login CAPTCHA and enter your keys. The script loads on the login form, and the visitor’s CAPTCHA token and IP address are sent to Cloudflare to verify it.

Terms · Privacy policy · Turnstile addendum

Google reCAPTCHA v3 (www.google.com) — only if you choose it

Only if you select reCAPTCHA v3 as your login CAPTCHA and enter your keys. The script loads on the login form, and the visitor’s CAPTCHA token and IP address are sent to Google to verify it.

Terms · Privacy policy

Google Safe Browsing (safebrowsing.googleapis.com) — only if you add a key

Only if you enter your own API key under Settings Hardening. Your site’s home URL is sent to check whether Google has flagged it. Nothing is sent without a key.

Terms · Privacy policy

Content Security Policy scanner — only when you click “Scan”

To suggest which domains your policy should allow, the scanner loads a few of your own pages and the external stylesheets they already use (such as Google Fonts or a CDN), with a plain request that carries no site data. Those providers’ own terms apply, exactly as when a visitor loads your site.

Your server’s DNS

To confirm that a visitor claiming to be Googlebot, Bingbot or similar really is one, the plugin does a reverse and forward DNS lookup of the visitor’s IP address through your server’s normal resolver. The result is cached.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums