Skip to content

Security Graph Model

Use this page when the question is not "how do I open the graph?" but "what is this graph actually storing, how should I read it, and what stays true when the snapshot gets large?"

agent-bom persists the graph as a snapshot-oriented control-plane view:

  • nodes are canonical entities such as agents, MCP servers, tools, packages, credentials, containers, cloud resources, vulnerabilities, and misconfigurations
  • edges are typed relationships such as uses, depends_on, exposes_cred, affects, invoked, and lateral_path
  • attack paths are precomputed fix-first paths derived from the persisted graph, with an explicit reachability verdict and evidence basis
  • interaction risks are analysis results over recorded configuration and runtime evidence; their presence alone does not establish observed activity

This is not a best-effort browser-only canvas. It is a persisted graph snapshot loaded from the control plane.

Data locations, access and evidence sources

Graph and inventory requests without a scan ID use the current tenant estate. If a selected job has no persisted graph, these reads return available evidence, retain available prior evidence for that target, and report partial collection_coverage with graph_evidence_unavailable. A later authoritative scan with a valid empty graph still retires that target's earlier inventory. An empty estate is a successful empty result with unknown assessment coverage. Storage read failures remain errors. Explicit scan IDs retain historical scope.

Open a completed scan in Investigation, select a recorded data store or dataset, then inspect its relationships and source evidence. The artifact is the persisted graph snapshot; use the recorded resource identity to investigate permissions or runtime receipts next.

Question Graph evidence Interpretation
Where does data live? data_store, dataset, and stores relationships Recorded or derived storage structure; account, region and environment are available only when supplied by the source.
Who has access? Identity and permission relationships, including has_permission Read the permission evidence and conditions; a structural path alone does not establish authorization.
Who accessed it? Runtime accessed relationships and associated receipts Inspect the recorded operation, outcome and time. A denied attempt is not a successful read.
How did this evidence arrive? Node data_sources, relationship evidence and snapshot context Collection provenance, such as scan, connector or imported evidence; not the location of the underlying business data.

Cloud enrichment can derive a companion data-store node from resource metadata for buckets, databases, lakes and warehouses. That classification is not a content scan, complete lineage map or proof of sensitive records. Ingesting inventory or a scan report does not by itself ingest the contents of those stores. Source coverage and missing location or access evidence must be evaluated separately.

Read a compact cloud investigation

In a small cloud snapshot, follow connected branches from account scope through hosting, application workloads, identities and data resources. Placement follows recorded relationships rather than fixed category columns. Names appear above their types; hover an asset for additional context. Relationship arrows retain their recorded direction, with relationship and evidence details available on hover or keyboard focus. A modeled permission does not establish successful access.

A finding with exactly one affected asset is initially grouped on that asset. The count badge describes linked findings and their recorded highest severity on hover or focus. Select the badge or Expand findings to show the original finding nodes, including their names, types, severity indicators and KEV markers. Expanded findings have no duplicate count badge. Shared findings, rollups, unknown workload kinds and larger graphs keep the general layout rather than implying an arbitrary owner. Grouping changes presentation, not the stored records or reachability verdict. On phones, use the Paths list for the overview and Graph for readable inspection; Fit all shows the whole loaded topology, which can require zooming back in to read labels.

Explore an estate map

Open Investigation for a completed scan and switch to the broad graph view. Large displayed graphs use the bounded estate map; smaller investigations retain the detailed relationship canvas.

  1. Expand Map controls and group displayed assets by Environment to use their recorded provider, account/project and environment. Missing metadata stays unknown; an evidence source name is not treated as an environment.
  2. Find a displayed asset by name or ID, or select it on the map. Its connected assets remain highlighted while unrelated assets fade. Counts cover the displayed graph and may exclude assets outside its draw budget or filters.
  3. Use the shared details panel to inspect Location and evidence source and directional relationships, then expand the investigation to load related evidence. Use graph search or Summary to investigate beyond the displayed subset.

