Audit site security
security_auditAudits a WordPress site's security and returns a 0–100 score with prioritized, evidence-backed fixes, probing exposed files, user enumeration, headers, version leaks, and checking core, plugins, and themes against a vulnerability database.
Instructions
A read-only security review with a 0–100 score and prioritised findings, each with evidence and a concrete fix. Probes the site from outside as an anonymous visitor (user enumeration via REST and ?author=, XML-RPC, public debug.log, exposed wp-config backups / .git / .env, uploads directory listing, security headers, version leaks, http→https), inspects configuration from inside via the companion plugin (debug display, file editor, wp-config permissions, admin usernames, application passwords, salts, pending updates, PHP end-of-life, inactive plugins/themes, HTTPS), and checks core, plugin and theme versions against the free WPVulnerability database. Works partially without the companion plugin and says what it skipped. Never downloads more than a few KB of any exposed file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No | Which configured WordPress site to act on. Optional — with a single site configured it is used automatically; with several, the default site is used unless you name one. Run list_sites for valid ids. | |
| max_lookups | No | Cap on vulnerability lookups; core first, then active plugins/themes, then inactive ones. | |
| include_external | No | Run the anonymous outside-in probes against the site's own URL. | |
| include_vulnerabilities | No | Look up core, plugins and themes in the WPVulnerability database (outbound requests to wpvulnerability.net). |