Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Kafka Broker Config Security Audit

    by CashonlyTian

    1

    - **Data protection check** reviews `auto.create.topics`, replication factors, and `min.insync.replicas` to prevent data loss.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Kafka Broker Config Security Audit

    Kafka Broker Config Security Audit

    Example session with this skill installed

    Audit the Kafka broker configuration in reference/demo-project and tell me if it is safe for production.

    • Read your context and instructions
    • Compiled the kafka broker config

    I have completed the security audit of the Kafka broker configuration located in reference/demo-project. The scan analyzed 10 critical security areas to determine production readiness.

    Kafka Security Audit Result

    Score: 2/100
    Grade: F
    Risk Level: CRITICAL
    Findings: 32

    The configuration is currently unsafe for production. It contains multiple high-severity findings, including unauthenticated listeners and exposure to known RCE vectors.

    Audit Summary

    CheckScoreStatus
    Network Exposure0/15FAILED: Listeners bound to 0.0.0.0
    Authentication0/15FAILED: PLAINTEXT protocol enabled, no SASL
    TLS Encryption0/15FAILED: No SSL/TLS configured
    JAAS/OAuth RCE0/10FAILED: LdapLoginModule detected
    Topic Protection0/10FAILED: Replication factor 1, auto.create.topics enabled
    Quota Limits0/10FAILED: No quotas configured
    Resource Limits0/10FAILED: No resource limits configured
    Cluster Coordination2/5FAILED: ZooKeeper with no ACL
    Secrets Hygiene0/5FAILED: Plaintext passwords in config
    JMX Exposure0/5FAILED: Open JMX port

    Critical Fixes (Prioritized)

    Disable PLAINTEXT: Change security.protocol to SASL_SSL or SSL. Current configuration allows unauthenticated access.
    2.

    Restrict Network Binding: Change listeners from PLAINTEXT://0.0.0.0:9092 to a specific internal IP or 127.0.0.1.
    3. Remediate CVE-2025-27818: Remove LdapLoginModule from sasl.jaas.config to prevent remote code execution.

    Clean Demo (reference/demo-project-clean)

    Score: 100/100
    Grade: A
    Risk Level: LOW
    Findings: 0

    The clean reference configuration passes all 10 checks with no findings.

    Next steps

    • View the full report at scan-report.md for specific line references.
    • Use the generated scorecard PNG for documentation.
    • Re-run this audit after applying the top 3 fixes to update your score.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Deploying an insecure Kafka broker can expose your entire cluster to the public internet or RCE vulnerabilities. This skill audits your server.properties and Java configuration files to identify critical misconfigurations before they go live.

    What it does

    • Network validation checks for listeners binding to 0.0.0.0 or public IPs and validates advertised.listeners.
    • Security protocol audit verifies that security.protocol is not set to PLAINTEXT and ensures SASL/authorizers are active.
    • Vulnerability scanning detects high-risk JAAS configurations like LdapLoginModule (CVE-2025-27818) and missing JWKS endpoints.
    • Data protection check reviews auto.create.topics, replication factors, and min.insync.replicas to prevent data loss.
    • Resource limit analysis inspects producer/consumer quotas and log retention settings to mitigate DoS risks.
    • Secrets hygiene identifies hardcoded passwords in JAAS configs and unauthenticated JMX ports.

    How it works

    1. Targeting provides the path to the local project directory containing your Kafka configuration files.
    2. Analysis runs the local python scanner to evaluate the configuration against 10 distinct security categories.
    3. Validation confirms findings against actual lines in your .properties files without uploading any data.
    4. Reporting delivers a 0-100 score, a risk grade, a prioritised fix list, and a shareable PNG scorecard.

    Frameworks & tools

    This skill analyzes Java .properties files (specifically server.properties) and kafka-env.sh. It uses a local Python-based scanning engine.

    Why this beats prompting it yourself

    Generic prompts often miss specific Kafka-related CVEs or complex interactions between listener and advertisement settings. This skill provides a structured 100-point scoring system and a visual scorecard that standardizes security reviews across your team.

    Use cases

    • Audit a server.properties file found in a tutorial before deployment.
    • Verify that an AI-generated Kafka config meets production security standards.
    • Generate a security scorecard for client handovers or internal compliance reports.
    • Prevent RCE by catching JNDI or LDAP modules in JAAS configurations.

    Known limitations

    The skill only audits local static configuration files. It does not connect to live clusters, scan Dockerfiles, or perform full package-level CVE version scanning.

    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 .properties files only. Does not audit live clusters, Docker/Terraform files, or perform package version vulnerability scans. Files over 2MB are skipped.

    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 3 days ago

    Software
    Python 3Pillow

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed3 days ago

    What's inside

    Frequently Asked Questions

    The skill requires your Kafka `server.properties` and any associated Java configuration files (like `kafka-env.sh`) to be in a local directory accessible to your AI agent. It scans these files locally without uploading your sensitive configuration data to external servers.

    Unlike generic prompts, this skill uses a specialized Python engine to cross-reference settings against specific Kafka CVEs, such as the LdapLoginModule RCE risk. It provides a structured 0-100 score and a visual PNG scorecard, making results reproducible and professional for team handovers.

    No, this skill is a static configuration auditor designed for pre-deployment checks. It identifies risks within your property files but does not establish a network connection to your live brokers or perform runtime traffic analysis.

    This skill is compatible with any AI agent or platform that supports local file system access and Python-based tool execution. It is optimized for developers and DevOps engineers working in local or sandboxed IDE environments.

    You receive the specialized scanning logic, the 10-category security framework, and the reporting module that generates the risk grade and PNG scorecard. Updates for new Kafka security vulnerabilities and configuration best practices are included as the tool is maintained.

    New in LLM Ops