Environment groups arrange existing assets without creating graph relationships. A highlighted connection preserves the recorded relationship; it does not establish permission, successful access or exploitation. The map reports displayed node and edge counts and retains a text alternative for the rendered overview.

Reachability truth

Every path distinguishes executable evidence from investigation context:

  • confirmed — complete, directed, provenance-backed hop receipts support the recorded path; this is not proof of successful execution or exploitation
  • likely — package/dependency or observed graph evidence supports the path
  • unknown — structural topology connects the entities, but executable reach has not been proven; these candidates stay below evidence-backed paths
  • unlikely — graph or symbol evidence disproves reachability; the finding is retained as evidence but is not emitted as an exploit chain

Credential and tool exposure increase impact, not reachability. MITRE ATT&CK and ATLAS enrich evidence-backed hops; their technique mappings never create a hop or promote a structural candidate into an executable path.

Reading graph evidence

Open Explore connections for a completed scan, then select a relationship to inspect its source, target, and recorded evidence. Repository and SBOM imports remain static inventory; they are not MCP agent configurations. These links describe scan evidence:

  • Configured server records an agent configuration, not an invocation.
  • Advertises tool records a tool declaration, not successful execution.
  • Credential reference records a configured name, not secret disclosure or use.
  • Package vulnerability associates the finding with evidenced package owners, not every tool exposed by the server. Multiple package associations remain separate.

A connected path is an investigation lead. To establish what an agent touched, inspect runtime receipts with matching agent/tool identities and recorded resources, decisions, and outcomes. A blocked attempt is not successful access; missing resource or outcome evidence remains unknown. Finding badges show related runtime activity, not proof that vulnerable code executed. Existing snapshots need a new scan to reflect corrected ownership correlations.

What a snapshot means

Each graph snapshot is identified by:

  • scan_id
  • tenant_id
  • created_at

The snapshot captures:

  • the nodes present at that scan/control-plane save point
  • the edges between those nodes
  • the derived attack paths and interaction risks for that saved graph
  • aggregate counts used for graph headers, graph search, and UI summaries

The important operator rule is:

  • pagination changes the visible canvas
  • pagination does not change what the snapshot is

So when the graph page says showing 1-500 of 3,200 nodes, it is telling you how much of the persisted graph is on the current page, not that the rest of the graph disappeared.

IDs, timestamps, and evidence

The graph uses stable identifiers wherever possible:

  • agents use canonical agent IDs
  • MCP servers use canonical server stable_id
  • tools, resources, and packages use their own stable IDs
  • graph nodes expose a node_id that the API and UI can round-trip

That means operators can talk about:

  • one node across filters
  • one snapshot across pages
  • one server across repo scan, fleet sync, gateway discovery, and runtime

Time fields have specific meaning:

  • created_at on the snapshot = when the graph snapshot was persisted
  • first_seen on a node = earliest observed timestamp for that entity in the current correlated model
  • last_seen on a node = latest observed timestamp for that entity in the current correlated model

Those are different concepts. A snapshot is a saved graph view; first_seen and last_seen are entity lifecycle signals inside that view.

Credential environment-variable slots belong to the recorded MCP server occurrence. Repeated observations of that server and slot can join; the same variable name on differently scoped servers cannot establish shared credentials or identity bindings. Older raw snapshots can recover this boundary from their recorded parent server. Missing or conflicting slot ownership stays snapshot-scoped. Previously correlated snapshots using identity versions before scoped-identity.v4 require recomputation from source snapshots; correlating the old output again does not repair its joins. Slot references do not expose secret values or prove that a credential was successfully used.

What the graph is for

The graph is not meant to be a generic everything-map. It exists for three operator jobs:

  1. blast radius Follow package or configuration risk into agents, credentials, tools, and reachable runtime surfaces.
  2. inventory correlation Show how repo, fleet, gateway, and runtime evidence point at the same MCP server or agent surface.
  3. fix-first triage Let operators collapse many exposed paths with one change instead of chasing every finding separately.

For the product and review rubric behind these jobs, see docs/graph/SECURITY_GRAPH_UX_RUBRIC.md.

