Works with the AI Agents you already use
HashiCorp Consul Config & ACL Audit
by CashonlyTian
Instead of vague suggestions, you get a concrete numerical score, a shareable score-card, and a prioritized remediation report.
$7
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
| Metric | Result |
|---|---|
| Project | Internal-Mesh |
| Score | 60/100 |
| Grade | D |
| Risk Level | HIGH |
| Findings | 4 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
| Check | Status | Points |
|---|---|---|
| ACL Enabled & Deny Default | FAIL | 0/10 |
| Gossip Encryption | FAIL | 0/10 |
| TLS Verification | PASS | 10/10 |
| No Public Interfaces (0.0.0.0) | PASS | 10/10 |
| No Wildcard Policies | FAIL | 0/10 |
| No Admin Rule Leaks | PASS | 10/10 |
| Restricted Connect Intentions | PASS | 10/10 |
| No Literal Tokens in Config | FAIL | 0/10 |
| Audit Logging Enabled | PASS | 10/10 |
| Safe Health Checks | PASS | 10/10 |
Files Generated:
- Score-card:
scan-2023-11-15.png - Detailed Report:
scan-report.md
Next steps
- Open
scan-report.mdto see the specific file lines where literal tokens were detected. - Apply the
default_policy = "deny"fix inconsul.hcland re-run the audit to improve your score. - Ensure the
encryptkey is moved to an environment variable or secret manager rather than being hardcoded in plain text.
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
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.hclandconsul.jsonfor 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
- Target Selection starts when you provide the local project directory containing your Consul configuration files.
- Local Analysis runs a Python-based scanner that parses HCL and JSON files without connecting to a live server or external network.
- Risk Scoring calculates a score across 10 security checks, assigning up to 10 points for each passing criteria.
- 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
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