What a WordPress security plugin should do
WordPress core is rarely how a site gets broken into. The usual ways in are a plugin with a known hole that was not updated in time, and an administrator password that leaked. A security plugin is a set of layers around those two risks:
- A firewall that reads each request and refuses known attacks before the vulnerable code runs.
- Login protection: limits on failed logins, a second login step for administrators, and refusing passwords known from breaches.
- Hardening: switching off what attackers use, such as the file editor in wp-admin, PHP running from the uploads folder, and XML-RPC.
- Malware scanning and file integrity: comparing core and plugin files with the official copies, and reading the rest for known malicious code.
- Vulnerability alerts: telling you which installed plugin versions have a published hole, and which version fixes it.
- Virtual patches: firewall rules that block one known hole until the fixed version is installed.
- Cleanup and recovery: tools, or people, to remove malware once it is there.
No plugin is the best at every layer. The real choice is which layers you need on the site, which come from elsewhere (your host, a cloud firewall, your care tool), and how you will run all of it across every client site.
Plugin firewall or cloud firewall
A web application firewall can run in two places.
On the site. The firewall is PHP code on the server. The earliest ones load before WordPress itself, through PHP’s auto_prepend_file setting (Wordfence’s extended protection works this way, and NinjaFirewall too); others load as a must-use plugin, before any normal plugin. A firewall on the site sees each request after it is decoded, knows whether the visitor is logged in, and can carry rules for the plugins that site actually runs.
In the cloud. You point the domain’s DNS at the provider, and every request passes through its network first (Sucuri and Cloudflare work this way). Bad traffic is dropped before it costs your server anything, and most cloud firewalls add a CDN and cache. But if an attacker finds the server’s own address, they can go around it, so the server should accept web traffic only from the provider.
Many agencies run both: a cloud firewall for floods and generic attacks, and a firewall on the site for the plugin holes.
The plugins at a glance
| Plugin | What it is | Free version | Known for | Across many sites |
|---|---|---|---|---|
| Wordfence | Firewall and scanner on the site | Yes, on WordPress.org | Firewall rules and malware signatures from its own research team | Wordfence Central |
| Sucuri | Cloud firewall and CDN, plus a plugin | The plugin; the firewall is paid | Cloud firewall and malware cleanup | An agency program |
| Solid Security | Plugin (formerly iThemes Security) | Yes, on WordPress.org | Login security, two-factor, hardening | Solid Central |
| All-In-One Security | Plugin | Yes, on WordPress.org | A long list of hardening and login settings | Not checked |
| MalCare | Plugin and service, from the makers of BlogVault | Yes, on WordPress.org | Malware scanning and one-click cleanup | Not checked |
| Patchstack | Plugin and service | Not checked | Virtual patches from its own vulnerability database | Its own dashboard |
| Jetpack | Security features in Automattic’s Jetpack | Some features | Malware and vulnerability scanning, brute-force protection | Jetpack Manage |
| Keptstone | Care platform with a connector plugin | 14-day trial | A firewall that learns first, scans with repair tools, hardening checked from outside | Built in |
Each plugin, fairly
Wordfence
Wordfence is a security plugin with a firewall, a malware scanner, login security with two-factor authentication, and live traffic views. Its scanner compares core, theme and plugin files with the WordPress.org copies and reads the rest for its malware signatures. Behind it is Wordfence Intelligence, a vulnerability database its team maintains. The paid tiers get new firewall rules and signatures sooner than the free plugin, and the highest tiers add hands-on help; its pricing page sets out the gap. Wordfence Central is a free dashboard for many sites running Wordfence.
Suits: almost any site, and agencies that want one familiar plugin on every client. Keep in mind: the scan runs on the site’s own server, and each site needs its own license for the paid features.
Sucuri
Sucuri is a website security company best known for its cloud firewall and CDN and for cleaning hacked sites. Its free Sucuri Security plugin adds an activity audit log, file integrity checks, a remote malware scan and hardening options. The firewall itself is a paid service that sits in front of the site.
Suits: sites that attract floods or heavy bot traffic, and owners who want people to clean a hacked site for them. Keep in mind: a cloud firewall needs a DNS change, and the server should be locked to the firewall’s addresses.
Solid Security
Solid Security, formerly iThemes Security, focuses on login and user security: two-factor authentication, limits on failed logins, password rules, hardening settings, file change detection and vulnerability scanning. Solid Central manages many sites, and both are part of Solid Suite with Solid Backups.
Suits: agencies that want strong login and user rules from one vendor that also does backups. Keep in mind: compare its firewall with a dedicated one if blocking attacks is your main need.
All-In-One Security (AIOS)
All-In-One Security, long known as All In One WP Security and Firewall, is a free plugin with many hardening and login settings: login lockouts, two-factor authentication, file change detection, firewall rules, and spam protection for comments. A Premium version adds more.
Suits: people who like to switch protections on one by one and see exactly what each does. Keep in mind: more switches means more to set per site, and some rules live in .htaccess, which nginx servers ignore.
MalCare
MalCare comes from the makers of BlogVault, the backup service. It is known for malware scanning, much of it done on its own servers rather than the site’s, and for one-click cleanup of what it finds, with a firewall and login protection alongside.
Suits: sites where getting malware off quickly matters most, and owners who also want backups from the same company. Keep in mind: check which plan includes cleanup on its pricing page.
Patchstack
Patchstack is security only, built around virtual patches from its own vulnerability database, and says it protects sites up to 48 hours before others. WP Umbrella’s security add-on is built on it. As listed on its pricing page on 20 November 2026, the Developer plan is $69 a month billed yearly with 3 seats, 5 more sites cost $12.50 a month, and white-label reports are included.
Suits: agencies that want the widest set of virtual patches, beside whatever care tool they already use. Keep in mind: it leads on vulnerabilities; pair it with something for malware scanning and login protection if you need those.
Jetpack
Automattic’s Jetpack includes security features alongside its backups, speed and stats: malware and vulnerability scanning and brute-force login protection. Jetpack Manage, part of Automattic for Agencies, is a free dashboard for sites using paid Jetpack products.
Suits: sites already on Jetpack, and agencies that want backups and scanning from one company. Keep in mind: it needs a connection to WordPress.com.
Keptstone
Keptstone is not a standalone plugin but a care platform for agencies, with its own security layer on every site it looks after. It is covered at the end of this page.
The best free WordPress security plugins
If the budget is zero, a free plugin still covers a lot:
- Wordfence (free): a firewall on the site and a malware scanner, with rules and signatures that arrive later than on the paid tiers.
- Solid Security (free): login protection, two-factor authentication and hardening.
- All-In-One Security: lockouts, two-factor authentication, file change detection and firewall rules.
- Sucuri Security (free plugin): an audit log, integrity checks and a remote scan, without the cloud firewall.
- MalCare (free): malware scanning, with cleanup in its paid plans.
Pick one, not three. Then do the free things that matter as much as any plugin:
- Update plugins promptly, and remove the ones nobody uses.
- Give every administrator a second login step.
- Turn off the file editor with
define( 'DISALLOW_FILE_EDIT', true );inwp-config.php. - Stop PHP from running in
wp-content/uploads. - Keep backups somewhere other than the site’s own server.
What agencies need that a single-site plugin misses
A plugin protects one site. An agency looks after dozens, and needs a few things on top:
- One view of every site: which have open vulnerabilities, which scans found something, which firewalls are only logging.
- One set of settings applied to every site, instead of setting each plugin by hand.
- Alerts in one place, by email and in the team’s chat, not a separate email from each site.
- Shared blocking: an address that attacks one client’s site blocked on the others too.
- Protection against stolen logins: a stolen administrator password is a common way in, and a firewall cannot see it, because the attacker logs in like the owner.
- Proof for the client: what was blocked, fixed and checked this month, in the report.
Do not stack security plugins
Two plugins that do the same job make a site slower and harder to debug. Two firewalls inspect every request twice and can block each other. Two login limiters lock people out with two different messages. Pick one tool per layer.
One thing to check whatever you choose: behind a proxy or CDN, a plugin must read the visitor’s real address from the right header and only from the proxy. A plugin that trusts any X-Forwarded-For header lets an attacker pick a new address for every login attempt; Limit Login Attempts Reloaded had exactly that flaw (CVE-2020-35590).
How Keptstone handles security
On every plan, Keptstone gives client administrators two-step login (required for administrators by default, with an emailed code that needs no setup), hardening where every switch is checked from outside the way an attacker would see it, a code lock that stops plugin and theme uploads from wp-admin, and an administrator guard that undoes an administrator account made any way other than by a signed-in administrator. Vulnerability alerts use Wordfence Intelligence data and say which version fixes each hole.
Care + Protect + Speed adds a firewall that loads as a must-use plugin before any other plugin and learns for 14 days before it blocks, an agency-wide blocklist, virtual patches for the holes found on your sites (a handful of hand-written rules, not a database like Patchstack’s), lockdown of a plugin with a serious hole that nothing else covers, malware scans with its own engine, and a file watch. From a scan’s findings you can restore a changed WordPress file, reinstall a plugin or quarantine a file. These are malware scanning and repair tools, not a done-for-you removal service.
Care is $2 a site a month and Care + Protect + Speed is $4. Keptstone does not run backups. If you already run Wordfence or another firewall and want to keep it, the Care plan covers the rest of the care work without a second firewall. More on the whole approach: WordPress security for agencies.
Questions
What is the best free security plugin for WordPress?
For a firewall and malware scanner on the site, most people start with Wordfence's free plugin. Solid Security and All-In-One Security are free choices built around login protection and hardening settings. A free plugin plus prompt updates and two-step login for administrators covers most of what attacks a typical site.
Do I need a security plugin if my host has a firewall?
A host's firewall stops a lot of generic traffic, but it does not know which plugins a site runs, does not watch the site's files for changes, and does not ask administrators for a second login step. Check what your host covers, then add only the layers it leaves out.
Can I run two WordPress security plugins at once?
You can, but avoid two of the same kind. Two firewalls inspect every request twice and can block each other's traffic, and two login limiters can lock people out in confusing ways. One firewall on the site, optionally one cloud firewall in front, and one scanner is a sound setup.
Do security plugins slow WordPress down?
A firewall adds a little work to each request it inspects, and a malware scan uses the server while it runs. A page cache serves most visitors before any firewall rule runs, and scans can be scheduled for quiet hours. Scanners that read files on their own servers put less load on the site.