Security Operations and Incident Response

A developer wants to find insecure coding flaws by examining an application's source code before it is ever run. Which technique should be used?

Show the answer

Correct answerA. Static analysis

AWhy this is right: Static analysis inspects code without running it, finding insecure coding flaws early.

BWhy not this: Vulnerability scanning probes running systems for known weaknesses rather than reviewing source code.

CWhy not this: Dynamic analysis tests a running application, which contradicts the not-yet-run condition.

DWhy not this: Threat modeling identifies potential threats at the design level; it does not examine code for flaws.

Static analysis examines source code or binaries without executing the program, so it finds coding flaws early. Dynamic analysis needs the application running, so it cannot meet the requirement of testing before execution.