Works with the AI Agents you already use
Grafana Config Security Audit
by CashonlyTian
Your Grafana configuration determines if your metrics dashboard is a monitoring tool or a back door for attackers.
$7
Grafana Config Security Audit
Example session with this skill installed
Audit the Grafana config in ./deploy/grafana for project 'Metrics-Prod'. The version is 12.4.2. Use accent #00ff00.
- Read your context and instructions
- Compiled the grafana config security
- Generated the document
I have completed the security audit for the Grafana installation at ./deploy/grafana. The scan identified several critical misconfigurations, including exposure to the November 2026 CVEs due to the current version.
Audit Summary
- Project: Metrics-Prod
- Version: Grafana 12.4.2
- Score: 0/100
- Grade: F
- Risk Level: CRITICAL
- Findings: 45 issues detected
Security Audit Report
| Check | Score | Finding |
|---|---|---|
| Patched Version | 0/10 | Running 12.4.2; vulnerable to CVE-2026-33377, CVE-2026-33376 and CVE-2026-15815. |
| Admin Credentials | 0/10 | Default admin_password is set to 'admin' in grafana.ini. |
| Secrets in Config | 0/10 | Literal secret_key and SMTP password found in config. |
| HTTPS & Cookies | 0/10 | Protocol is http; Secure cookies are not enforced. |
| Anonymous Access | 0/10 | [auth.anonymous] is enabled with org_role = Admin. |
| Snapshots/Sharing | 0/10 | External snapshots and public dashboards are enabled. |
| Auth Hardening | 0/10 | allow_sign_up is true; basic auth is enabled. |
| File Permissions | 0/10 | grafana.ini permissions are too permissive. |
| Datasource Sec | 0/10 | tlsSkipVerify found in provisioning files. |
| Auth Proxy | 0/10 | Auth proxy enabled without an IP whitelist; IPv6 allow-list bypass (CVE-2026-33376). |
Top 3 Required Fixes
- Upgrade immediately: Move to version 12.4.3 or higher to patch the November 2026 vulnerabilities.
Rotate Credentials: Change the admin password and move all literal secrets (SMTP, secret_key) to $__env{VAR} references.
3. Disable Anonymous Admin: Set [auth.anonymous] enabled = false or demote the org_role to Viewer.
Files Generated:
- Scorecard:
scan-2025-05-20.png - Full Report:
scan-report.md
Clean re-run (Grafana 12.4.3, after fixes)
- Score: 100/100
- Grade: A
- Risk Level: LOW
- Findings: 0 issues detected
Next steps
- Apply the version upgrade to 12.4.3.
- Replace hardcoded passwords in
grafana.iniwith environment variable placeholders. - Re-run this audit to verify the updated score.
scan-2025-05-20.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
Your Grafana configuration determines if your metrics dashboard is a monitoring tool or a back door for attackers. This skill audits local Grafana installation directories to catch misconfigurations and critical vulnerabilities before they reach production.
What it does
- CVE Scanning checks for the November 2026 flaws including dashboard-overwrite privilege escalation, Auth Proxy IPv6 bypasses, and OAuth DoS vulnerabilities.
- Credential Auditing flags default admin/admin accounts and hardcoded secrets in
grafana.inior provisioning YAML files. - Network Hardening verifies HTTPS enforcement, secure cookie headers, and Auth Proxy whitelisting.
- Access Control Audit detects open anonymous access, public dashboard sharing, and insecure "Viewers can Edit" permissions.
- Environment Integrity identifies world-writable configuration files, unsigned plugin support, and insecure SQLite production databases.
How it works
- Target Selection: Provide the path to a local Grafana installation directory containing
grafana.iniand theprovisioning/folder. - Static Analysis: The agent runs a local Python-based scanner that parses configuration files as text using regex without executing them.
- Scoring: The tool evaluates the setup against 10 distinct security checks, assigning a score from 0 to 100.
- Reporting: It generates a prioritized fix list, a detailed Markdown report, and a visual security scorecard PNG.
Frameworks & tools
This skill works with Grafana 11.x, 12.x, and 13.x configuration files. It uses a standalone Python scanner for offline analysis of grafana.ini, custom.ini, and YAML provisioning files.
Why this beats prompting it yourself
Manual prompts often miss specific CVE version strings or the nuances of Auth Proxy allow-lists. This skill uses a codified 10-point scoring system that ensures consistent audits every time, providing a professional PNG scorecard that is ready for client delivery or internal compliance.
Use cases
- Audit a new Grafana setup before moving it from staging to production.
- Review a third party Grafana configuration found in a repository or blog.
- Generate security compliance reports for clients or stakeholders.
- Verify that secrets have been properly moved to environment variables.
Known limitations
The skill performs static analysis on local files only. It cannot audit running server state, probe network endpoints, or perform live penetration testing.
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.
Scans local files only. No network probing or live server auditing. Requires grafana.ini or provisioning YAML files to be present in the target path.
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 2 days ago
- Software
Python 3Pillow