The ways into your clusters, and what to fix first

Palari finds where the Internet reaches each cluster, follows the attack paths from there and ranks them by the value of what they reach. Your agent asks what to fix first, instead of sorting findings by severity and guessing which ones matter.

What to fix first depends on your cluster

Why not just sort the findings by severity?

  • A severity is the same in every cluster

    A CVE’s base score “assumes the reasonable worst-case impact across different deployed environments”. FIRST, which maintains the standard, says base scores “are not risk, and should not be used alone for patch prioritization”. Palari’s own rules work the same way. K8S-001, a privileged container, is critical on a Pod behind a public load balancer, and just as critical on a batch Job nothing can reach.

    How each finding gets its severity

  • A path can be made of settings alone

    In a cluster, a path to a node or a Secret can be made of settings alone: a Service open to any address, the ServiceAccount credentials Kubernetes gives a Pod by default, a Role that reads Secrets, privileged: true. No CVE list holds them, and no patch closes them. The sample cluster prod has no CVE finding, and it still has two attack paths.

  • The list doesn’t know what’s worth protecting

    To a list, Stripe’s live API key and a load generator’s settings are both a Secret in a namespace, and the findings on them look the same. Only your team knows which one moves money.

  • An agent’s own order can’t be checked

    When you ask an agent what to fix first, it builds its own order from the list, guessing which Pods look exposed and which Secrets look important. It builds a new one each time you ask, without saying why one item comes before another, so nobody can check it or tell whether next week’s order changed because the cluster did.

CISA weighs exposure when ordering patches

CISA, the US government’s cybersecurity agency, tells federal agencies to prioritize their patches by four factors: “asset exposure, KEV status, exploit automation, and post-exploitation technical impact”. FIRST calls the directive, BOD 26-04, “a model for other organizations to use or adapt”. It binds only federal agencies, and Palari doesn’t make anyone compliant with it.

Trivy Operator is Trivy’s in-cluster scanner, which writes a report on each workload’s images. Palari doesn’t install it, and without it there are no CVE findings.

CISA’s four factors, and what Palari reads for each
CISA’s factor What Palari reads
Asset exposure The ways in from the Internet, as the cluster’s objects configure them, and who may connect to each. Find the ways in
KEV status TRIVY-004, a finding on a workload when Trivy Operator’s report on one of its images lists a CVE in CISA’s catalogue of Known Exploited Vulnerabilities. Known exploited vulnerabilities
Exploit automation Palari doesn’t judge it.
Post-exploitation technical impact What the attack paths from the workload would let someone do in the cluster, such as take over a node or read Secrets. Palari doesn’t judge what exploiting the CVE itself gives. The paths in prod, scored

Palari orders the work by what each path reaches in your cluster, and says why.

What should we fix first in prod?

A platform team asks it in its weekly security review, and hands it to its agent to pick this week’s fix:

Of everything Palari found in prod, what should we fix first?

From the cluster’s objects and a findings list, the agent has to:

  1. Ways in

    Find every LoadBalancer and NodePort Service, external IP, Ingress, gateway and host port, and who may connect to each: source ranges, a cloud firewall, NetworkPolicies.

    • Service every one
    • Ingress every one
    • Gateway and its routes every one
    • Pod every one’s ports
    • NetworkPolicy every one
  2. Paths

    From each way in, follow the hops to what it reaches: the Pods behind it, their tokens, their bindings, their host access.

    The graph page’s four steps, once for each way in.

  3. Worth

    Decide which targets matter: which Secret holds a payment key, which namespace is a scratch environment.

    No object in the cluster records it, so the agent asks you or guesses.

  4. Order

    Weigh it all into one list, and explain it the same way next week.

    No file holds the order, so the agent works it out on its own.

With Palari, it’s one command. It returns the paths from the cluster’s latest graph build, scored by the values your team set:

