Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Keycloak Config Security Audit

    by CashonlyTian

    1

    Scores 10 checks 0-100 with grade, risk and score-card PNG.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Keycloak Config Security Audit

    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

    CheckScoreStatus
    Patched Version (CVE-2026-117691, etc)0/10FAIL - Version 26.8.1 is vulnerable
    Bootstrap Admin Security0/10FAIL - Literal password in keycloak.conf
    HTTP/HTTPS & Hostname10/10PASS - Strict HTTPS enabled
    Secrets in Config0/10FAIL - db-password is a literal
    Realm Brute-force & Registration10/10PASS - Brute-force protection active
    Token & Session Lifetimes10/10PASS - Short-lived tokens configured
    Client Security (Redirect URIs)10/10PASS - No wildcard redirects
    Events & Admin Console0/10FAIL - Admin events disabled
    Exposed Endpoints & Features10/10PASS - Metrics endpoints restricted
    File Permissions & Logging10/10PASS - 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.py again after updating keycloak.conf to verify the new score.
    • Review the scan-report.md for specific line numbers of literal secrets.

    scan-2025-05-20.png

    TSX · React component

    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

    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. 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 2 days ago

    Software
    Python 3Pillow

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed2 days ago

    What's inside

    Frequently Asked Questions

    This skill analyzes local configuration files and realm exports to identify hardcoded secrets, insecure network settings, and specific November 2026 CVEs like Java4Shell before they reach production.

    No, this is a static analysis tool that parses your `keycloak.conf` and JSON exports locally; it does not require an active network connection or access to your live production environment.

    The skill is optimized for Keycloak 26.x and earlier versions, supporting standard realm schemas and configuration files used in both standalone installs and containerized OpenJDK images.

    You will receive the AI agent skill, a structured analysis engine for 10 specific security checks, and templates for generating Markdown reports and shareable risk score-cards.

    Simply provide the path to your Keycloak installation directory or specific realm JSON files, and the skill will automatically begin its multi-point static analysis and risk scoring.

    Unlike general prompts, this skill uses precise regex and JSON parsing to map vulnerabilities to specific lines in your config, ensuring it catches nuanced interactions like proxy header misconfigurations that LLMs often overlook.

    New in Security