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
- SBOM (software bill of materials) A software bill of materials (SBOM) is a structured, machine-readable inventory of the packages, libraries and other components that make up a piece of software, with their versions and identifiers.
- CVE (Common Vulnerabilities and Exposures) A CVE (Common Vulnerabilities and Exposures) entry is a unique public identifier, such as CVE-2021-44228, for one publicly disclosed vulnerability, with a short description and references.
- Container image scanning Container image scanning analyzes the contents of a container image, its operating-system packages, language dependencies and configuration, for known vulnerabilities and other security issues, before or after the image is deployed.
- Reachability analysis Reachability analysis is the practice of determining whether a known vulnerability in a dependency can actually be exercised by an application, for example because the vulnerable function is called on a path the application executes.
- SAST (static application security testing) Static application security testing (SAST) analyzes an application's own source code, bytecode or binaries for security weaknesses without executing it, such as injection, unsafe deserialization or disabled certificate checks.
Guides on Software composition analysis
- Finding and Rotating Secrets Leaked into Git History A secret deleted in a later commit is still leaked. Scan the whole git history, rotate in the right order, check for use, and know when a rewrite helps.
- TrustIvan vs. Running Trivy Yourself TrustIvan’s detection is Trivy, the same open-source engine anyone can run free. What TrustIvan adds on top, and when running Trivy alone is the right call.
- Policy as Code for Release Gates: Fail Builds on What Matters A release gate that fails on every critical gets switched off. Write a policy that blocks exploited, fixable risk, warns on the rest and explains itself.
On the platform: Container scanning. All glossary terms