WordPress Security Monitoring for Agencies
What to watch on every client site, how often to look and who acts when something turns red: a working security monitoring setup for agencies.
Security monitoring for an agency is not a product you install. It is a set of questions you can answer for every client site at any moment, without logging in: what is installed, which of it has a known hole, what changed that nobody planned, who logged in, whether the site is up, and whether there is a backup you have actually restored from. If you can answer those for 40 sites in a few minutes, you are monitoring. If you have to open 40 wp-admin tabs to find out, you are hoping.
The layers below are in the order I would build them. For each one: what it catches, what it misses, and how often someone should look. Each links to a longer article for the detail.
Start with an inventory you trust
Every other layer depends on knowing exactly which plugins, themes and WordPress versions run where. A vulnerability alert is matched against a version number. A file change alert only means something if you know what should be there. On 60 sites with an average of 25 plugins each, that is 1,500 installations, and the spreadsheet someone filled in at onboarding was out of date within a month.
The inventory needs the slug and version of every plugin and theme, whether it is active, the WordPress core version, the PHP version and whether an update is waiting. Inactive plugins belong in it. Their files are still on the server, and some exploits reach a plugin’s files directly, whether WordPress has activated the plugin or not. Deleting what nobody uses is cheaper than watching it.
Give premium and bundled plugins extra attention. A slider or page builder shipped inside a theme does not show up as a separate update in wp-admin, and it only gets patched when the theme author releases a new theme version. Those bundled copies are the ones that stay vulnerable for years. The same goes for plugins in wp-content/mu-plugins, which load automatically and are easy to overlook.
Known vulnerabilities in plugins, themes and core
The yearly reports from the WordPress security vendors agree on one point: the large majority of newly disclosed WordPress vulnerabilities are in plugins, a small share in themes and very few in core. That tells you where to spend attention. Keeping core current matters, but a site on the latest WordPress with an unpatched form plugin is still the easy target.
Vulnerability monitoring means matching your inventory against a database. The WordPress-specific ones are WPScan, Patchstack and Wordfence Intelligence, plus community aggregators such as WPVulnerability. All three vendors are CVE Numbering Authorities, so most entries also carry a CVE identifier. They differ in coverage, in how quickly an entry appears and in their licence terms, and the matching itself has traps: premium plugins with a different slug, custom plugins that happen to share a name with a public one, flaws with no fix yet. How to monitor plugin vulnerabilities covers the sources and the triage in detail.
At agency level, the part that matters most is the response rule, written down so nobody has to decide at 17:30 on a Friday. Mine is simple. An unauthenticated vulnerability with a fix available gets patched the same working day on every affected site, outside the normal update round. A flaw that needs a logged-in editor or administrator waits for the next scheduled round, unless the site has accounts you do not control. On a shop or membership site where anyone can register, a subscriber-level flaw counts as unauthenticated.
When there is no fix
Sometimes the database entry says the vulnerability affects every version and no patched release exists. The author may be slow, or the plugin may have been closed on WordPress.org. Your options are to deactivate it if the site can live without it for a while, to replace it, or to put a firewall rule in front of the vulnerable endpoint if your host or security plugin offers one. Whatever you choose, tell the client in plain words what you did and why. A client who hears about it afterwards from a newsletter is a client who wonders what else you did not mention.
Changes nobody planned
Vulnerability data tells you where a door is open. File change detection tells you whether someone walked through it. Plugin and theme files should only change when you update them. When a file in a plugin folder changes between update rounds, the usual explanations are that somebody edited it through the built-in editor, that the plugin writes its own files into its own folder (some caching and builder plugins do), or that code was added by someone who should not be there.
The method is a baseline of file hashes taken at a known-good moment, compared on a schedule. WordPress.org publishes checksums for core and for plugins in its directory, so you can also compare against the original release. With WP-CLI that is wp core verify-checksums and wp plugin verify-checksums --all. On shared hosting without SSH, which is where many client sites live, something on the site has to do this for you.
Set define( 'DISALLOW_FILE_EDIT', true ); in wp-config.php on every client site. It removes the theme and plugin editors from wp-admin, which takes away the most common innocent cause of a change alert and one of the first things an attacker with a stolen admin password reaches for.
Change detection is not malware detection. It tells you that something changed and where, not whether it is malicious, and it sees nothing outside the folders it watches: not the uploads folder, not wp-config.php, not code stored in the database. WordPress malware detection explained covers what scanners add and where each method falls short.
Logins, users and the activity trail
A stolen administrator password produces no vulnerability alert and often no file change for days. What it does produce is a login from an odd place, a new user, a role change, a plugin installed at three in the morning. An activity log turns those into something you can see.
A few events deserve an alert rather than a line in a log: a new administrator account, an existing user promoted to administrator, a plugin installed or activated outside your update rounds, and a burst of failed logins on one account. Everything else can sit in the log until you need it, which is usually the day a client asks who changed the opening hours on the contact page.
Prevention belongs next to this. Limit login attempts, require two-factor authentication for every administrator, set a password policy, and reduce the number of administrators. Most client sites have three or four admin accounts where one or two would do, and each is a password you do not control. Bot protection on the login and registration forms cuts the background noise, which makes the failed-login alert worth reading again.
Availability is a security signal too
Uptime monitoring is usually sold for availability, but security incidents often show up there first: a white screen because an injected file broke PHP, a redirect to a spam domain, an account suspended by the host for sending spam, a certificate that expired after someone changed DNS without telling you.
Two details decide whether uptime alerts are useful. Confirm an outage from a second location before anyone is woken up, otherwise a routing problem between your monitor and one data centre produces alerts for a site that is fine. And check the content as well as the status code. A hacked site that sends visitors to another domain can still end on a page that answers 200, while a check for a phrase that should be on the homepage fails at once. WordPress uptime monitoring best practices covers intervals, confirmation and alert routing.
Backups are the control you fall back on
Every layer above lowers the chance of a bad day. Backups decide how bad that day gets. For security, the questions are specific. Is there a copy stored away from the web server, out of reach of an attacker and of a host that suspends the account? How far back do the copies go? An infection found after three weeks needs a restore point from before it started, and a 14-day retention will not have one. And when did you last restore one?
A backup that has never been restored is an assumption. Backups fail quietly on shared hosting: a time limit cuts off a database export halfway, the disk fills up, a storage key expires. How to prevent failed WordPress backups goes through the common failure modes and how to catch them.
How often to look at what
Not every signal needs the same rhythm. This routine works for a team that looks after somewhere between 30 and 150 sites:
- Immediately, as an alert to whoever is on call: a site down and confirmed from a second location, a new administrator account, an unauthenticated vulnerability in an installed plugin.
- Daily, in a ten-minute review: newly published vulnerabilities in installed plugins, file changes outside update rounds, failed backups, certificates expiring within 14 days.
- Weekly or per update round: pending updates, plugins without a release for a year or closed on WordPress.org, inactive plugins to remove, user accounts that should no longer exist.
- Monthly: a test restore of one site, a review of who has administrator access, the hardening checklist on sites added that month.
Writing it down is what makes it survive a holiday. If the daily review happens only when one particular developer remembers, it does not happen in August.
Turning alerts into work instead of noise
The quickest way to make security monitoring useless is to send every signal to everyone. After two weeks of 40 emails a day about minor updates and harmless changes in a cache folder, nobody opens the one that matters.
Route by severity. Only the immediate category goes to a phone; the rest goes into a queue that one named person works through. Tune exclusions once and properly: if a plugin legitimately writes into its own folder, exclude that path and note why, so the next person does not remove the exclusion or add ten more. And close every alert with an outcome, such as patched, accepted or investigated with a note, so anyone can see later that it was dealt with.
Give the daily review an owner per week rather than to “the team”. An on-call rota with escalation handles the urgent alerts, and the daily review can follow the same rota so that responsibility is never vague.
What to promise clients
Security monitoring is easy to oversell. Do not promise that a site cannot be hacked; nobody can. Promise what you control: how fast you patch a critical vulnerability, how often you check, how long backups are kept and how quickly you respond when something is found. A care plan that says “critical security updates within one working day, backups kept 30 days off-site, incident response starts within four working hours” is something you can deliver and show.
Be just as clear about what is outside the plan. Cleaning up a hacked site is hours of work, sometimes days. Some agencies include one clean-up a year, others charge it at their hourly rate. Either works, as long as the client knew before it happened. What to do when a WordPress site gets hacked describes the steps for when it does.
Where a platform helps
You can build all of this from separate parts: a security plugin on each site, an external uptime service, a vulnerability feed, a backup plugin and a spreadsheet to tie them together. That holds up to a few dozen sites. After that, keeping the parts in sync becomes the work.
A management platform brings the signals into one place. In WP Octo the vulnerability checks, changed-file detection for plugin and theme files, the activity log, uptime monitoring with confirmation from a second location and off-site backups sit in one dashboard, with an on-call rota for the alerts. The features page lists what is covered.
Whatever you use, harden new sites first with the WordPress security checklist for client sites, then add the monitoring layers in this order: inventory, vulnerabilities, file changes, logins, uptime, backups. Each layer makes the next one easier to read.