Works with the AI Agents you already use
HashiCorp Vault Config & Policy Audit
by CashonlyTian
- **Audit access policies** flags wildcard sudo permissions, write access to sensitive `sys/` paths, and unauthorized token minting capabilities.
$7
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.
| Metric | Value |
|---|---|
| Score | 60/100 |
| Grade | D |
| Risk Level | High |
| Findings | 4 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_disableis set to true invault.hcl.memory_lock: PASS —disable_mlockis false.storage_backend: PASS — Using Raft HA storage.api_cluster_addresses: FAIL —api_addruseshttpinstead ofhttps.policy_wildcard: FAIL — Foundpath "*"with sudo inadmin.hcl.policy_root_paths: PASS — No unauthorizedsys/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.hclto settls_disable = 0and provide paths to valid certificates. - Add an
audit "file"block to ensure all API interactions are recorded. - Scope the
admin.hclpolicy to specific paths rather than using the global wildcard.
scan-2023-11-15.png
PDF · document
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
- Provide the local path to your Vault project directory containing
vault.hclor policy files. - The skill runs a local scan to evaluate 10 specific security controls, scoring each from 0-10, with 100 points maximum.
- It generates a score-card image (
.png) and a detailed Markdown report with a grade and risk level. - 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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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