Reading the graph in the UI

The UI exposes three layers of interpretation:

  1. snapshot metadata
  2. scan ID
  3. captured time
  4. total nodes and edges
  5. current page window
  6. topology filters
  7. focused vs expanded view
  8. relationship scope
  9. runtime/static scope
  10. agent filters
  11. severity filters
  12. node detail
  13. node ID
  14. first seen / last seen
  15. incoming / outgoing edges
  16. sources and impact counts

That split is intentional:

  • the header tells you what snapshot you are looking at
  • the filters tell you how you are slicing it
  • the detail panel tells you why one node matters

Inspecting one instance or path

Open Investigation → Summary, drill into an account or environment, then choose Inspect on a package. Matching package names can represent different instances: the row includes available image/workload context, and Node ID reveals the canonical identifier used by the API. Missing context stays absent.

In Attack Paths → List, expand any hop to load up to 12 direct neighbors. Outgoing and incoming groups retain the relationship labels; an access edge is not automatically a dependency. Use Traverse from this hop for a focused investigation, or Retry neighbor lookup after a failed request. A partial response does not establish that a node has no other neighbors.

The queue distinguishes paths shown, unique paths loaded from both the occurrence queue and priority cards, and the snapshot total. Evidence priority identifies a priority-card score; Queue score identifies an occurrence-queue score. Neither score establishes compromise.

New demo projections direct dependencies from a workload to its image and from an image to its packages. This change does not rewrite existing saved snapshots; rebuild the demo snapshot to see corrected projection semantics.

Paging recorded relationships through the API

For a persisted canonical node, authenticated clients can request one bounded relationship page without loading the whole neighborhood:

curl --get "$AGENT_BOM_API_URL/v1/graph/incident-edges" \
  --header "Authorization: Bearer $AGENT_BOM_API_KEY" \
  --data-urlencode "node_id=$NODE_ID" --data-urlencode "limit=24"

The response contains the seed, endpoint nodes, recorded edges, and next_cursor. Reuse the returned scan_id and snapshot_generation on every node expansion. Follow next_cursor with those values and the same node and direction; the generation check prevents mixing graph data across a replaced snapshot. limit counts relationships (1–100), so parallel edges can share a neighbor. in and out filter recorded endpoints; they do not establish permission or execution. Completeness covers the current recorded page, and totals stay unknown. On a stale or malformed cursor (422), discard the accumulated view and restart from the first page; unsupported backends return 501. The shared graph inspector uses these pages for recorded-relationship exploration.

Scale and readability

To keep the graph readable at larger sizes, agent-bom uses:

  • persisted snapshots rather than only transient browser layouts
  • paginated node windows
  • precomputed attack paths for shortlist triage
  • focused vs expanded topology modes
  • relationship-scope filters
  • node detail enrichment on demand
  • an independent persisted-path fast lane, so full-estate fix guidance cannot delay the first ranked path
  • semantic role chains in the queue (agent → server → package → finding) and bounded one-hop traversal for direct dependencies and dependents

The operator workflow should be:

  1. start with the focused graph or attack-path shortlist
  2. narrow by agent, severity, or relationship scope
  3. expand a hop for bounded direct neighbors, or traverse from it into lineage
  4. open node detail for IDs, timestamps, and impact
  5. page or expand only when the current slice is too narrow

Relationship categories

At a high level the graph separates:

  • inventory relationships
  • hosts
  • uses
  • depends_on
  • provides_tool
  • exposes_cred
  • attack relationships
  • affects
  • vulnerable_to
  • exploitable_via
  • remediates
  • lateral_path
  • runtime relationships
  • invoked
  • accessed
  • delegated_to
  • governance relationships
  • manages
  • owns
  • part_of
  • member_of

This is why the graph page has relationship-scope filters. The same snapshot can be read as inventory, attack path, runtime context, or governance context without pretending those are all the same edge type.

What the graph is not

