A finding list ranks problems one at a time. An attacker does not: they chain an internet-facing load balancer, a vulnerable library in the workload behind it, the service account that workload runs as, and the cluster-admin binding that account holds. TRUSTIVAN builds that chain from what it already records and shows it as an attack path, ranked by how likely and how damaging it is. Open AppSec → Attack paths in the dashboard, or call GET /api/v1/attack-paths (see the API).

What the graph is built from

The security graph is built per organization from data TRUSTIVAN already collects. Nothing extra is installed. Each node and edge comes from a recorded fact, never from a guess: A foothold is an internet-exposed workload with something an attacker can exploit: an open vulnerability in an image it runs that is critical or high, in the CISA KEV catalogue, or above 10% EPSS; or a critical or high runtime detection in the last seven days. Suppressed and resolved findings are not footholds. A non-human identity whose credential leaked is a foothold too: the leaked material is the exploit.

Non-human identities from NHI Security

NHI Security keeps its own inventory on its own database. It publishes an organization’s identities to the graph with PUT /api/v1/security-graph/nhi-identities (the organization is the caller’s credential’s; nothing in the body names one), and each publication replaces the last. Each identity becomes an NHI identity node, with the edges in the table above, so a path can enter through a leaked CI key and assume a role, or pass from an exposed workload through an over-privileged identity to a cloud administrator. A leak’s hop is 0.9, because NHI Security records where material was found, not whether that place is public; its exploitability is NHI Security’s confidence that the material is a live credential: 1.0 confirmed, 0.7 probable, 0.4 possible. A publication carries where a credential leaked, never the credential. NHI Security sends the publication itself after every synchronization that collected anything, for an NHI tenant federated with your organization, once an NHI Security admin stores an API key of the organization holding scans:create under the credential handle security-graph-publisher (field token; Store a credential on the connector form, or POST /nhi/api/v1/connectors/credential). The request names your organization in X-Expected-Organization, and a key of any other organization is refused with 409, so a key stored in the wrong tenant publishes nothing. An identity’s principal is its AWS IAM ARN or, for a Kubernetes service account, k8s:<cluster uid>/<namespace>/<name>; its assumable roles come from permissions that allow sts:AssumeRole on a named role, the accounts it administers from a wildcard permission over every action, and the workloads that use it from NHI Security’s graph. A Kubernetes connector needs its cluster’s kube-system namespace UID in the Cluster UID setting for its accounts and workloads to join the same nodes as a cluster collection; without it they are sent with no Kubernetes key. Each attempt is in NHI Security’s audit trail as security_graph.published. A path starts at the internet, enters through a foothold (or reaches a public data store directly), follows identity and credential edges, and ends at a target: cluster-admin, a cloud administrator, a public data store, the nodes under a container, or a credential.

How a path is scored

Every hop of a path carries its factors and the reason for each, in words, so the score can be recomputed by hand. A cloud administrator’s reason also counts the buckets, databases and secrets its account holds. Paths are deduplicated: when several routes join the same entry to the same target, the best is kept and the others are counted as alternatives.

Findings carry the paths they sit on

A finding a path depends on is ranked up in the backlog: the risk score’s attack_path factor multiplies it by up to 1.25, by the best path’s score, and names that path. The path is scored from the finding’s CVSS, KEV and EPSS and never from its risk score, so the two cannot feed each other. The finding page and the asset page show On N attack paths with links to each.

When the graph is built

The worker rebuilds an organization’s graph within a minute or two of each scan, each cluster or cloud collection and each triage change, and every six hours regardless (so a runtime detection ageing out of its seven-day window is dropped). A rebuild replaces the whole graph, and a path that survives keeps its ID and the date it was first seen. A failed build keeps the previous graph and is retried. Measured on an organization with 100,000 findings over 2,000 images and 2,000 workloads (500 exposed): one rebuild reads about 37,000 qualifying findings and produces around 6,000 nodes, 6,600 edges and 580 paths. The rebuild is held to a performance budget in CI (BenchmarkAttackPathRebuildAtScale).

Explore the graph

AppSec → Attack paths → Explore the graph opens the security graph explorer. Find a node by name or key (the most connected nodes are listed to start from), then see everything within one to three edges of it: what reaches it on the left, what it leads to on the right, arrows in the direction an attacker moves. Every node opens its own neighbourhood, so a path can be checked hop by hop. The legend is also the filter: untick a node or edge kind to hide it. The panel beside the graph shows the node’s facts, the weaknesses that make it a foothold (linked to their findings), its blast radius when it is a target, and links to its asset, the paths through it and, for an NHI identity, its page in NHI Security. On a phone, or with List, the same neighbourhood is two lists, each edge with its reason. Each step of an attack path, and the attack paths card on a finding or asset page, links into the explorer.

Limits

These are deliberate, and each is a reason a real path may be missing:
  • No resource-level permissions. TRUSTIVAN does not evaluate which bucket a role can read. A cloud identity reaches a target only when it is an administrator; its blast radius counts what its account holds.
  • Cloud identities come from workload bindings. A Lambda function’s or a virtual machine’s role is not collected, so a path through one is not drawn.
  • NHI identities are only as current as the last publication. NHI Security publishes after each synchronization, and only once a key is stored for it; a failed publication (the host down, the key refused) is retried by the next synchronization, not before. Assumable roles are read from AWS permissions only, and NHI Security’s effective-access analysis beyond assumable roles and wildcard permissions is not carried over.
  • Kubernetes RBAC is read through checks. Cluster-admin is known per workload (the check that fired), not from a full RBAC graph.
  • Search bounds. A path has at most six edges, at most 1,000 paths are kept (highest score first), and a search stops after two million edge visits. The list says when a bound cut it short.

API

The MCP server has list_attack_paths, get_attack_path and explore_security_graph.