Where your attack paths meet, and what a change would close

Palari lists the objects your most valuable attack paths go through. Your agent says a change closes a path only after Palari has checked it, and tells you what would still reach the target.

Attack paths share objects, so one change can break several

A choke point is an object your most valuable attack paths go through, in a place you can change: the way in, an object on the way such as a workload, or the binding behind a grant.

Why not just fix the findings on each path?

  • A change to a shared step can break every path through it

    Attack paths in one cluster often run through the same objects, such as the Service the Internet comes in by and the Pods behind it. A fix on a step only one path takes can break only that path.

  • The step to change may have no finding

    A finding judges one object against one rule. A RoleBinding that lets an app’s token read every Secret in its namespace may have no finding of its own, though the path to those Secrets needs it.

  • A path can go round a change

    Delete a Pod, and the same paths go on through its other replicas while its ReplicaSet makes a new one. The Kubernetes documentation says: “If you manually delete a Pod, the lifecycle is controlled by the ReplicaSet and the replacement will be created immediately”. Remove a binding, and a second one may grant the same permission.

    Kubernetes documentation, “Deployments”, last modified July 7, 2026

  • A resolved finding isn’t a closed path

    One step can rest on more than one setting. A Pod can take over its node because it runs privileged and because it mounts the container runtime’s socket. Dropping privileged: true resolves its finding, but the path stays open through the socket.

Palari finds the objects the most valuable paths share, with a finding or without one. Before you remove one, it checks whether a path would go round it.

What should we change first in prod?

Exposure management ranked the two attack paths in prod: AP-002 to a node, then AP-001 to the Secrets in payments. Your team will change one thing this week, and asks its agent where:

Of the objects on those two paths, which should we change first?

Without Palari, the agent has to:

  1. Trace

    Trace every path, from its way in to what it reaches.

    The Attack paths page’s work, once for each path. Attack paths

  2. Line up

    Line the paths up and find the objects more than one goes through, counting a workload’s replicas once.

    Reads each Pod’s owner, up to its Deployment.

  3. Weigh

    Weigh each shared object by what its paths reach.

    No object in the cluster records what a target is worth.

  4. Look for a way round

    For each change worth making, look for a way round: another replica, a second binding, another way in.

    Reads every binding, role and Service again, once for each change.

With Palari, it’s one command. It returns the objects the paths go through, from the cluster’s latest graph build, highest score first:

$ palari posture attack-paths choke-points4 choke points in prod, the objects the most valuable attack paths go through. First: Deployment/payments/web: paths through it carry up to 5.0 (AP-002, host access on the nodes), to 2 Medium or High targets; on 2 critical paths of AP-001 and AP-002. #   OBJECT                                   SCORE   TOP OUTCOME                            VALUED TARGETS   PATHS        QUERIES                  POSITION     FINDINGS            1   Deployment/payments/web                  5.0     AP-002, host access on the nodes       2                2 critical   AP-001 (1), AP-002 (1)   on the way   1 critical, 1 medium2   Service/payments/web                     5.0     AP-002, host access on the nodes       2                2 critical   AP-001 (1), AP-002 (1)   entry        1 low               3   RoleBinding/payments/web-secret-reader   1.75    AP-001, read the Secrets in payments   1                1 critical   AP-001 (1)               grants       -                   4   ServiceAccount/payments/web              1.75    AP-001, read the Secrets in payments   1                1 critical   AP-001 (1)               on the way   -                   

How to read the run

  1. The first line is the answer. Start with the Deployment web: AP-002, the highest-scoring path, goes through it to the node.

  2. SCORE sets the order. It’s the highest score of a path through the object. Both paths go through the Deployment and its Service, to two targets worth Medium or High (VALUED TARGETS): the nodes and the Secrets in payments. Only AP-001 goes through the binding and the ServiceAccount.

Where to make the change

  1. Only what you can change is listed. Each object sits at the way in (entry), on the way, or behind a grant (grants). The node and the Secrets, where the paths end, aren’t listed, because they’re what you protect.

  2. The findings say what to change, where there are any. The Deployment’s critical finding is K8S-001: its container runs privileged, which is the step to the node. The Service has one low finding, and the RoleBinding none, though it lets web’s token read the Secrets.

A score isn’t a fix. 5.0 is the score AP-002 carries through the Deployment. What a change there would close is the next question: Will this change help?

