What problem does it solve?
Audits WordPress plugin or theme PHP code for the most common security mistakes — missing nonce checks, capability checks, input sanitization, output escaping, unslashing, SQL preparation, AJAX nopriv exposure, file/path traversal, and unsafe redirects. Use when reviewing pull requests, before releasing a plugin, when the user asks "is this secure", or when handling code that touches $_GET / $_POST / $_REQUEST / $_COOKIE / $_FILES / $_SERVER, admin-ajax / admin-post, REST endpoints, options, user meta, custom DB queries, or file uploads.
Core Features & Use Cases
- Nonce and capability checks to prevent unauthorized writes.
- Input handling, sanitization, and output escaping to defend against XSS and data corruption.
- Safe file and redirect patterns, REST and AJAX best practices, and error handling.
- Real-world use: security reviews during PRs, releases, or ad-hoc security questions.
Quick Start
Provide a security-focused code review for a given WP plugin file and return a prioritized findings report.