The paths an attacker could take through your clusters
Palari finds them in each cluster, from the Internet or inside the cluster to a Secret, a node or control of the cluster. Each step shows the setting behind it, so your agent can explain a path from Palari’s answer instead of piecing it together by hand.
Your agent
Could someone on the Internet read the Secrets in payments?
Tracing it by hand · from both ends
? an answer that can’t say what it left out
Asking Palari · one command
$ palari posture attack-paths show AP-001
AP-001 finds 2 paths in prod, 1 distinct: Internet-exposed pod whose ServiceAccount can read Secrets. Its top score is 1.75: read the Secrets in payments (Medium). It is live: a recent threat is on its way. reads
Palari
The paths on the cluster’s latest graph build
An attack path is made of your cluster’s own settings
An attack path starts where someone could get in, from the Internet or from inside the cluster, and ends at something worth having: a Secret, a node, control of the cluster. Each step in between is a setting your cluster already has.
Isn’t an attack path just theory?
-
Every step is a setting you can look up
Each step is an object in your cluster and the setting that lets someone move on from it. Anyone on your team can open the object with kubectl and see the setting.
-
Only getting in needs a flaw
Someone first has to get code running in a Pod, through a flaw in its app or image. Palari doesn’t try any exploits. From there, each step is the cluster doing what it’s configured to do: Kubernetes gives a Pod its ServiceAccount’s credentials by default.
Kubernetes documentation, “Service Accounts”, last modified March 16, 2026
-
Initial access T1190 Exploit Public-Facing Application Credential access T1528 Steal Application Access Token T1552.007 Unsecured Credentials: Container API The paths use known attacker techniques
Each kind of path names the MITRE ATT&CK techniques it uses, as here for the path drawn above. MITRE describes ATT&CK as “a globally-accessible knowledge base of adversary tactics and techniques based on real-world observations”.
-
Established the build shows every step Unverified a check Palari hasn’t made could stop it Conditional one step is outside what Palari models Palari says how sure it is
For each path, Palari says what someone would get from it, how sure it is of that, and why.
Palari follows each path from where someone gets in to what they’d get, and shows the setting behind every step.
Could someone on the Internet read your Secrets?
Namespace payments holds stripe-key, the Stripe API key. A security review asks this about every namespace with
Secrets that matter. Your agent gets the same question when someone asks whether a key needs rotating:
Could someone on the Internet read the Secrets in payments, stripe-key among them?
Without Palari, the agent has to work it out from both ends:
- Grants
Find every binding that lets someone read Secrets in
payments: RoleBindings, ClusterRoleBindings, their roles, aggregated ClusterRoles and the groups they name.RoleBindingevery oneClusterRoleBindingevery oneRole,ClusterRoleevery one
- Pods
Find the Pods that run as each ServiceAccount those bindings name, and whether each mounts its token.
Podin each namespace a binding names
- Ways in
Find which of those Pods the Internet reaches, through a load balancer, a node port, an Ingress, a gateway’s routes or a host port.
Serviceevery oneIngressevery oneGatewayand its routes every one
- Again
Do it all again after the next deploy, because a new binding or Service can open a path.
Nothing in the cluster says when one did.
With Palari, it’s one query. AP-001 looks for exactly this, an Internet-exposed Pod whose ServiceAccount can read Secrets, on the cluster’s latest graph build:
$ palari posture attack-paths show AP-001AP-001 finds 2 paths in prod, 1 distinct: Internet-exposed pod whose ServiceAccount can read Secrets. Its top score is 1.75: read the Secrets in payments (Medium). It is live: a recent threat is on its way. Query: AP-001: Internet-exposed pod whose ServiceAccount can read SecretsSeverity: criticalTactics: initial-access, credential-accessTechniques: T1190 Exploit Public-Facing Application (initial-access) T1528 Steal Application Access Token (credential-access) T1552.007 Unsecured Credentials: Container API (credential-access)Cluster: prodBuild: b0d1e2f3-a4b5-4c6d-8e7f-9a0b1c2d3e4f, finished 2026-11-22T11:40:12Z (19m ago)Params: require_failing_finding=falsePath 1: Internet → Service/payments/web → Pod/payments/web-7f9c6d8b5-* (2 Pods) → ServiceAccount/payments/web → Namespace/payments 2 paths counted as one: the same but for the Pods they go through (web-7f9c6d8b5-q8m3z, web-7f9c6d8b5-x2k4q) Way in: LoadBalancer :443, open: nothing restricts it Impact: Read 3 Secrets in payments Outcome: read the Secrets in payments: Medium (5) × read (0.7) × established (1.0) × from the Internet (0.5) = 1.75 Certainty: established (the build shows it) Value: Medium (its most valuable member, Secret/payments/stripe-key) Through: RoleBinding/payments/web-secret-reader Live: 2 recent threats (open or acknowledged, an event in the last 24 hours), one on its way Threat: 7c1d9e2f-3a4b-4c5d-8e6f-7a8b9c0d1e2f (high, open, last event 7m ago) on Deployment/payments/web (through one of its Pods), on the way: [email protected] ran a command in Pod payments/web-7f9c6d8b5-x2k4q Threat: 8d2e0f3a-4b5c-4d6e-9f7a-8b9c0d1e2f3a (high, acknowledged, last event 10m ago) on Deployment/payments/web (through one of its Pods), on the way: Pod payments/web-7f9c6d8b5-x2k4q's token read Secrets after an exec Findings: Service/payments/web K8S-032 low; Pod/payments/web-7f9c6d8b5-* K8S-001 critical, K8S-005 medium; Namespace/payments K8S-030 medium How to read the run
-
The first line is the answer. Yes, one path leads from the Internet to the Secrets in
payments, and a recent threat is on it. -
Each step is a setting you can check.
Path 1lists every object on the way, and web’s two Pods count as one path. The way in is the load balancer on port 443, open to any address.Throughshows the grant behind the last step, RoleBindingweb-secret-reader.Certainty: establishedmeans the build shows every step.
What the findings list can’t say
-
The path barely shows in the findings. The RoleBinding has no finding of its own, and the load balancer’s finding,
K8S-032, is low. The worst finding on the way,K8S-001on the Pods, flags a privileged container. That’s a step of the other path, AP-002, to the node. -
It is live. In the last day, Palari Detect saw someone run a command in one of web’s Pods, and then that Pod’s token read Secrets. Someone may be on this path now.
The Deployment web mounts stripe-key itself because the app uses it, so code in its Pods can read that key without the
token. The token can read every other Secret in payments too, and nothing in web’s YAML shows that.
palari posture access who-can get secrets -n payments and palari posture attack-paths show AP-001.
The next questions, from the same build
| Question | Command | What it answers |
|---|---|---|
| Is the path new? | 2 attack paths in prod (4 exact paths), from 2 of 2 queries: AP-001 (1), AP-002 (1). Since the build before: 1 new, 0 closed.AP-001’s is the new one. Compare with the build before | |
| What did the threat on it do? | Open threat DET-AUD-001 (high): [email protected] ran a command in Pod payments/web-7f9c6d8b5-x2k4q, last event 7m ago. Its subject, worth Medium, is on 2 scored attack paths; the top: AP-002 (5.0), host access on the nodes.Palari Detect, on the path | |
| Where else could someone in web go? | Pod/payments/web-7f9c6d8b5-x2k4q reaches 3 Secrets in 1 namespace, 1 Pod, 1 ServiceAccount and 1 node within 3 steps. …One graph, the blast radius |
How it works
Six steps from each graph build to the paths a threat is on
Palari runs the first five steps on every graph build, and the sixth each time you read the paths. You can see each one in the console and the CLI.
-
Look for each kind of path
Every 15 minutes, Palari builds a new graph of each cluster that changed. It runs a query on it for each kind of path. If no query describes a path, Palari won’t find it.
-
Count a workload once
A Deployment’s replicas make one path. So do a DaemonSet’s Pods on every node, and the new Pods a rollout starts. The path says how many Pods it goes through.
-
Show each step’s setting
Each step shows its object and the setting that puts it on the path. Palari’s rules check that setting with the same code, so a finding and the step it explains agree.
-
Say what someone would get
Each path ends with what it gives someone, such as reading a namespace’s Secrets or taking over a node. Palari scores the path by what that’s worth.
-
Compare with the build before
Palari marks each path as new, changed or closed since the previous build. Restarting, scaling or rolling out a workload doesn’t count as a change. After a fix, the next build lists the paths that closed, whatever closed them.
-
Mark the live ones
If you run Palari Detect, a path is live when an open or acknowledged threat from the last 24 hours sits where the path starts, on an object along it, or on a binding behind it. A threat only at the target doesn’t make the path live. Being live doesn’t change a path’s score.
When a path is live, read its threats first. They say what someone did on the way.
For agents
Your agent explains the path, and the change that breaks it
Without Palari, an agent that says a Secret is reachable gives you the hops it traced and its own guess at how sure it is. With Palari, it explains the path Palari found, the setting behind each step and how sure Palari is.
-
Each step, from its setting. The agent reads the setting behind each step: the load balancer’s ports and who may connect, whether the Pod mounts its token, and the binding and Role behind a grant. It explains the path from those, and passes on Palari’s certainty with its reason.
-
The smallest change that breaks it. It looks for the step the workload needs least. Often that’s the token, when the app never calls the Kubernetes API. The Kubernetes documentation advises: “Avoid the default auto-mounting of service account tokens by setting
automountServiceAccountToken: false.” Otherwise it narrows a Role, dropsprivilegedor makes a Service internal. It reads the manifest first and says what the change could break. Before it says the change closes the path, it has Palari evaluate it.Kubernetes documentation, “Role Based Access Control Good Practices”, last modified August 18, 2026
-
Live means recent, and no more. A live path has a threat from the last day on its way. The agent says that, and never that the path was taken. Before it says no path is live, it checks that Palari Detect is collecting the logs it reads.
-
A link is enough. Someone on your team pastes a path’s link from the console, and the agent explains that one path.
Each is a step of the Agent Skill’s “Explain an attack path” workflow. CLI and the Agent Skill
$ palari posture findings show 4b2e8c1a-7d3f-4e5a-9b6c-1d2e3f4a5b6c --jq '.breadcrumbs[].cmd'palari posture rules show K8S-001 --cluster prodpalari posture resources show Deployment/web -n payments --cluster prodpalari posture attack-paths show AP-001 --cluster prodpalari posture attack-paths show AP-002 --cluster prod For people
Your team reads the same paths in the console
Your team signs in with your identity provider, so whoever reviews a path doesn’t need cluster access. The Queries tab lists every query with its paths on each cluster, and how many are new or closed since the last build. Each query has a page of its own.
Each path on the cluster’s graph
A query’s page draws its paths on the cluster’s graph, with a card for each path beside it: its steps in words, its way in, what it gives someone and its score. The paths through one workload’s replicas share a card, which says how many Pods they go through. Point at a step, and the console tells you in one sentence why it’s there.
The same paths as a table, and what changed
The table lists each path with its score, its way in and what guards it, its target, what it gives someone and its open findings. The Changes since the previous build tab lists the paths that are new, changed or closed, each drawn from the build that has it.
Live paths: a live path’s card says so and lists its recent threats. On the Attack paths page, the By score tab can show only the live ones.
Read the attack paths in one of your clusters
Palari installs with Helm in your own cluster and only reads it, with list and watch. Connect one cluster. After its first graph build, you can read each path someone could take there, step by step, and see which ones have a threat on them. Put your agent on the first line of defense: it investigates, your team decides.