Vulnerability Discovery and Analysis
A tester reviews a C codebase for unbounded strcpy calls without running the program. Which technique is this?
Show the answer
Correct answerA. Source code analysis
AWhy this is right: Reading the code for unsafe functions without executing it is source code analysis.
BWhy not this: DAST tests a running application with crafted requests, not code.
CWhy not this: SCA inventories third-party components, not first-party function calls.
DWhy not this: IAST uses an agent inside a running application, which is not the case here.
Source code analysis, the core of SAST, reads the code itself to find unsafe constructs such as unbounded string copies. DAST needs a running application and sends requests to it.