wp-security-check
OfficialAudit WordPress plugin security fast and thoroughly
Legal & Compliance#sql injection#security audit#rest api#wordpress#pci dss#nonce validation#woocommerce hpos
AuthorWordPressBugBounty
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you identify common WordPress plugin security flaws—such as missing nonce/capability checks, improper sanitization/escaping, unsafe SQL usage, insecure REST endpoints, and payment-specific PCI DSS violations—before they become vulnerabilities.
Core Features & Use Cases
- Input sanitization review: Locates
$_POST,$_GET,$_REQUEST, and$_COOKIEusage and checks for appropriate sanitizers (including WooCommerce-specific patterns likewc_clean). - Output escaping review: Finds potential XSS sinks by scanning echo/inline output patterns and verifying the correct escaping function for the output context.
- CSRF/nonce validation checks: Ensures form submissions, AJAX handlers, and REST permissions use the expected nonce and authorization mechanisms.
- Capability enforcement validation: Confirms
current_user_can()guards all privileged operations and mutations. - SQL injection prevention: Verifies
$wpdbqueries use$wpdb->prepare()for any variable-containing queries. - REST API security validation: Ensures every registered REST route includes a
permission_callback, especially for write operations. - WooCommerce-specific safety: Flags order-handling patterns that violate HPOS expectations (e.g., order meta access via
get_post_meta()). - Payment / PCI DSS guardrails: Checks for risky card data handling patterns like logging or storing card details, and validates safe payment practices.
Quick Start
Run the security audit against your plugin by providing the plugin root path and selecting whether the audit scope includes payment processing so the Skill can apply PCI DSS and WooCommerce-specific checks.
Dependency Matrix
Required Modules
None requiredComponents
references
đź’» Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: wp-security-check Download link: https://github.com/WordPressBugBounty/plugins-woocommerce-for-japan/archive/main.zip#wp-security-check Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.