The graph is not:

  • a replacement for the raw scan JSON
  • a guarantee that every runtime event is persisted forever
  • a substitute for the proxy or gateway itself
  • a live network map of traffic that never entered the control plane

It is the persisted operator model that unifies inventory, findings, runtime evidence, and remediation.

Investigate an agent from Context

The graph workspace offers Find a path and Explore connections. Choose a persisted snapshot or current estate, then select an exact entity. Canonical IDs keep same-named agents from different sources distinct. Old Context, Mesh and Lineage URLs resolve into this workspace.

Select a node for its evidence, attributes and impact. The Relationships tab loads bounded pages of recorded incoming and outgoing relationships. Each page retains the scan and snapshot generation; a replaced snapshot clears stale rows and requires a retry. Choosing a different snapshot replaces the investigation scope. No full scan report is required merely to select a graph entity.

The overview keeps connection captions quiet; selecting a node reveals its relationship labels, and selecting a link opens the exact evidence. The visible relationship summary counts each recorded evidence kind, including mixed and unknown receipts. Colors and line styles identify relationships; they do not establish observed execution. Enter or Space opens a focused node or link. Overview connectors keep arrowheads quiet; hover, keyboard focus or selection reveals recorded direction. Active path investigations retain directional emphasis. An arrow is a relationship direction, not evidence of execution or exploitation. Finding details show recorded source location, priority factors and remediation; missing context stays explicit and recorded guidance is not a verified fix. Repository roots marked by the collector show a repository glyph and recorded slug, with a host badge when available. Ordinary folders retain their folder glyph. Repository details separate the scanned branch and commit from the default branch; missing remote or revision metadata is shown as not recorded.

Select a link for its recorded source, target, direction and evidence. The same inspector docks beside the graph on desktop and opens as a keyboard-accessible drawer on mobile. Fit all frames displayed nodes; Readable view restores readable zoom. Neither action fetches evidence. Filters, traversal budgets and partial-view labels describe the loaded subset, not complete collection coverage.

Shared infrastructure is not evidence that agents communicated. Permissions, exploitation and execution require their own supporting evidence.

Choose Find a path to investigate recorded reach and permission evidence. The investigation retains that scope and presents recorded paths. Select a path, then use its investigation questions:

  • Reach & connections opens ordered permission receipts and bounded incoming/ outgoing neighbor expansion. Other agents, tools and resources appear only when the selected snapshot records their relationships.
  • Assume compromise adds an explicit analyst assumption. It inspects existing receipts from the agent onward; it does not execute calls or simulate a successful attack. Denial and blocking evidence remain visible.
  • CVE conditions shows recorded advisory prerequisites separately from the local exploitability assessment. Missing prerequisites remain unrecorded.
  • Potential impact identifies recorded resource context and evidence gaps; an impact category is not proof of an actual consequence.
  • Recorded activity preserves exact agent identity in the trace explorer. The explorer retrieves a bounded sample per source; its records are not correlated to a scan merely because navigation carries that scan ID.

Runtime hop receipts expose recorded opaque event/trace references when present on the matching runtime edge. Missing or placeholder references stay absent. These references do not create an end-to-end trace lookup or prove exploitation.

Retain a recorded investigation

Select an entity, open Relationships, then expand Export investigation and download the JSON. The artifact contains the loaded relationship records, source evidence, canonical IDs, snapshot generation and a return link. Load additional pages before exporting when a wider record is needed.

An older entity link can resolve to its canonical identity after normalization. The drawer, component findings and control evidence follow that identity; the export retains both the requested ID and the resolution receipt. Continuations stay on the returned snapshot generation. If that generation changes, restart the investigation instead of combining old and new records.

Reaching the last available page does not establish complete evidence: missing endpoint records, sampling or a missing completeness receipt remain visible as incomplete. Collection coverage, effective authorization and observed execution are separate questions. The download is an unsigned local evidence bundle; reopening its link requires access to the original control plane and snapshot.

For a credential-free source example, scan the CrewAI fixture. Its declared crew relationships support investigation without claiming that any agent or tool ran.