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

# WP Malware Scan

Sweeps your files and database for planted code and checks whether search engines see different pages than visitors. Each candidate is read in context. Unsure ones are marked for a person.

- Agent: Rook (Security)
- Steps: 6
- 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 of confirmed findings, items that need a human look and a described clean up plan.
- Looks at: Pages shown differently to search engines; Files across the server; Database tables, scheduled tasks and user accounts
- Page: https://protuno.com/playbooks/wp-malware-scan
- Ask: "Rook, run WP Malware Scan on my site."

## Steps

1. **Malware Scan Gateway And Environment**: Records how Protuno reaches your site and what it can read, and notes anything it cannot cover.
2. **External Cloaking Scan**: Loads your home page and a sample of other pages to spot spam shown to search engines but not to visitors.
3. **Filesystem Malware Sweep**: Scans files across the server for planted code and lists suspicious ones as candidates, not verdicts.
4. **Database And Persistence Scan**: Scans database tables, scheduled tasks and user accounts for injected code and hidden ways back in.
5. **Verify And Attribute Findings**: Reads each candidate in context to confirm it, dismiss it or flag it for a person, and attributes it where it can.
6. **Forensic Malware Report**: Writes the forensic report with a described clean up plan. Nothing is removed or quarantined.

## 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.
- Detection only: it does not delete, quarantine or change anything.
- Server-level files and access logs can never be reached, so a scan that finds nothing is normally reported as incomplete rather than clean.
- Removal is a separate step for you, with your own off site backup.
- Needs PHP access on your site.

## How to run it
In an AI app connected to Protuno: `ask_agent` with the site and "WP Malware Scan", 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.
