Skip to content

How we approach security hygiene for our Kafka tooling

Company
Derek Troy-West·December 2, 2026·9 min read

The pressure on engineering teams to keep their systems secure has risen noticeably over the past year. The volume of disclosed CVEs keeps growing, scanners run in more places, and the tools that sit close to your data now receive the same scrutiny as the data platform itself. A Kafka management tool is one of those tools: it holds connection details for your clusters, it can read your messages, and it’s often allowed to change things.

At Factor House we build Kpow for teams at payment networks, multinational companies and top-tier banks, and those teams expect a clear answer to the question “how do you keep this secure?”. This article is that answer, in practical terms. I’ve organised it into four parts: how we think about building software, the security that comes from Kpow’s design, the security that comes from our delivery process, and how we work with the teams who run Kpow.

Our philosophy

I’ve built distributed systems for a long time, and one idea has stayed with me throughout: good software is largely determined by the constraints it’s built with. The things a system isn’t allowed to do say as much about it as its feature list. That’s a conservative way to approach engineering, and it happens to be a very useful one for security.

When we started building Kpow seven years ago, we were deliberate about the constraints that we set, and we’ve kept them. Kpow ships as a single Java JAR file. It doesn’t store state anywhere, it doesn’t write to disk, and it doesn’t need a database. The only thing it needs in order to run is a connection to at least one Kafka cluster. Over those seven years the feature set has grown a great deal, and Kpow is now deployed in organisations with thousands of engineers, with multi-tenanted access across hundreds of teams. The constraints, however, remain the same.

Holding to those constraints takes discipline. At Factor House you can’t add a dependency to the project because it would save an afternoon, and you can’t introduce a new datastore or start writing files because it would make one feature easier. Each of those decisions would widen the surface area that you, as a customer, need to review, scan and patch. We would rather do the harder work on our side so that Kpow stays the simplest possible thing for your organisation to absorb.

The other part of our philosophy is transparency. Security claims are only useful if you can check them, so where we can, we publish the evidence rather than describe it. The rest of this article links to that evidence.

Security by design

The constraints above translate into a small and predictable runtime footprint. Kpow needs memory and a network connection, and nothing else. Because it doesn’t write to disk or keep local state, a whole category of problems doesn’t apply: there are no data files to protect, no embedded database to patch, and no state to recover after an incident.

We’ve recently applied the same thinking to how Kpow is deployed.

Read-only file system

Our Helm charts now run the Kpow container with a read-only root file system. Kpow runs the JAR inside a Docker container, and the container can’t write to its own disk. This is the principle of least privilege applied to storage: if the process has no reason to write, it isn’t given the ability to.

Docker Hardened Images

Kpow’s default images are built on Docker Hardened Images for Amazon Corretto on Alpine Linux. These images remove the packages and tooling a running service doesn’t need, including the shell and remote access tooling an operator might otherwise use to get into a running container.

A minimal dependency tree

Kpow’s core dependencies are the standard Apache Kafka Java client libraries and widely used, well-maintained network libraries such as Jetty. We actively keep the number of dependencies as small as we can and we manage every one of them directly, because each library you bring in also brings in its own CVE history.

How it fits together

None of this is unusual on its own, and you’ll find most of these practices in well-run platform teams. What makes it effective is that they compound. A single stateless JAR, run in a hardened container with a read-only disk, with a small and managed set of dependencies, gives you very little to secure beyond the network connection to your clusters.

Security by process

Design limits what can go wrong. Process is how we find and fix the problems that still appear, and most of our process is automated.

Much of it is standard software delivery practice. Every commit is peer reviewed. Every commit to every branch is built, compiled, unit tested, integration tested and linted, and then scanned for known vulnerabilities. I describe it here anyway because these are things you can’t always confirm about the tools you run, and I’d like you to be able to confirm them about ours.

Dependency scanning on every commit

We scan the Kpow JAR and all of its dependencies with OWASP Dependency-Check on every build. Dependency-Check compares each library against the National Vulnerability Database, which is maintained by the US National Institute of Standards and Technology (NIST).

The report from the build that becomes a release is published with that release. You can download it from the Security/CVE tab of each release’s notes, for example the Kpow 96.8 security report. The same scan also runs daily against our main branch, so we see newly disclosed CVEs against existing dependencies between releases.

Daily image and Helm chart scanning