$ palari posture attack-paths ranked2 attack paths in prod, by score. Top: AP-002 (critical), score 5.0, Take over node lke-pool-1-5d8c: host access on the nodes (High) from the Internet. 2 of them are live: a recent threat is on their way. #   SCORE   QUERY               TITLE                            TOP OUTCOME                             CERTAINTY     ENTRY                            THREATS        1   5.0     AP-002 (critical)   Take over node lke-pool-1-5d8c   host access on the nodes (High)         established   Internet, Service/payments/web   live: 2 threats2   1.75    AP-001 (critical)   Read 3 Secrets in payments       read the Secrets in payments (Medium)   established   Internet, Service/payments/web   live: 2 threats

How to read the run

  1. The first line is the answer. It names the path to fix first.

  2. The score weighs what a path reaches, and how. Its factors are what the target is worth, what the path lets someone do there, how certain each step is and where it starts. AP-002 takes over a node, which is worth High because the cluster is. AP-001 reads the Secrets in payments, which are worth Medium. A sort by severity would tie them, since both queries are critical.

What a severity sort can’t say

  1. The two paths share one way in, Service/payments/web. Its load balancer accepts any address. The finding that says so, K8S-032, is low, so a severity sort puts it last.

  2. Both are live. In the last day, Palari Detect saw someone run a command in one of web’s Pods, and both paths go through that Pod. Being live tells you someone may be using a path right now, and leaves its score unchanged.

exposes routes to can take over runs as can read Secrets Entry point Internet Service web Pod web (2 Pods) ServiceAccount web LoadBalancer :443, open K8S-032 low K8S-001 critical live the way in Node lke-pool-1-5d8c worth High 5.0 Secrets 3 Secrets in payments worth Medium 1.75 Entry point Internet exposes Service web routes to Pod web (2 Pods) can take over Node lke-pool-1-5d8c worth High 5.0 runs as ServiceAccount web can read Secrets Secrets 3 Secrets in payments worth Medium 1.75 LoadBalancer :443, open K8S-032 low K8S-001 critical live the way in
Drawn from palari posture attack-paths ranked and palari posture attack-paths show AP-001, on a sample cluster from the CLI’s documentation.

How it works

Six steps from what’s worth protecting to the fix

Your team owns the two ends, and Palari runs the four steps between them on every graph build.

  1. Your team

    Say what’s worth protecting

    Give what matters most a value, such as High for the Secret that holds your payment key. Until you do, Palari ranks by its defaults.

    Console
    Asset values
    CLI
    palari posture values rules create
  2. Each graph build

    Find the ways in

    Palari finds the ways in from the Internet, as the cluster’s objects configure them, and who may connect to each. A blocked one still shows its paths, because what blocks it can change.

    Console
    Exposure
    CLI
    palari posture graph exposure
  3. Each graph build

    Follow where they lead

    Attack paths start at each way in and inside the cluster. Palari follows them to what they reach, such as a node or a namespace’s Secrets.

    Console
    Attack paths
    CLI
    palari posture attack-paths list
  4. Each graph build

    Rank by score

    Every path from every query goes into one list, the one to fix first at the top.

    CLI
    palari posture attack-paths ranked
  5. Each graph build

    Start where the paths meet

    Palari names the objects the most valuable paths go through, and says what a change there would close before you make it.

    Console
    Choke points
    CLI
    palari posture attack-paths choke-points
  6. Your team

    Fix it, or accept it

    Fix it where it’s deployed, or accept the risk with a reason and an end date. Each day, the trend counts the High assets a path reaches.

    CLI
    palari posture attack-paths accept

Palari reads the cluster’s objects and never probes from outside. It sees what an outside scan can’t: the Pod behind each address, its token, its bindings and its host access.

For agents

Your agent reads the order and proposes the fix

Instead of sorting the findings by severity or building an order of its own, your agent reads the order Palari keeps, the same one your team sees.

$ palari posture attack-paths ranked --jq '.breadcrumbs[].cmd'palari posture attack-paths show AP-002palari posture attack-paths ranked --target nodes:palari detect threats show 7c1d9e2f-3a4b-4c5d-8e6f-7a8b9c0d1e2f
None of these commands changes anything.

Each answer names the reads that come next:

  1. The top path

  2. The other paths to its target

  3. The threat that makes it live

