Vulnerability Discovery and Analysis

A client provides only a pom.xml and package-lock.json from its build pipeline, with no source code and no running instance. The tester must flag components with known CVEs. Which scan works?

Show the answer

Correct answerB. Software composition analysis

AWhy not this: It needs a running application to send requests to, and none exists here.

BWhy this is right: It matches the component versions listed in manifests and lock files to known vulnerabilities.

CWhy not this: It needs an instrumented running application and test traffic, which are unavailable.

DWhy not this: It needs the application's source code to analyze, which the client has not provided.

SCA reads dependency manifests and lock files and matches the listed component versions to known vulnerabilities, so it needs neither source code nor a running app. SAST needs source code to analyze, and DAST and IAST need a running application.