The end: what you protect exposes routes to can take over runs as can read Secrets 1 2 4 3 Deployment web on the way K8S-001 critical Internet Service web entry K8S-032 low node lke-pool-1-5d8c worth High · score 5.0 ServiceAccount web on the way 3 Secrets in payments worth Medium · score 1.75 RoleBinding web-secret-reader grants · no finding exposes routes to can take over runs as can read Secrets 1 2 4 3 Deployment web on the way K8S-001 critical Internet Service web entry K8S-032 low node lke-pool-1-5d8c worth High · score 5.0 The end: what you protect ServiceAccount web on the way RoleBinding web-secret-reader grants · no finding 3 Secrets in payments worth Medium · score 1.75 The end: what you protect
Drawn from the choke points above and AP-001’s path in prod.

Will this change help?

In prod, Palari Detect saw someone run a command in one of web’s Pods, web-7f9c6d8b5-x2k4q. During an incident, deleting that Pod feels like the fix, so before anyone runs kubectl delete, your team asks its agent:

If we delete Pod web-7f9c6d8b5-x2k4q, do the paths through it close?

With Palari, the agent asks first. By hand, it would look for every way round this one change, as in the last step above. Palari runs the attack-path queries again without the Pod:

$ palari posture attack-paths evaluate --remove po/web-7f9c6d8b5-x2k4q -n paymentsRemoving Pod/payments/web-7f9c6d8b5-x2k4q in prod closes none of the 2 outcomes it touches; 2 stay reachable on their paths (AP-002, host access on the nodes; AP-001, read the Secrets in payments, through RoleBinding/payments/web-secret-reader). STATUS      QUERY    PATH                             ENTRY      OUTCOME                        PATHS   STILL THROUGH                         reachable   AP-002   Take over node lke-pool-1-5d8c   Internet   host access on the nodes       2 → 1   the path's other members              reachable   AP-001   Read 3 Secrets in payments       Internet   read the Secrets in payments   2 → 1   RoleBinding/payments/web-secret-readerpalari posture attack-paths evaluate: It only reads: nothing changed. What it can't see: Only observed paths: a path the build doesn't have can't be evaluated. A change can create paths (a binding moved elsewhere, a workload recreated); the evaluation doesn't see them. Once the change is made in the cluster, palari posture attack-paths diff <query> after the next graph build shows what closed.
  1. The first line is the answer. Deleting the Pod closes neither outcome it touches. An outcome is what a path ends with: here, host access on the nodes and reading the Secrets in payments.

  2. STILL THROUGH says why. The path to the node still goes through the Deployment’s other Pod, and RoleBinding web-secret-reader still lets web’s token read the Secrets. Each path drops from 2 Pods to 1 (PATHS), and the ReplicaSet makes a new Pod at once.

  3. The last line says what it can’t see, and what to run once the change is made.

Deployment web exposes routes to can take over runs as can read Secrets Internet Service web web-7f9c6d8b5-x2k4q threat web-7f9c6d8b5-q8m3z new Pod node lke-pool-1-5d8c ServiceAccount web 3 Secrets in payments RoleBinding web-secret-reader grants Deployment web exposes can take over runs as can read Secrets Internet Service web web-7f9c6d8b5-x2k4q threat new Pod web-7f9c6d8b5-q8m3z node lke-pool-1-5d8c ServiceAccount web RoleBinding web-secret-reader grants 3 Secrets in payments
Drawn from the evaluation above and AP-001’s path in prod.

Each outcome gets one of three answers

  • Closed

    After the change, no path in the build gives this outcome, and nothing else reaches its target.

  • Reachable elsewhere

    The path no longer gives this outcome, but other outcomes still reach its target, or part of it. Each names how its path comes in, so a target the Internet reached may now be reachable only from inside the cluster.

  • Still reachable on the path

    The path survives the change: another binding grants the same permission, or another replica goes round it.

How it works

Six steps from where the paths meet to what closed

Palari runs the first four steps on every graph build. Ask the fifth before you make a change, and the next build answers the sixth.

  1. Note each object’s place

    Palari notes every object on each attack path and where it sits: at the way in, on the way, behind a grant or at the end.

  2. List the objects you can change

    What paths only end at, such as the Secrets read or the node taken over, is what you protect, so Palari leaves it out. A workload stands in for its Pods, because it would replace a deleted one.

  3. Order by score

    The first object is the one with the highest-scoring path through it, so one path to a valuable target outranks many paths to minor ones.

  4. Show each object’s paths and findings

    Each object comes with what its paths reach, its paths by query and its open findings.

  5. Check the change first

    Ask what removing an object, or no longer mounting a workload’s token, would close. Palari runs the attack-path queries again without it.

  6. See what closed

    The next graph build lists the paths that closed since the build before, whatever closed them.

