A modern application is largely assembled from other people’s code: libraries, frameworks, container images. SCA enumerates this code and checks versions against vulnerability databases, so problems are found before a release ships rather than after an incident.
What it checks
| Check | What it finds |
|---|---|
| Vulnerabilities | known vulnerabilities with CVE numbers in specific library versions, along with their CVSS severity rating |
| Licences | incompatible or risky licences: copyleft that forbids closed distribution, for example |
| Versions | outdated versions with fixes available |
How it works
An SCA tool reads the project’s manifests and lock files — package-lock.json, poetry.lock, go.sum — and builds the full dependency tree, including transitive dependencies: those pulled in not directly, but through other libraries. The resulting list is checked against vulnerability and licence databases, after which the tool produces a report: which component, which vulnerability, how severe it is and in which version it has been fixed.
$ pip-audit -r requirements.txtName Version ID Fix Versions-------- ------- --------------- ------------requests 2.28.1 PYSEC-2023-74 2.31.0Limitations
- The report is not always accurate: the vulnerable code may never be used by the project, and some findings are false positives.
- Upgrading on the tool’s recommendation is not always safe: minor library updates can occasionally break compatibility.
- Vulnerability databases lag behind: a fresh vulnerability does not appear in the report straight away.
Where it is used
SCA runs in a CI/CD pipeline on every build or overnight, and any critical findings block the release. Alongside software composition analysis, an SBOM is often maintained — a machine-readable inventory of components that is then checked against catalogues of actively exploited vulnerabilities.
Sources
the term is written from these pagesVerified 9 Nov