Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    HAProxy Config Security Audit

    by CashonlyTian

    1

    Deploying a load balancer with a default or copied configuration often leaves critical infrastructure exposed to the internet.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    HAProxy Config Security Audit

    HAProxy Config Security Audit

    Example session with this skill installed

    Audit the haproxy.cfg in ./config/lb/ for the 'Edge-Proxy' project. Use the default accent color and include 'Acme-Infra' in the footer.

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

    I have completed the security audit for the

    Edge-Proxy HAProxy configuration. The scan analyzed 10 critical security areas to determine your current risk profile.

    Audit Results: Edge-Proxy (unsafe demo)

    Score: 0/100
    Grade: F
    Risk Level: CRITICAL
    Total findings: 34 — all 10 checks fail

    CategoryScoreFindingsStatus
    Network Exposure0/153FAIL: Frontends bind to 0.0.0.0 on every interface
    Authentication0/152FAIL: Stats page on 0.0.0.0:8404 with a weak password
    TLS Encryption0/153FAIL: TLS 1.0 and RC4 offered
    Security Headers0/106FAIL: HSTS, CSP and other security headers missing
    Request Protection0/103FAIL: No request-rate or size protection
    Resource Limits0/105FAIL: Connection and timeout limits missing
    Admin Stats0/104FAIL: Stats page exposed on 0.0.0.0:8404
    Secrets Hygiene0/52FAIL: Weak / hardcoded credentials in config
    Logging0/53FAIL: Access and error logging not configured
    Backend TLS0/53FAIL: Backends in cleartext or with ssl verify none

    Top 3 Prioritized Fixes

    1. Secure the Stats Page: Restrict the stats bind to 127.0.0.1 and implement a userlist with hashed passwords.

    Enable Backend Verification: Change ssl verify none to ssl verify required and provide the appropriate CA bundle; stop sending backend traffic in cleartext.
    3.

    Enforce Modern TLS: Disable TLS 1.0 / 1.1 and RC4, and add http-request redirect scheme https unless { ssl_fc } to all public-facing frontends.

    Deliverables:

    • Scorecard Image: scan-2023-10-27.png
    • Detailed Report: scan-report.md

    Audit Results: Edge-Proxy (clean demo)

    Score: 100/100
    Grade: A
    Risk Level: LOW
    Total findings: 0 — all 10 checks pass

    CategoryScoreFindingsStatus
    Network Exposure15/150PASS
    Authentication15/150PASS
    TLS Encryption15/150PASS
    Security Headers10/100PASS
    Request Protection10/100PASS
    Resource Limits10/100PASS
    Admin Stats10/100PASS
    Secrets Hygiene5/50PASS
    Logging5/50PASS
    Backend TLS5/50PASS

    Next steps

    • Review the scan-report.md for the specific line numbers causing the failures.
    • Apply the top 3 fixes to your haproxy.cfg.
    • Re-run the scan to verify the updated score and grade.

    scan-2023-10-27.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 a load balancer with a default or copied configuration often leaves critical infrastructure exposed to the internet. This skill audits your haproxy.cfg for security gaps before they reach production, identifying risks like plaintext backends and open stats pages.

    What it does

    • Network exposure analysis identifies frontends binding to public interfaces or missing HTTPS redirects.
    • TLS hardening checks verify minimum TLS 1.2 versions, cipher suite strength, and certificate bindings.
    • Authentication auditing flags open stats pages, weak passwords, and plaintext credentials in userlists.
    • Resource limit verification ensures global connection limits and request timeouts are properly configured to prevent DoS.
    • Security header validation checks for HSTS, CSP, and secure cookie flags in HTTP responses.
    • Backend security review confirms backends use encrypted traffic with proper certificate verification.

    How it works

    1. Provide the local directory containing your haproxy.cfg file for a non-intrusive local scan.
    2. The scanner evaluates 10 specific security domains, assigning a score from 0-100 based on risk weight.
    3. Review the generated PNG scorecard for a high-level summary of your security grade and risk level.
    4. Follow the prioritized scan-report.md to fix the highest-impact vulnerabilities first.

    Frameworks & tools

    This tool specifically audits HAProxy configuration files. It uses a Python-based scanning engine to perform static analysis on local files without requiring network access or live server connections.

    Why this beats prompting it yourself

    Generic LLM prompts often miss subtle HAProxy directives like URI normalization or specific stick-table rate limiting syntax. This skill uses a structured 10-point scoring system that ensures consistent, objective grading and prevents sensitive password values from being exposed in audit logs.

    Use cases

    • Auditing a configuration generated by another AI agent before deployment.
    • Reviewing legacy load balancer settings for modern TLS compliance.
    • Generating a security scorecard for client handovers or internal compliance.
    • Sanity-checking haproxy.cfg snippets copied from online tutorials.

    Known limitations

    Audits local config files only and does not check running instances or network state. It does not scan for CVEs in the HAProxy binary or audit Docker/Terraform 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.

    Local config files only. No live server auditing. No binary CVE scanning. Skips files over 2MB and standard ignore directories like .git or node_modules.

    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 performs a non-intrusive static analysis of your local `haproxy.cfg` file; it does not require a live network connection or access to your running production servers.

    You receive the Python-based scanning engine, a template for the 10-point scoring system, and automated reporting tools that generate both a PNG scorecard and a detailed markdown report.

    Yes, the skill is designed to audit configuration files generated by other AI agents or copied from online tutorials, ensuring they meet modern security standards before you deploy them.

    The tool checks for TLS 1.2/1.3 enforcement, cipher suite strength, HSTS headers, and proper certificate verification to ensure your load balancer meets current compliance requirements.

    This skill focuses exclusively on the `haproxy.cfg` file; it does not scan the underlying OS, Docker containers, or specific vulnerabilities (CVEs) within the HAProxy binary itself.

    The skill provides a 0-100 security score and a prioritized `scan-report.md` file, which lists found vulnerabilities by impact level so you know exactly what to fix first.

    New in LLM Ops