A JAR scan only covers part of what we deliver. When you run Kpow from our Helm chart, you also run our container image and its base image, and we take responsibility for every part of that delivery, including the parts we didn’t write. We scan our published Helm charts daily with Trivy, a separate scanner that also reports vulnerabilities in the base image. That daily report is how we find out when a base image we depend on needs to be updated.

Dynamic testing

Alongside static scanning, we run dynamic application security testing (DAST) against our continuous delivery environment. DAST works like a scripted penetration test: it exercises the running application from the outside and looks for weaknesses in how it behaves, rather than in which libraries it contains.

Independent third-party scanning

We publish our Helm charts through Artifact Hub, the standard public registry for Helm charts. Artifact Hub scans each chart independently on its own schedule and publishes the results on the chart’s security report page. That gives you two places to check our security posture: the Dependency-Check report for the JAR on our releases page, and a third-party report for the container images on Artifact Hub.

Publishing a CVE report for every release is practical for us partly because of the design constraints described earlier. Kpow is one JAR in one container, so one report covers it. A product assembled from many separate services and datastores would need to report on each of them to give you the same view.

Our partnership

The practices above are part of what we deliver with the product. The other part is how we respond when something needs attention, and for many of our customers that’s the more important part.

How we prioritise security work

Kpow is regularly penetration tested by the organisations that run it. When a customer’s security team raises a finding, or when our own scans show that a dependency or base image needs to change, that work takes priority over everything else we’re doing, including feature work.

One example is public. In December 2024 a customer’s security team scanned Kpow and raised an issue on our GitHub tracker about a missing HTTP Strict-Transport-Security header. I replied the same day, we confirmed within four days that Kpow already set the header on every response except one redirect case, and the fix shipped in the next release, 94.1, with secure defaults that required no configuration.

Responding to critical CVEs

We don’t publish fixed remediation timelines for CVEs, and I think it’s worth explaining why. CVEs vary a great deal in severity, and most of the ones that affect a product like Kpow don’t originate in our code. They’re found in a library we use, a base image, or the JVM itself, and we can only ship a fix once the upstream project has shipped one. A promise of a fixed number of hours would sometimes be a promise we couldn’t keep.

What we can describe is what we do. When a CVE is significant enough to draw industry-wide attention, we release as soon as a fix is available to us. The recent Java4Shell vulnerability (CVE-2026-114938) is a good example. It’s a flaw in the JVM’s Base64 decoder rather than in Kpow, so it affected any Java application on affected hardware. We released Kpow 96.8, rebuilt on a patched Amazon Corretto runtime, within 24 hours of the patched base image becoming available. For images whose base hadn’t yet shipped a patched runtime, and for customers running Kpow as a JAR on their own JVM, the release notes include the JVM flag that disables the affected code path as an interim mitigation.

Incidents of this size used to come along every couple of years. It’s possible they’ll be far more frequent in 2027, and we’re adjusting our release process with that in mind. Historically we’ve released Kpow roughly monthly, when features were ready. We’re now set up to publish patch releases that only update base images and dependencies, with no feature changes, as often as they’re needed.

Why this matters for teams on fixed release windows

Many of our customers can’t deploy whenever a new version appears. One of our customers, a large financial services company, deploys to production every three months, which is common in regulated industries and isn’t going to change without a very good reason. When their window arrives, they need to pick up the most secure version available at that moment, because they won’t get another opportunity for three months. They also need to trust that the version they pick up has been through the process described above.

That trust is a large part of what our customers pay for, beyond the features in the product. A tool that runs this close to your data is something you’ll live with for years, and over that time you’ll want a supplier who scans what they ship, publishes the results, prioritises your security findings, and is accountable when something needs to be fixed. If you build or maintain that tooling yourself, your team takes on that role. That can be the right decision, and many teams make it well, but it’s worth going in knowing that the security work comes with the tool.

Whichever tools you choose, I’d encourage you to ask every supplier for the same evidence we publish: a vulnerability report per release, a recent example of how quickly a critical CVE reached a published fix, and a way to verify both independently. If a supplier can’t show you those, it’s reasonable to ask why. The more teams ask these questions, the more quickly they become a normal expectation across the industry.

Try Kpow for yourself

If you’d like to review our approach first-hand, the Kpow release notes include the CVE report for every release, and our Helm chart’s third-party scan results are on Artifact Hub. You can then try Kpow with a free 30-day trial, deploy it with Docker, Helm or a JAR, and connect it to any Kafka cluster in minutes.