The Agent Skill’s “Explain an attack path” workflow starts from the ranked list.

  • Why one path outranks another

    The agent explains each rank with the factors the CLI prints (“the nodes are High, AP-001’s Secrets Medium”). It says how sure Palari is from each outcome’s certainty and its reason. The Agent Skill tells it never to turn a score into a likelihood.

    $ palari posture attack-paths ranked --live --jq '.summary'
    2 live attack paths in prod, by score. Top: AP-002 (critical), score 5.0, Take over node lke-pool-1-5d8c: host access on the nodes (High) from the Internet.
  • What a change closes, checked before and after

    The agent says a change closes a path only when “What would this change?” says so, and passes on that answer’s limits. After the change, it checks the next build’s diff.

    $ palari posture attack-paths evaluate --remove po/web-7f9c6d8b5-x2k4q -n payments
    palari 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.
  • The fix goes to the repository that deploys the object

    It finds what manages the object, such as an Argo CD Application, and proposes the change in that repository for your team to review. CLI and the Agent Skill

    $ palari posture resources show deploy/web -n payments
    Deployment/payments/web in prod: 2 open findings, worst critical; reachable from the Internet.
    
    Kind:         Deployment (apps/v1)
    Managed by:   argocd Application argocd/payments
    Exposure:     reachable from the Internet through Service/payments/web (LoadBalancer); guard open
  • Values and acceptances stay with your team

    The agent signs in as a viewer.

    Who may do what: the viewer your agent signs in as, and an admin
    Your agent, a viewer An admin
    Preview a value rule Yes Yes
    Evaluate a change Yes Yes
    Create a value rule No Yes
    Accept a path’s risk No Yes

For people

Your team reads the same order in the console

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

Every way in, and what’s behind it

The Exposure page lists each cluster’s ways in, with where each one is reachable, on which ports, who may connect and its guard. Under each are the workloads it reaches and the attack paths that start there. The page’s Changes view shows what changed since the build before.

The console’s Exposure page for a cluster: 19 entry points by kind, 19 exposed workloads, 17 of 19 guards open, 24 attack paths starting at 14 of the workloads, and the open findings on them, above a graph from the Internet through load balancers and an Istio gateway to the workloads behind them, beside the list of entry points with their ways in.
On a demo cluster, which is built to be insecure.

The paths by score

Attack paths by score lists every path across the queries, with its score’s factors in words, its way in and the threats on it. You can filter to the accepted paths.

The console’s attack paths by score: 45 paths, with accepted paths left out. The first four are AP-002, critical, scoring 5.0 for taking over node palari-dev-control-plane from the Internet, each through a different way in such as Service vuln-shop/web, with a threat at the target in the last 24 hours. Each row spells out the score’s factors, beside facets by query, way in, certainty, threats and accepted paths.
On a demo cluster, which is built to be insecure.

What each asset is worth, and why

Asset values lists the assets the paths can reach, the most exposed first. Each shows what it’s worth and why, source by source, and the path that sets its exposure. Admins set a value from its row, after a preview.

It also lists the High assets no path reaches. That doesn’t make them safe. It means none of Palari’s queries found a path to them in the latest build, and the next change can add one.

The console’s Asset values, 50 assets, the most exposed first: the cluster and its nodes at 5.0, both High, the AWS IAM role s3-sync at 3.5, and at 1.75 the Secret cert-manager/ca-key-pair, High because it’s used as a CA signing key. Each row names the path that sets its exposure and links to every path to it, and an object’s row has Set value. Filters narrow them by value, reach and type.
On a demo cluster, which is built to be insecure.

The trend is the Attack paths page’s Trend tab: for each day, how many High assets the attack paths reach, how many of those from the Internet and how many only through accepted risk.

Exposure management draws on four parts of Palari

  • Inventory

    What runs and what manages it, so a fix goes where the object is deployed.

  • One graph

    The paths, from every way in and from inside the cluster.

  • Findings

    The evidence at a way in, such as a fixable critical or known exploited CVE, and the open findings on each step of a path.

  • Palari Detect

    Which paths a recent threat is on, so you read a live path first.

Because they read the same build, the path at the top of the list is the one the findings, the threats and the choke points name.

See what someone could reach 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 ranks the paths there, and the order follows what you mark as worth High. Put your agent on the first line of defense: it investigates, your team decides.