diagnostic-config-security

Analyze wp-config.php remotely via SSH for critical security misconfigurations.

27|1|Updated Feb 16, 2026
One-click install
npx skills add https://github.com/dr-robert-li/cowork-wordpress-expert --skill diagnostic-config-security
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: diagnostic-config-security
Source: https://github.com/dr-robert-li/cowork-wordpress-expert/tree/main/skills/diagnostic-config-security
Command: npx skills add https://github.com/dr-robert-li/cowork-wordpress-expert --skill diagnostic-config-security

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill identifies critical security misconfigurations within your WordPress wp-config.php file, helping to prevent data breaches and unauthorized access.

Core Features & Use Cases

  • Security Audit: Checks for exposed WP_DEBUG settings, default authentication salts, missing file edit disallowance, and database credentials in version control.
  • Risk Assessment: Prioritizes findings based on severity (Critical, Warning, Info).
  • Use Case: Ensure your production WordPress site is protected by automatically scanning wp-config.php for common, high-impact security vulnerabilities before they can be exploited.

Quick Start

Run a security check on the wp-config.php file for the default-site.

Frequently Asked Questions about diagnostic-config-security

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit wp-config.php for security misconfigurations?▼

You can audit wp-config.php security by running a remote SSH scan that checks for WP_DEBUG enabled, default salts, missing DISALLOW_FILE_EDIT, and database credentials in version control. Findings are returned as structured JSON with severity levels and fix instructions.

What security risks should I look for in a WordPress wp-config.php file?▼

Critical security risks in wp-config.php include enabled WP_DEBUG, default authentication salts, missing DISALLOW_FILE_EDIT constants, and exposed database credentials. A remote SSH scan identifies these vulnerabilities and returns actionable fix instructions.

Can I scan wp-config.php remotely via SSH if it is in a non-standard location?▼

Yes, the security scan connects remotely via SSH and checks both standard and adjacent file locations for wp-config.php. This ensures misconfigurations are detected even when the WordPress configuration file is moved from its default path.

Does this WordPress security audit require direct server access or plugins?▼

No WordPress plugins are required, but you do need remote SSH access to the server. The scan directly analyzes the wp-config.php file over SSH to identify critical security misconfigurations without installing additional software on the site.

How are wp-config.php security vulnerabilities prioritized and reported?▼

Security vulnerabilities are prioritized by severity levels: Critical, Warning, and Info. The scan outputs a structured JSON array with deterministic IDs for each finding, ensuring you can systematically track and resolve exposed database credentials and other risks.