Question 51
Security OperationsA development team wants to find insecure function calls and hard-coded credentials in its source code before the application is compiled or run. Which technique should the team use?
Show the answer
Correct answerD. Static code analysis
AWhy not this: Code signing proves who published code and that it is unaltered; it does not find flaws.
BWhy not this: Penetration testing attacks a deployed system; it does not review source code before compilation.
CWhy not this: Fuzzing feeds malformed input to a running program, so it cannot review code before it runs.
DWhy this is right: It inspects source code without running it, so it finds insecure calls and embedded credentials early.
Static code analysis examines source code without executing it, so it can flag insecure calls and hard-coded credentials early. Dynamic analysis and fuzzing need a running application, so they cannot review code before it is built or run.