ruvelo / wp-security-alerts
Know when WordPress, a plugin or a theme on your site turns dangerous: daily checks against Wordfence Intelligence, exploited flaws first.
Package info
github.com/Ruvelo/wp-security-alerts
Type:wordpress-plugin
pkg:composer/ruvelo/wp-security-alerts
Requires
- php: ^8.2
- composer/installers: ^2.3
Requires (Dev)
- dealerdirect/phpcodesniffer-composer-installer: ^1.0
- laravel/pint: ^1.13
- php-stubs/wp-cli-stubs: ^2.11
- phpcompatibility/phpcompatibility-wp: ^2.1
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^9.6
- szepeviktor/phpstan-wordpress: ^2.0
- wp-coding-standards/wpcs: ^3.1
- wp-phpunit/wp-phpunit: ^7.1
- yoast/phpunit-polyfills: ^4.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Install Data and privacy Developer guide Changelog
Ruvelo Security Alerts
Know when WordPress, a plugin or a theme on your site turns dangerous. Ruvelo Security Alerts checks WordPress, every installed plugin and every theme against Wordfence Intelligence's vulnerability database every day, puts the flaws attackers are exploiting first, and gives you the update that fixes each one.
wp plugin install https://github.com/Ruvelo/wp-security-alerts/releases/latest/download/ruvelo-security-alerts.zip --activate
Install and activate. That's it: the plugin asks for one thing, a free Wordfence Intelligence API key, and starts checking as soon as you paste it.
What you get
- A dashboard widget with the worst findings and the counts.
- Tools › Security alerts: every vulnerable plugin, theme or WordPress version, with the installed version, the version that fixes it, and WordPress's own Update now link when it knows the update.
- Exploited flaws first. A vulnerability whose CVE is in CISA's Known Exploited Vulnerabilities catalogue goes to the top, whatever its score, with the day CISA listed it. Then critical, high, medium and low.
- A Site Health test: critical for exploited, critical or high findings; recommended for the rest.
- A daily check through WP-Cron, and Check now. Screens only read stored results; they never wait for a download.
- Rematched at once after you update, install or remove something, from the data already downloaded.
- Private by design: the feed is downloaded whole and matched on your server. Your plugin list never leaves it.
- Multisite aware: network-activate it; one check covers the network; the screen is under Network Admin › Dashboard.
Optional settings
| Setting | Default | |
|---|---|---|
| Wordfence Intelligence API key | none | Free from your Wordfence account (Integrations). Or define('RUVELO_SECURITY_ALERTS_WORDFENCE_KEY', '…') in wp-config.php |
| Email me when a check finds a new vulnerability | off | One email per check with something new, exploited first, never the same finding twice |
| Send to | the administration email | Comma-separated |
Where the data comes from
| Source | For | What leaves your server |
|---|---|---|
| Wordfence Intelligence vulnerability data feed, API v3 (docs) | Known vulnerabilities in WordPress core, plugins and themes, with affected and patched versions and CVSS ratings | Only the API key, as Authorization: Bearer …. The whole production feed is downloaded to a temporary file, read one record at a time (a 160 MB feed peaks at about 6 MB of memory), and deleted |
| CISA KEV | Which CVEs are being exploited | Nothing: the public catalogue is downloaded whole |
- Wordfence Intelligence is free for personal and commercial use under its terms; since API v3 it needs a free key, and too many requests get HTTP 429. The plugin downloads once a day, and the screen shows the copyright notices the records carry (Defiant's, and MITRE's for CVE data).
- Requests identify themselves as
ruvelo-security-alerts/1.0.0rather than WordPress's default user agent, which includes the site's address. - If a download fails, the screen says why in plain words (key refused, rate limited, unreachable, unreadable) and keeps the last results.
Why not the shared ruvelo/security-advisories core used by the framework packages? It reads Composer and npm lockfiles and asks Packagist, OSV and Valtry by package name. WordPress plugins and themes aren't in those ecosystems, so this plugin carries its own small client, with the same wording, severity ranking and exploited-first order.
Requirements
- WordPress 7.0+, PHP 8.2+ (tested on 8.2 to 8.5)
- Outgoing HTTPS to
www.wordfence.comandwww.cisa.gov - WP-Cron, or a real cron job calling it (or
wp ruvelo-security-alerts check)
For developers
WP-CLI
wp ruvelo-security-alerts check [--format=table|json|csv] # download and check now
wp ruvelo-security-alerts list [--format=table|json|csv] # the last results, no download
Hooks
| Hook | Type | |
|---|---|---|
ruvelo_security_alerts_checked |
action | After every check, with the report |
ruvelo_security_alerts_new_findings |
action | Findings seen for the first time, whether or not the email is on |
ruvelo_security_alerts_wordfence_key |
filter | Supply the key from elsewhere |
ruvelo_security_alerts_inventory |
filter | What gets checked: add, remove or rename components |
ruvelo_security_alerts_email_recipients, ruvelo_security_alerts_email |
filter | The email's recipients, and the whole message |
ruvelo_security_alerts_wordfence_url, ruvelo_security_alerts_kev_url |
filter | Mirrors |
A finding is an array: id (Wordfence's UUID), title, type (core, plugin, theme), slug, name, installed, fixed (the smallest patched version above the installed one, or null), patched, severity (critical … not_rated), score, cve, link, and exploited (date_added, due_date, ransomware) or null.
Storage
Four site options (plain options on a single site, not autoloaded): the settings, the last report, the feed records about installed software with their KEV entries, and the finding keys already reported. Uninstalling deletes all four and the schedule.
Contributing
See CONTRIBUTING.md. composer check runs what CI runs.
Credits
Built by François Bultez at Ruvelo, and everyone who contributes. Ruvelo is made by Valtry, the website security scanner. Vulnerability data from Wordfence Intelligence; Ruvelo is not affiliated with Wordfence or Defiant, Inc.
License
GPL-2.0-or-later. See LICENSE.