Works with the AI Agents you already use
Kafka Broker Config Security Audit
by CashonlyTian
- **Data protection check** reviews `auto.create.topics`, replication factors, and `min.insync.replicas` to prevent data loss.
$7
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
| Check | Score | Status |
|---|---|---|
| Network Exposure | 0/15 | FAILED: Listeners bound to 0.0.0.0 |
| Authentication | 0/15 | FAILED: PLAINTEXT protocol enabled, no SASL |
| TLS Encryption | 0/15 | FAILED: No SSL/TLS configured |
| JAAS/OAuth RCE | 0/10 | FAILED: LdapLoginModule detected |
| Topic Protection | 0/10 | FAILED: Replication factor 1, auto.create.topics enabled |
| Quota Limits | 0/10 | FAILED: No quotas configured |
| Resource Limits | 0/10 | FAILED: No resource limits configured |
| Cluster Coordination | 2/5 | FAILED: ZooKeeper with no ACL |
| Secrets Hygiene | 0/5 | FAILED: Plaintext passwords in config |
| JMX Exposure | 0/5 | FAILED: 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.mdfor 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.0or public IPs and validatesadvertised.listeners. - Security protocol audit verifies that
security.protocolis not set toPLAINTEXTand 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, andmin.insync.replicasto 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
- Targeting provides the path to the local project directory containing your Kafka configuration files.
- Analysis runs the local python scanner to evaluate the configuration against 10 distinct security categories.
- Validation confirms findings against actual lines in your
.propertiesfiles without uploading any data. - 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.propertiesfile 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
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