Engagement Management

Testers found hardcoded API keys and SQL injection in an app released last month; the team runs security checks only after release. What is the BEST long-term fix?

Show the answer

Correct answerB. Add code review and static analysis to coding

AWhy not this: Role-based access limits who can change code or systems but does not detect insecure code.

BWhy this is right: Code review and static analysis during coding catch hardcoded secrets and injection flaws before release.

CWhy not this: Stronger passwords protect developer logins, not the quality of the code they write.

DWhy not this: Yearly testing still finds flaws after release and does not prevent them from being coded.

A secure software development life cycle builds security activities such as code review and static analysis into each phase, catching flaws when they are introduced. Periodic penetration tests still find problems only after release, so the root cause remains.