← All articles
Threat Intelligence 6 min read

A Package Was Compromised. Can You Find Every Place It Is Installed?

Security Hub's new SBOM inventory makes package exposure easier to investigate. Its coverage boundaries matter just as much as the search results.

CloudDefender Team ·

Listen to article

Narrated by Andy · 6:45

Download

A package advisory arrives with a precise version number. The incident channel immediately becomes less precise. Someone remembers a service using it. Another team thinks the package is only a development dependency. A third has already rebuilt the container, taking the easiest evidence of the previous state with it.

This is an inventory problem before it is a patching problem. The organization needs to connect a component to actual resources, resource owners, and the authority those workloads possess. Without that connection, a list of affected versions cannot become a defensible account of exposure.

AWS’s Security Hub documentation history records a new software bill of materials inventory on November 3. It is a timely opportunity to improve that investigation path. It also requires a clear understanding of what the inventory can establish and what it cannot.

One package version can connect to many owners and resourcesA central package tile fans out into resource tiles across three accounts. A dashed empty resource marks the unknown space outside scanning coverage.FOLLOW THE PACKAGE INTO THE ESTATEpackage + versionEC2 resourceContainer imageLambda packageAccount + ownerRegion + versionAuthority + impactOutside scanner coverage: unknown, not confirmed absent
An illustrative investigation map. Inventory identifies installed components on covered resources; execution and compromise require additional evidence.

A useful new pivot

The SBOM inventory documentation describes a package-centered view populated from Amazon Inspector. An analyst can start with a component and version, find covered resources containing it, and move into resource details. The reverse path shows installed software for a resource under investigation.

That is a practical improvement over asking every application team to search its own deployment records during an incident. It can also make ownership discussions more specific. The question becomes whether a named resource contained a named version at a relevant time, rather than whether someone remembers using a library.

The inventory is still dependent on scanning. It should be treated as an indexed view of the estate the scanner can see, not as an independent guarantee that every workload has been examined.

An empty result has several possible explanations. The affected component may truly be absent. The relevant resource type may not be scanned. A particular account or Region may be outside coverage. The latest software state may not yet have reached the inventory. The workload may have existed earlier and since been replaced.

Those explanations have different implications, but the search interface alone cannot resolve them all.

Build a coverage record alongside the package query. Record which accounts, Regions, resource types, and scanning modes are included, then identify the workloads that need a separate investigative path. A short-lived build runner and a long-running EC2 instance may require different evidence sources even when they installed the same package.

This is also a reason to keep cloud posture management connected to application ownership. The team cannot know whether an inventory is complete without knowing what should have been inventoried.

Installation is one stage of the evidence chain

A software bill of materials describes components. It does not establish that a vulnerable function was reachable, that malicious initialization occurred, or that an attacker successfully used the resource’s credentials.

That distinction does not make installation evidence unimportant. It determines the next question. If a malicious package executes during installation, the build environment may matter more than the final application’s call graph. If the advisory concerns a particular feature, version presence needs to be combined with configuration and reachability evidence.

Avoid turning a useful inventory into a binary breach detector. The honest incident classification may be affected version installed, execution unknown, credentials potentially reachable. That is a meaningful state requiring action, even before it becomes confirmed exploitation.

The LiteLLM incident is a concrete reason to preserve those distinctions. Its startup behavior makes execution analysis more complicated than checking whether an application imported the library. That companion article is part of this draft series.

Capture the answer before rebuilding changes it

Live inventories are designed to describe current state. Incident reviews often need historical state.

AWS documents that the inventory retains the latest SBOM for a resource and removes software when a resource leaves coverage. It also notes that changes can take hours to appear. A resource replacement can therefore improve current security while making a later investigation harder if nobody preserved the earlier observations.

Capture the query criteria, response time, relevant resource identifiers, component versions, and available scan timestamps. Preserve the deployment artifact and digest where policy permits. Export enough context to distinguish a verified absence from a resource that no longer exists.

Do not delay urgent containment solely to perfect the archive. Make evidence collection a defined part of the response workflow so it can proceed alongside containment under the incident commander’s priorities.

From package list to response queue

The operational output should not be a spreadsheet sorted only by package count. Ten copies in a low-trust test environment and one copy in a credential-rich production gateway may demand different response orders.

Attach business importance, network exposure, accessible identities, and evidence of execution to each affected resource. Then assign a responsible team. The reasoning resembles attack-path prioritization: understand the route from the initial weakness to a consequential action, rather than treating every instance as equal.

For a lean SOC, a small evidence table can make the work tractable:

FieldOperational purpose
Component, version, and advisoryMakes the affected criteria reproducible
Resource, account, and RegionIdentifies the actual target for investigation
Artifact and deployment evidenceConnects inventory to a deployed software state
Scan and query timesDescribes freshness and historical limits
Owner and business functionEstablishes who must act and why it matters
Execution and accessible authoritySeparates presence from likely consequences
Coverage exceptionsKeeps unknown systems visible in the incident scope

The table is an editorial recommendation. It is not an export schema promised by Security Hub.

Test the inventory before an urgent advisory arrives

Choose a benign package version known to exist in several services. Ask the response team to find every covered installation and reconcile its results against the platform team’s deployment inventory. Include a deliberately out-of-coverage workload in the exercise.

The important result is whether the team recognizes the missing system. Finding most resources quickly is useful. Finding most resources and declaring the answer complete is dangerous when the omitted resource has the most authority.

An SBOM becomes operationally valuable when it shortens the path from an advisory to a bounded, explainable exposure assessment. The central discipline is keeping the boundary attached to the answer: what was searched, what was covered, when it was observed, and which questions still require evidence.

Sources and reporting notes


CloudDefender helps teams connect cloud findings with resource and ownership context. Package intelligence becomes useful when its coverage and the decisions it supports can both be explained.

CloudDefender

Defend your cloud. Continuously.

CloudDefender Suite gives security teams continuous posture management, threat detection, and compliance automation across AWS, Azure, and GCP — with zero false-positive fatigue.

Try CloudDefender →