Works with the AI Agents you already use
Keycloak Config Security Audit
by CashonlyTian
Scores 10 checks 0-100 with grade, risk and score-card PNG.
$7
Keycloak Config Security Audit
Example session with this skill installed
Audit my Keycloak install at ./deploy/keycloak for the 'Identity-Prod' project. The running version is 26.8.1. Use a blue accent for the report.
- Read your context and instructions
- Compiled the keycloak config security
- Generated the UI component
The security audit for project
Identity-Prod is complete. The configuration scored
60/100, resulting in a
Grade C (High Risk). The scan identified several critical exposures, most notably the lack of patches for the November 2026 CVEs and the presence of literal secrets in the configuration files.
Keycloak Security Audit Report
| Check | Score | Status |
|---|---|---|
| Patched Version (CVE-2026-117691, etc) | 0/10 | FAIL - Version 26.8.1 is vulnerable |
| Bootstrap Admin Security | 0/10 | FAIL - Literal password in keycloak.conf |
| HTTP/HTTPS & Hostname | 10/10 | PASS - Strict HTTPS enabled |
| Secrets in Config | 0/10 | FAIL - db-password is a literal |
| Realm Brute-force & Registration | 10/10 | PASS - Brute-force protection active |
| Token & Session Lifetimes | 10/10 | PASS - Short-lived tokens configured |
| Client Security (Redirect URIs) | 10/10 | PASS - No wildcard redirects |
| Events & Admin Console | 0/10 | FAIL - Admin events disabled |
| Exposed Endpoints & Features | 10/10 | PASS - Metrics endpoints restricted |
| File Permissions & Logging | 10/10 | PASS - Log level set to INFO |
Top 3 Required Fixes:
1.
Upgrade immediately: Move to Keycloak 26.8.2 and update container images to 26.8.2-3 to fix CVSS 9.1 SAML bypass and Java4Shell RCE.
2.
Externalize Secrets: Replace literal passwords for db-password and bootstrap-admin-password with ${env.VAR_NAME} references.
3. Enable Auditing: Set adminEventsEnabled to true in the realm configuration to track administrative changes.
Detailed findings are available in scan-report.md. A visual summary has been generated at scan-2025-05-20.png.
Next steps
- Apply the version upgrade to 26.8.2 in your Dockerfile or distribution.
- Run
scripts/run.pyagain after updatingkeycloak.confto verify the new score. - Review the
scan-report.mdfor specific line numbers of literal secrets.
scan-2025-05-20.png
TSX · React component
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
Audit a Keycloak install BEFORE it goes live — the version against the November 2026 flaws (CVE-2026-117691 SAML redirect signature bypass, CVSS 9.1; CVE-2026-96457 fine-grained admin permissions group-admin bypass to realm takeover; CVE-2026-112208 account takeover; CVE-2026-96460 token exchange unlimited lifetime; CVE-2026-109081 default-roles injection; CVE-2026-19688 Admin API missing audience check; CVE-2026-97174 CIBA sub injection; CVE-2026-97175 unverified IdP email auto-linking; CVE-2026-107602 / CVE-2026-110931 SAML denial of service; CVE-2026-110932 theme cache disk exhaustion; CVE-2026-111497 Brotli out-of-bounds write — all fixed in 26.8.2; and Java4Shell CVE-2026-114938 pre-auth RCE, fixed in the 26.8.2-3 container images), the bootstrap admin password as a literal in keycloak.conf, plain HTTP with no proxy headers, literal secrets in keycloak.conf or a realm export, a realm with no brute-force protection and no password policy, tokens that live for hours, clients with wildcard redirect URIs, an admin console sharing the public hostname with no audit events, exposed health/metrics endpoints and fine-grained admin permissions, and a world-readable keycloak.conf with debug logging and the dev-file database. Scores 10 checks 0-100 with grade, risk and score-card PNG. Local scan only: pure Python + Pillow, no network, no API key, nothing uploaded.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.
Audits local files only. No network probing or live server testing. Requires local access to conf files and realm exports. Does not scan custom Java providers for logic flaws.
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