For agents

Your agent checks a change before it says the path is closed

Without Palari, an agent that proposes a fix reports the path closed once the step it changed is gone. With Palari, it calls a path closed only when Palari’s evaluation or the next build does.

  • Where to start, and why. Asked what to change first, the agent starts at the first choke point and explains its place from the run: the most valuable paths go through it, with the score they carry and the targets they reach.

  • Removals and tokens, evaluated. For a change that removes an object or unmounts a token, the agent asks Palari what it would close. Without an evaluation, it says only that the change breaks a step and that another route may remain.

  • What’s left, and what it needs. When other paths still reach the target, the agent compares them with the one the change removes. It says the outcome isn’t closed, and what the remaining paths need that the removed one didn’t, such as a foothold inside the cluster.

  • Confirmed after the next build. Once your team makes the change, the agent reads the next build’s diff to see what closed. It doesn’t apply the change to the cluster itself, so the change goes through your team’s review.

All four come from the Agent Skill, most of them from its “Explain an attack path” workflow.

$ palari posture attack-paths choke-points --jq '.breadcrumbs[].cmd'palari posture resources show Deployment/web -n paymentspalari posture attack-paths ranked --through Deployment/web -n paymentspalari posture attack-paths show AP-002

The answer names the commands to run next:

  1. The first choke point
  2. The paths through it, by score
  3. The query of its top path

None of these commands changes anything.

For people

Your team reads the same list in the console

They sign in with your identity provider, so whoever decides what changes first doesn’t need cluster access.

Every choke point, and what its paths reach

The Choke points page is the run’s list, with each object’s targets beside it. Each query’s count opens its paths through the object, and the findings open on the Findings page. The overview shows the first five, the Attack paths page the first three, and each object’s page its place in the list.

The console’s Choke points page on a demo cluster. Deployment vuln-shop/web is first, on the way, and its Service second, at the entry. The paths through each carry up to 5.0, from AP-002’s takeover of node palari-dev-control-plane, and reach 3 Medium or High targets. The Deployment has 14 open findings, the worst critical, and the Service 1 low. The Deployment and ServiceAccount of vuln-cloud/s3-sync follow at 5.0, from AP-009. Each row links to “What would this change?”
On a demo cluster, which is built to be insecure.

The paths through one choke point, on the graph

From a row, you open a query with only the paths through that object, drawn on the cluster’s graph. Six paths through the Deployment s3-sync turn out to be one route to the cluster, with six ways to take it over at the end.

Query AP-009 in the console, with only the paths through the Pods of Deployment vuln-cloud/s3-sync: 6 paths, whose top choke point is aws-auth’s mapping to system:masters, on 6 of 6. Each runs from Pod s3-sync-5c57669ffb-nsdxm as ServiceAccount s3-sync, assumes a cloud identity and signs in as the group system:masters to cluster kind-palari-dev, where the route fans out to six ways of taking it over. Beside the graph, Path 1 lists those steps and its score, 5.0.
On a demo cluster, which is built to be insecure.

Check a change from the list

Each row of Choke points has “What would this change?”. Choose to remove the object or, for a workload, to stop mounting its token, and the console says which outcomes close and which are still reached elsewhere.

The console’s “What would this change?” dialog for Deployment vuln-shop/web, with Remove the Deployment chosen over Stop mounting its token. It closes 1 outcome: AP-007’s path from the Internet to the Deployment’s open finding, K8S-001, privileged container. 2 outcomes are reachable elsewhere. The one shown, reading the Secrets of namespace vuln-shop, is still reached by other paths, among them AP-001, AP-003, AP-004, AP-005 and AP-009, some from the Internet and some from inside the cluster.
On a demo cluster, which is built to be insecure. The change here removes Deployment vuln-shop/web and its Pods, not one Pod.

Find where the paths meet in one of your clusters

You install Palari with Helm in your own cluster, and it reads the cluster with list and watch only. After the first graph build, Palari lists the cluster’s choke points. Put your agent on the first line of defense: it investigates, your team decides.