Comparison

Keelix vs Lynis

Short answer: run both. Lynis is a battle-tested Linux host auditor with hundreds of individual tests and nearly two decades of community hardening knowledge. Keelix starts where Lynis ends — it grades the running containers, the internet-facing exposure, and the AI agents on the same box, rolling everything into one 0–100 posture score. Different surfaces. Different questions. No overlap.

Different tools, different questions

Where Lynis ends, Keelix begins

Side by side

KeelixLynis
Primary scopeWhole deployed box: host config, containers, outside-in exposure, AI-agent/MCP postureLinux/Unix host only — no container inspection, no network exposure checks
AI-agent / MCP posture✓ Auto-approval, plaintext secrets, unvetted MCP servers, lethal trifecta✗ No MCP or AI-agent checks
Docker container checks✓ Running containers, bind-mount risks, Docker socket exposure✗ Limited — can detect a running Docker daemon but does not inspect containers
Outside-in exposure✓ Shows what is actually reachable from the internet (0.0.0.0 bindings, open ports)✗ Not scanned — host-based only
Host config checks✓ 93 deterministic CIS/SOC 2/ISO 27001-mapped checks✓ Hundreds of individual security tests across SSH, packages, authentication, kernel, etc.
Score / output0–100 posture score + per-finding report, JSON/HTML/scan recordNumeric hardening index + prose warnings/suggestions log file
Compliance evidence✓ SOC 2, ISO 27001, CIS Docker Benchmark — shareable, audit-ready records✗ No structured compliance mapping or exportable evidence bundle
CI gate mechanismExit code on posture threshold (e.g. score ≥ 80); GitHub Action availableExit code available (--warning-count) but not natively suited to CI posture gates
Local-first / zero telemetry✓ Nothing leaves your box; secrets redacted at scan boundary✓ Runs entirely on-host; no network calls
LicenseApache-2.0GPL-3.0
PriceCLI free forever; Keelix Cloud (history, alerts, teams) — see /pricingFree; Lynis Enterprise (CISOfy) adds central management + extra plugins

Hardening index vs posture score

Recommended setup: run both in sequence

Example: Lynis weekly cron + Keelix CI gate
# Weekly host hardening audit (cron or CI on OS change)
lynis audit system --cronjob

# Pre-deploy posture gate in GitHub Actions
- name: Keelix posture gate
  uses: jakelamon/keelix@v0.1.0
  with:
    threshold: 80
    fail-on: mcp-auto-approval,mcp-secrets,docker-exposed

Lynis hardens the host layer. Keelix gates the deployment. Neither replaces the other.

Frequently asked

What does Lynis not cover that Keelix does?
Lynis audits the Linux/Unix host — SSH config, kernel parameters, package state, authentication controls. It does not inspect running Docker containers, check what ports are reachable from the internet, or grade AI agents and MCP servers for auto-approval or plaintext secrets. Keelix covers all four of those surfaces together.
Does Lynis scan Docker containers?
Lynis can detect that Docker is installed and running, and it will flag some Docker-daemon-level settings. It does not inspect individual running containers, bind-mount configurations, or Docker socket exposure. Keelix's container checks cover the Docker daemon, running containers, and the outside-in network exposure that Docker's iptables rules create. [Lynis — CISOfy ↗]
Can I use Lynis and Keelix together?
Yes — and that is the recommended approach. Lynis gives you depth on the Linux host layer: SSH hardening, authentication policy, package audits, and hundreds of individual tests built up over nearly two decades. Keelix adds the container, exposure, and AI/MCP layer that Lynis does not touch. Together they cover the whole deployed box.
What is the Lynis hardening index?
The Lynis hardening index is a number shown at the end of each scan. It is an indicator of the hardening measures detected, not a precise risk percentage — the Lynis documentation explicitly cautions that a higher number only reflects measures taken, not absolute safety. Keelix's 0–100 posture score is a comparable single-number summary, but it maps each check to CIS, SOC 2, and ISO 27001 controls and exports audit-ready evidence. [Lynis Hardening Index — Linux Audit ↗]
Is Keelix a Lynis replacement?
No. If you are hardening a Linux host, Lynis's hundreds of host-layer checks and its years of community tests are valuable — especially for SSH configuration, kernel hardening, and authentication audits. Keelix's host checks focus on the 93 controls that map to CIS Docker Benchmark, SOC 2, and ISO 27001 — they complement rather than duplicate Lynis. The right framing is: run Lynis for host hardening depth, run Keelix to grade the whole deployed box including containers and AI agents.

Add the container, exposure, and AI/MCP layer Lynis cannot reach.

Free, local-first, Apache-2.0. Run it alongside Lynis — not instead of it.

operator@host — keelix
# install — free & open source (Apache-2.0)
$ curl -fsSL https://keelix.dev/install.sh | sh
$ keelix scan