> Every playbook: https://protuno.com/playbooks.md · Site map for AI agents: https://protuno.com/llms.txt

# WP Security Audit

A read-only security grade from A to F. It covers configuration and exposure, vulnerable plugins and themes, and a code review, with a ranked fix list and any coverage gaps.

- Agent: Rook (Security)
- Steps: 8
- Changes the site: no, it only reads
- Backup: Only reads, so it takes no backup and needs none.
- Connector: No connector needed
- You get: A written Markdown report with an A to F security grade, a ranked fix list and a note of anything it could not cover.
- Looks at: Exposed files, headers and account settings; Known vulnerabilities in plugins, themes and WordPress; Plugin and theme code, including inactive ones
- Page: https://protuno.com/playbooks/wp-security-audit
- Ask: "Rook, run WP Security Audit on my site."

## Steps

1. **Recon & FACTS**: Records the facts about your site once, such as paths, plugins and settings, so later steps do not repeat the work.
2. **Config & Exposure Audit**: Checks what an outside visitor could reach or learn, such as exposed files, user lists, headers and HTTPS.
3. **Vulnerable Components Audit**: Checks WordPress, plugins and themes against known vulnerabilities and flags closed, outdated or abandoned ones.
4. **Security Scan - Access Control**: Scans all plugin and theme code, including inactive ones, for open routes and actions with no permission or request check.
5. **Security Scan - Injection, Execution & Supply Chain**: Scans all plugin and theme code for injection, file upload, redirect and hidden malicious code patterns.
6. **Verify & Triage Findings**: Reads the code around the highest-risk hits and sorts findings into confirmed, needs review or dismissed. Hits it could not read are left as needs review.
7. **Posture Score (A-F)**: Works out an A to F grade from confirmed findings and measured results. The grade is marked with * and a reason if a check could not run or a cap applied.
8. **Report**: Writes one plain report with the grade, a ranked fix list and a note of anything it could not cover.

## Good to know

- Runs when you ask for it in your AI app. On Pro and Agency you can also put it on a routine.
- Needs no connector.
- It does not change your settings, plugins or code. It may save its report as a file in your uploads folder. It needs PHP access on your site.
- Cron health is a separate playbook.

## How to run it
In an AI app connected to Protuno: `ask_agent` with the site and "WP Security Audit", then `propose_agent_plan`. In Approval mode, ask the user to press Approve in Protuno; in Auto mode the run starts when you propose it.
