Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    HashiCorp Vault Config & Policy Audit

    by CashonlyTian

    1

    - **Audit access policies** flags wildcard sudo permissions, write access to sensitive `sys/` paths, and unauthorized token minting capabilities.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    HashiCorp Vault Config & Policy Audit

    HashiCorp Vault Config & Policy Audit

    Example session with this skill installed

    Audit the Vault configuration in ./infra/vault and give me a report for Project Aegis. Use a dark orange accent.

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

    I have completed the security audit of the Vault configuration and policy files located in ./infra/vault for

    Project Aegis. No credentials were leaked in this summary.

    The audit identifies several critical misconfigurations that lower the security posture to a Risk Level: High.

    MetricValue
    Score60/100
    GradeD
    Risk LevelHigh
    Findings4 Issues

    Vault Security Audit Report

    Top 3 Prioritized Fixes:
    1.

    Enable TLS: The listener in vault.hcl has tls_disable = 1. This allows secrets to transit the network in plaintext. (-10 pts)
    2. Enable Audit Device: No audit stanza was found. Every request to Vault is currently unlogged. (-10 pts)
    3.

    Restitrict Policy Wildcards: policies/admin.hcl contains a path "*" block with sudo capabilities. (-10 pts)

    Detailed Findings:

    • listener_tls: FAIL — tls_disable is set to true in vault.hcl.
    • memory_lock: PASS — disable_mlock is false.
    • storage_backend: PASS — Using Raft HA storage.
    • api_cluster_addresses: FAIL — api_addr uses http instead of https.
    • policy_wildcard: FAIL — Found path "*" with sudo in admin.hcl.
    • policy_root_paths: PASS — No unauthorized sys/ write access.
    • policy_token_paths: PASS — Token creation correctly restricted.
    • secrets_in_config: PASS — No literal passwords detected.
    • audit_devices: FAIL — No audit devices configured.
    • exposed_endpoints: PASS — Metrics and storage endpoints secured.

    Artifacts generated:

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

    Next steps

    • Update vault.hcl to set tls_disable = 0 and provide paths to valid certificates.
    • Add an audit "file" block to ensure all API interactions are recorded.
    • Scope the admin.hcl policy to specific paths rather than using the global wildcard.

    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

    Vault server configurations and policy files are often riddled with subtle, high-risk misconfigurations. This skill audits your HashiCorp Vault HCL files and policies before they go live, identifying listeners without TLS, unencrypted storage, and overly permissive sudo policies that could compromise your entire secrets infrastructure.

    What it does

    • Verify server hardening checks for disabled memory locking, unencrypted listeners, and insecure API/cluster address bindings.
    • Audit access policies flags wildcard sudo permissions, write access to sensitive sys/ paths, and unauthorized token minting capabilities.
    • Detect exposed secrets scans HCL files for baked-in credentials like KMS keys, database passwords, or static tokens.
    • Check observability confirms audit devices are active and logging requests to ensure a proper trail for compliance.
    • Surface infrastructure risks identifies single-node file storage used in production or exposed unauthenticated metrics endpoints.

    How it works

    1. Provide the local path to your Vault project directory containing vault.hcl or policy files.
    2. The skill runs a local scan to evaluate 10 specific security controls, scoring each from 0-10, with 100 points maximum.
    3. It generates a score-card image (.png) and a detailed Markdown report with a grade and risk level.
    4. Review the prioritized fix list, which ranks vulnerabilities by the points they cost your security posture.

    Frameworks & tools

    Specifically designed for HashiCorp Vault configurations using HCL. It audits vault.hcl, server.hcl, and .hcl policy files.

    Why this beats prompting it yourself

    Generic prompts often miss the specific hierarchy of Vault paths or fail to cross-reference listener settings with storage backends. This skill uses a structured 10-point check system to ensure no critical hardening step, like disable_mlock or audit device logging, is overlooked.

    Use cases

    • Pre-deployment audit of a new Vault cluster configuration.
    • Peer review of complex Vault policies before merging into a security repository.
    • Sanitizing tutorial or blog post HCL snippets before production use.
    • Generating a security baseline score-card for compliance reporting or client handovers.

    Known limitations

    Does not audit live running servers, VPC/network settings, or non-HCL files like Dockerfiles or Kubernetes manifests. Files over 2 MB 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 HCL files only; no live server connection. Skips files over 2 MB and non-HCL formats like YAML or JSON. Does not perform package CVE scanning.

    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

    This skill audits static HCL configuration files and policy documents locally; it does not require a connection to a live Vault cluster or your production environment.

    The skill is optimized for any AI agent that supports file-system access or HCL file uploads, providing a structured report regardless of which LLM is powering the agent.

    You will receive the audit logic, the 10-point scoring framework, and a specialized template for generating the score-card images and Markdown reports.

    While the skill focuses on security hardening like TLS and mlock, it also identifies performance risks such as using single-node 'file' storage in production environments.

    The skill is updated periodically to reflect HashiCorp's evolving security best practices and new Vault policy capabilities, such as Sentinel integration or new 'sys/' path updates.

    New in LLM Ops