Safety model
Kimera’s safety controls limit what happens by default. They do not sandbox a technique that is told to run, and they do not validate technique parameters.
Dry run on the MCP server
Section titled “Dry run on the MCP server”The MCP attempt_technique tool defaults to dry_run=True and passes the value to the technique engine.
Under dry run the engine sends nothing to the cluster. An exec-mode technique resolves its probe script and returns it in raw_output without running it. An API-mode technique lists the calls it would issue and issues none.
The engine’s own default is to execute. Only the MCP tool supplies the preview default. kimera technique run executes unless its --dry-run flag is given, and kimera exploit --mode vulnerable ignores the global --dry-run. The authorized-use page lists each entry point.
A dry-run result carries dry_run: true, but its one-line summary reads BLOCKED. The outcomes page explains how to read a result.
Server-side dry run for admission checks
Section titled “Server-side dry run for admission checks”Admission checks submit each test pod with dry_run="All". The pod passes through every admission webhook and is never persisted. The defense validation page lists what else writes to the cluster.
Probe-pod deadline
Section titled “Probe-pod deadline”Network-policy validation creates one pod, kimera-netpol-probe, from busybox:1.36. It sets activeDeadlineSeconds: 300, runs sleep 300, and is limited to 10m CPU and 16Mi memory. Kimera deletes the pod in a finally block when the tests end.
The deadline is not a TTL. If the Kimera process dies before cleanup, Kubernetes stops the containers after 300 seconds and marks the pod Failed. The Pod object stays until it is deleted.
If a pod named kimera-netpol-probe already exists in the namespace, Kimera deletes it and creates its own.
Operation journal and revert
Section titled “Operation journal and revert”The journal is .kimera-state.json in the current working directory. kimera revert run from another directory finds no operations.
The journal records vulnerability injections, kimera apply, and kimera generate --apply. It records nothing from MCP attempt_technique or kimera technique run, so kimera revert cannot undo a technique’s effects. Deleted events (DE1) cannot be restored by any means.
kimera revert without an argument reverts the pending operations for the -n namespace. An apply entry is reverted by deleting every NetworkPolicy in the namespace labelled app.kubernetes.io/managed-by: kimera. A successful revert then deletes the whole journal file, including entries for other namespaces.
The service account is part of the test
Section titled “The service account is part of the test”The Helm chart grants its service account a deliberate scope, and Kimera reports what that access can reach. A finding is a statement about this access level, not about every identity in the cluster.
kimera-reader(ClusterRole) grants cluster-widegetandliston namespaces, pods, services, endpoints, service accounts, Secrets, ConfigMaps, workloads, NetworkPolicies and RBAC objects. It also grantscreateonselfsubjectaccessreviews.kimera-pentest(Role intargetNamespace) grantscreateon pods and deployments,create,deleteandgeton pods andpods/exec, andcreateanddeleteon NetworkPolicies.
The ClusterRole lets the service account read every Secret in the cluster. The chart describes the namespace write access as “dry-run safe”. RBAC authorizes a dry-run request exactly like a real one, so the service account can create real pods and deployments.
The MCP server configures no authentication. Over stdio the client is the process that started the server. Over --http, any client that reaches the endpoint can call every tool.
Known defect: technique parameters are not validated
Section titled “Known defect: technique parameters are not validated”Technique parameters are substituted into probe fields by plain string replacement, with no quoting or escaping. The values come from the MCP params argument, the CLI --param option, and the target namespace name.
The resolved script runs as shell inside the target pod. A value containing shell metacharacters therefore executes as shell there.
The parameters: block in a technique YAML is loaded but never read. No type, pattern or allow-list check applies to any value.
An agent that reads cluster state or untrusted text can be steered into passing such a value. Executing attacker-controlled input from cluster state or LLM output is in scope under SECURITY.md. A dry run returns the resolved script in raw_output, which is the only check available before execution.
All product names and logos are trademarks of their respective owners, used for identification only. No endorsement is implied.
