PROMPT CARD • GPT / CLAUDE / GEMINI

WordPress Security Hardening Code Review Template for Developers & Auditors

Generate a practical, reusable checklist for reviewing WordPress custom code focused on security hardening to identify and fix vulnerabilities efficiently.

Prompt text to copy

You are a WordPress security expert and auditor. Your task is to create a detailed and practical code review checklist template that helps developers and auditors identify security vulnerabilities in custom WordPress code. Use the input variables: [CodeSnippet] – the WordPress custom code to review, and [ReviewFocus] – specific security concerns or areas to prioritize (e.g., authentication, data validation). Follow these rules: 1) Analyze the code snippet thoroughly for common WordPress security vulnerabilities. 2) Provide clear, actionable checklist items addressing identified risks. 3) Highlight key security hardening best practices relevant to WordPress development. Output the checklist as a numbered list, each item concise and focused on actionable steps. No markdown formatting is needed. Return only the checklist as plain text.

How to Use This Prompt

[CodeSnippet]: Paste the specific WordPress custom code you want audited here. This code can be a function, plugin snippet, or any PHP/JavaScript code relevant to WordPress.

[ReviewFocus]: Specify the key security areas or concerns you want the review to focus on, such as input validation, user authentication, nonce usage, capability checks, or data sanitization.

Usage Tips