Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    HashiCorp Consul Config & ACL Audit

    by CashonlyTian

    1

    Instead of vague suggestions, you get a concrete numerical score, a shareable score-card, and a prioritized remediation report.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    HashiCorp Consul Config & ACL Audit

    HashiCorp Consul Config & ACL Audit

    Example session with this skill installed

    Audit the Consul configuration files in ./deploy/consul-prod and generate a report for the 'Internal-Mesh' project with my brand 'SecureOps'.

    • Read your context and instructions
    • Compiled the hashicorp consul config
    • Generated the document

    I have completed the security audit of the Consul configuration files located in ./deploy/consul-prod. The scan evaluated 10 core security checks including ACL status, gossip encryption, and policy scoping.

    The audit results and the visual score-card have been generated.

    Consul Security Audit: Internal-Mesh

    MetricResult
    ProjectInternal-Mesh
    Score60/100
    GradeD
    Risk LevelHIGH
    Findings4 Critical, 2 Warning

    Top 3 Prioritized Fixes

    Enable ACL Deny Default: Current config has acl.enabled = true but default_policy is missing or set to allow. Change to deny to prevent unauthorized service registration.
    2.

    Encrypt Gossip Traffic: No encrypt key found in consul.hcl. Add a base64 encoded gossip key to prevent plaintext cluster membership snooping.
    3.

    Restrict Wildcard Policies: Found 2 policy files granting write access to *. Narrow these rules to specific service or key prefixes.

    Detailed Check Results

    CheckStatusPoints
    ACL Enabled & Deny DefaultFAIL0/10
    Gossip EncryptionFAIL0/10
    TLS VerificationPASS10/10
    No Public Interfaces (0.0.0.0)PASS10/10
    No Wildcard PoliciesFAIL0/10
    No Admin Rule LeaksPASS10/10
    Restricted Connect IntentionsPASS10/10
    No Literal Tokens in ConfigFAIL0/10
    Audit Logging EnabledPASS10/10
    Safe Health ChecksPASS10/10

    Files Generated:

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

    Next steps

    • Open scan-report.md to see the specific file lines where literal tokens were detected.
    • Apply the default_policy = "deny" fix in consul.hcl and re-run the audit to improve your score.
    • Ensure the encrypt key is moved to an environment variable or secret manager rather than being hardcoded in plain text.

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

    Insecure HashiCorp Consul configurations expose your entire service mesh to unauthorized registration, KV store theft, and server impersonation. Before you deploy, you need to know if your ACLs are actually enforcing a deny-by-default stance or if your gossip traffic is moving in plaintext.

    This skill audits local Consul HCL and JSON configuration files, policy definitions, and service intentions to identify critical security gaps. It evaluates ten specific risk vectors, including exposed API interfaces, wildcard policies, and literal tokens baked into files. Instead of vague suggestions, you get a concrete numerical score, a shareable score-card, and a prioritized remediation report.

    What it does

    • Audit Agent Config scans consul.hcl and consul.json for disabled ACLs, plaintext gossip, and missing TLS verification.
    • Analyze ACL Policies identifies wildcard permissions and dangerous write access to operator, keyring, or mesh rules.
    • Review Service Intentions flags Connect configurations that allow wide-open * to * communication.
    • Detect Literal Tokens finds master, agent, or service tokens hardcoded in configuration files.
    • Validate Health Checks spots unsafe script checks, shell pipes, or checks skipping TLS verification.
    • Generate Score-cards produces a 1024x1024 PNG summary with a 0-100 score, letter grade, and risk level.

    How it works

    1. Target Selection starts when you provide the local project directory containing your Consul configuration files.
    2. Local Analysis runs a Python-based scanner that parses HCL and JSON files without connecting to a live server or external network.
    3. Risk Scoring calculates a score across 10 security checks, assigning up to 10 points for each passing criteria.
    4. Reporting generates a Markdown report with findings sorted by severity and a visual PNG score-card for stakeholders.

    Frameworks & tools

    This skill works with HashiCorp Consul configuration formats (HCL and JSON) and utilizes a Python-based scanning engine for local file analysis.

    Why this beats prompting it yourself

    Generic prompts often miss the nuances of Consul's default_policy inheritance or the specific administrative rules that allow token minting. This skill uses a structured 10-point rubric to ensure no critical listener interface or gossip encryption setting is overlooked, providing a repeatable, objective score.

    Use cases

    • Auditing a new Consul cluster configuration before it goes live in production.
    • Reviewing third-party or tutorial-based HCL files for hidden security anti-patterns.
    • Generating security compliance artifacts for client reports or internal audits.
    • Verifying that Connect intentions are properly restricted in a zero-trust mesh.

    Known limitations

    This skill only audits local static configuration files and does not inspect running Consul agents, live tokens, or active service registries. Files over 2MB and standard ignore directories like .git are skipped.

    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 Consul clusters or APIs. Skips files over 2MB. Does not perform package CVE scans or find leaked secrets in non-Consul files.

    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 requires access to your local project directory. It specifically parses Consul configuration files in HCL and JSON formats, such as consul.hcl, policy definitions, and service intention manifests.

    No, the scanner runs entirely offline on your local files to ensure your infrastructure secrets remain private. It does not require a connection to a live Consul cluster or any external network to perform its audit.

    The scorecard evaluates 10 key vectors, including ACL default policies, gossip encryption, TLS verification, and token exposure. Each check is worth 10 points, resulting in a 0-100 score and a letter grade (A-F) for quick stakeholder reporting.

    This skill is designed for any AI agent with filesystem access capabilities. Once installed, you simply point your agent to the directory containing your Consul files, and it will automatically initiate the Python-based scanning engine.

    You receive the full Python-based scanning engine, the structured 10-point security rubric, and the automated reporting module that generates both Markdown summaries and PNG scorecards.

    While it identifies hardcoded tokens and insecure ACL policies within your static files, it cannot detect if a token has been leaked elsewhere or if a running agent has been compromised via memory or API attacks.

    New in LLM Ops