Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    MySQL Config Security Audit

    by CashonlyTian

    1

    MySQL Config Security Audit is a pre-launch MySQL config audit that turns messy `my.cnf` / `my.ini` settings into a clear 0-100 security score and a fix report.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    MySQL Config Security Audit

    MySQL Config Security Audit

    Example session with this skill installed

    Audit the MySQL config files in the ./deploy/mysql folder for the 'AlphaProject' project. Generate a report in English.

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

    I have completed the security audit for the MySQL configuration files located in ./deploy/mysql. The scanner evaluated 10 critical security areas.

    Audit Results: AlphaProject (unsafe demo)

    MetricValue
    Security Score2/100
    GradeF
    Risk LevelCRITICAL
    Findings37

    Per-check earned points

    CheckEarned / Max
    Check 10/15
    Check 20/15
    Check 30/10
    Check 40/10
    Check 50/10
    Check 60/10
    Check 70/10
    Check 80/10
    Check 90/5
    Check 102/5
    Total2/100

    Top 3 Prioritised Fixes

    Network Exposure (Critical): The config binds to 0.0.0.0. Change bind-address to 127.0.0.1 to prevent public internet access.
    2.

    Authentication (Critical): Found skip-grant-tables = 1. This allows anyone to log in with any password. Remove this line immediately.
    3.

    Data Protection (Medium): innodb_flush_log_at_trx_commit is set to 0. Change to 1 to ensure data survives a system crash.

    The full report is available at scan-report.md and a visual score-card has been generated at scan-2023-11-24.png.

    Conclusion: This MySQL configuration is unsafe for production. With a score of 2/100, grade F and CRITICAL risk, 37 findings must be fixed before going live.

    Next steps

    • Open ./deploy/mysql/my.cnf and change bind-address to 127.0.0.1.
    • Comment out the skip-grant-tables entry.
    • Re-run this audit to verify the new score.

    Clean demo (hardened config)

    MetricValue
    Security Score100/100
    GradeA
    Risk LevelLOW
    Findings0

    All 10 checks passed at full points. No findings and no fixes required — the configuration is safe to go live.

    scan-2023-11-24.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

    MySQL Config Security Audit is a pre-launch MySQL config audit that turns messy my.cnf / my.ini settings into a clear 0-100 security score and a fix report. It reviews 10 critical security areas, including network exposure, weak authentication, data encryption, input handling and other sensitive configuration options that could compromise your database. The skill checks the [client] section, evaluates the password security settings in the configuration file and flags insecure settings. It also checks the InnoDB data durability settings and the MySQL replication password configuration to identify potential issues. The package comes with a report generator script, a scorecard image generator script and a scoring engine. The skill is provided with a demo script and a reference demo that illustrates the usage of this skill to complete a security audit. It also features a scorecard PNG generator and a fix report script to automate the report generation process. The skill generates a scorecard PNG and a fix report to help you fix the issues in your MySQL configuration file before going live.

    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.

    Audits local files only. Does not connect to live databases or check SQL user grants. Skips files over 2MB and non-MySQL formats like Docker or Terraform.

    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

    The skill provides a risk-graded report (scan-report.md) with a 0-100 security score and a visual score-card image (PNG). It highlights the top 3 critical fixes and provides actionable guidance on how to remediate identified vulnerabilities.

    No, the agent only performs static analysis on local configuration files like `my.cnf` and `my.ini`. It does not require a live database connection or credentials, ensuring your production data remains untouched and secure during the audit.

    Yes, this skill is fully compatible with both MySQL and MariaDB configuration formats. It parses standard `.cnf` and `.ini` files to check for common misconfigurations relevant to both database systems.

    This skill is designed for any AI agent or platform that supports local file execution and Python environments. It is ideal for developer environments where the agent has permission to read local configuration directories.

    This skill focuses on "hard" configuration risks like network exposure (0.0.0.0 binds), disabled authentication (`skip-grant-tables`), and data durability settings that could lead to data loss during a crash. It also scans for plaintext secrets accidentally left in client or replication sections.

    Currently, the skill is limited to auditing local `.cnf` and `.ini` files up to 2MB in size. It does not analyze database settings defined within Dockerfiles, Kubernetes manifests, or Terraform scripts.

    New in LLM Ops