Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    WordPress Config Security Audit

    by CashonlyTian

    1

    Deploying WordPress with a default `wp-config.php` often leaves debug modes active, weak database credentials exposed, and insecure file permissions that invite compromise.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    WordPress Config Security Audit

    WordPress Config Security Audit

    Example session with this skill installed

    Scan the WordPress install at ./my-new-site and generate a report with the brand name 'SecureWP'.

    • Read your context and instructions
    • Compiled the wordpress config security
    • Generated the document

    I have completed the security audit for the WordPress project located at ./my-new-site. The scanner evaluated 10 core configuration areas including debug settings, database credentials, and file permissions.

    The audit resulted in a Score of 65/100, yielding a Grade: C and a Risk Level: High.

    Security Audit Summary

    CategoryScoreStatus
    Debug Mode0/10FAILED: WP_DEBUG is set to true
    Salts & Keys10/10PASSED: Unique salts found
    DB Credentials0/10FAILED: Using 'root' user on public host
    File Editing10/10PASSED: File editing disabled
    Auto Updates10/10PASSED: Core updates enabled
    SSL Admin0/10FAILED: FORCE_SSL_ADMIN not set
    Uploads Security10/10PASSED: PHP execution blocked
    Htaccess10/10PASSED: Directory listing disabled
    File Perms5/10WARNING: wp-config.php is 0666
    Site URL Repair10/10PASSED: HTTPS URLs enforced

    Top 3 Prioritized Fixes

    Disable Debugging: Set WP_DEBUG and WP_DEBUG_DISPLAY to false in wp-config.php to prevent path disclosure.
    2.

    Secure DB Access: Change DB_USER from 'root' to a limited user and update DB_HOST from a public IP to 'localhost' or an internal IP.
    3. Enforce SSL: Add define('FORCE_SSL_ADMIN', true); to ensure the login and admin areas are encrypted.

    Files Generated:

    • Visual Score-card: scan-2023-11-20.png
    • Detailed Report: scan-report.md

    Next steps

    1. Apply the top 3 fixes to your wp-config.php file.
    2. Run chmod 640 wp-config.php to fix the file permission warning.
    3. Request a re-scan once the changes are saved to verify your new score.

    scan-2023-11-20.png

    PDF · document

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Deploying WordPress with a default wp-config.php often leaves debug modes active, weak database credentials exposed, and insecure file permissions that invite compromise. This skill performs a localized security audit of WordPress configuration files to identify vulnerabilities before they reach production.

    What it does

    • Config deep-scan checks wp-config.php for active debug logs, weak salts, root database users, and insecure site URLs.
    • Server hardening audit inspects .htaccess and wp-content/uploads to ensure directory listing is disabled and PHP execution is blocked in media folders.
    • Permission validation verifies that file modes for sensitive files are not world-readable and directories avoid 0777 permissions.
    • Scoring and grading generates a 0-100 security score with a corresponding grade and risk level based on 10 specific security checks.
    • Remediation reporting produces a prioritized fix list and a shareable PNG score-card for stakeholders or clients.

    How it works

    1. Provide the path to the local WordPress project directory you wish to scan.
    2. The skill runs a local Python script to analyze configuration patterns and file system metadata without network access.
    3. It identifies violations such as active WP_DEBUG, missing FORCE_SSL_ADMIN, or publicly accessible database hosts.
    4. Review the generated scan-report.md for a breakdown of findings and the scan-YYYY-MM-DD.png for a visual summary.

    Frameworks & tools

    This tool targets WordPress core installations. It utilizes a Python-based scanner to evaluate PHP configuration constants, Apache .htaccess directives, and Unix file permissions.

    Why this beats prompting it yourself

    Generic prompts often miss the interplay between wp-config.php constants and server-level .htaccess rules. This skill applies a rigid 10-point scoring logic that masks sensitive credentials while ensuring critical flags like DISALLOW_FILE_EDIT are actually enforced.

    Use cases

    • Audit a new WordPress site generated by an agent or boilerplate before deployment.
    • Verify security settings of a wp-config.php file copied from a tutorial or blog.
    • Provide a professional security score-card to clients as part of a hand-off package.
    • Periodically check local dev environments for accidental debug leaks.

    Known limitations

    Does not audit live URLs, plugins, or database contents. Restricted to local config files and does not perform CVE scanning or secret-leak detection in non-WordPress files.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.

    Limited to local file analysis of wp-config.php and .htaccess. Does not scan live sites, database tables, or plugin code for vulnerabilities. Files over 2MB are skipped.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 3 days ago

    Software
    Python 3Pillow

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed3 days ago

    What's inside

    Frequently Asked Questions

    No, the skill performs a localized scan of your configuration files and file system metadata without requiring network access. It is designed to audit your setup before deployment to ensure no sensitive credentials or debug modes are exposed to the internet.

    This skill is compatible with any AI agent that can execute local Python scripts and access your local file system. It works seamlessly with the latest WordPress core versions and standard Apache server configurations (.htaccess).

    The skill focuses on 'hardening' the core configuration; it does not scan third-party plugin code, database tables, or check for specific CVEs (Common Vulnerabilities and Exposures) in the WordPress core itself.

    You receive the audit logic, the Python-based scanner, and a reporting template that generates both a detailed Markdown fix-list and a professional PNG score-card. Use these assets to automate security checks across all your local WordPress projects.

    The report includes a 0-100 score based on 10 critical security checks, ranging from salt strength to file permissions. Each finding is ranked by risk level (Critical, Warning, or Info) with specific instructions on how to resolve the issue.

    New in LLM Ops