Glossary · Scanning and analysis

Software composition analysis (SCA)

Software composition analysis (SCA) identifies the third-party and open-source components inside an application or artifact, then reports the known vulnerabilities and license obligations attached to each one.

Modern applications are mostly assembled from packages other people wrote. SCA is the discipline of knowing which ones. A tool reads package manifests and lockfiles (package-lock.json, go.sum, poetry.lock, pom.xml), the package databases inside a container image, or an existing SBOM, and builds an inventory of components and versions. It then matches that inventory against vulnerability databases to produce findings keyed by CVE or advisory ID, and against license data to flag obligations such as copyleft terms.

SCA is different from static analysis, which reads the code your own team wrote. SCA says "you ship version 2.14.1 of this library, which has a known vulnerability"; SAST says "this line of your code builds a SQL query from user input".

How it is used in practice

SCA runs in several places: on a developer's machine, in CI on every commit, against container images before and after they reach a registry, and on a schedule against everything already deployed, because new advisories are published against code that has not changed. Its output feeds triage, remediation SLAs and release gates, and the inventory it builds doubles as an SBOM for customers and auditors.

Common pitfalls

  • Scanning only the manifest. A repository scan sees declared dependencies; a container image also carries operating-system packages and anything copied in by the Dockerfile.
  • Backported fixes. Linux distributions often patch a vulnerability without changing the upstream version number, so a naive version match reports a fixed package as vulnerable.
  • Volume without priority. SCA output is large. Without exploitation signals, fix availability and reachability context, teams drown in it.
  • Ignoring transitive dependencies. Most vulnerable packages are pulled in indirectly.
  • Treating license data as legal advice. Detected license identifiers are a starting point for review, not a conclusion.

How TrustIvan relates to it

SCA is the core of TrustIvan's AppSec scanning. It analyzes three kinds of target for known vulnerabilities in their packages: container images pulled from public registries or from private ones with a stored credential, source repositories (their declared dependencies), and SBOMs you import. Each match becomes a finding with a lifecycle, a policy verdict and an explainable risk score built from severity, KEV, EPSS (on by default), whether the image is running and whether a fix exists. For the fix itself, the backlog groups by package: the smallest version that clears every fixable finding on that package, whether it crosses a major version, and the manifest line and command to change. That target is always a version an advisory names, because no package registry is consulted. For images, base-image advice separates findings inherited from the base from those in your own layers and lists same-family tags you have scanned that carry fewer. License inventory is derived from the same components. See Assets and scans and Fix by package.

Related terms

Guides on Software composition analysis

On the platform: Container scanning. All glossary terms

See TrustIvan on your own estate.

Book thirty minutes with an engineer and bring an image, a repository or a cloud account, or start free on the hosted service.