QuestionQ56

VerifiedVulnerability Management

A cybersecurity analyst is reviewing static application security testing (SAST) scan results and notices a finding for hard-coded credentials. Which of the following should the analyst recommend to the application team to resolve this concern?

Explanation

Hard-coded credentials embedded directly in source code represent a significant security risk because they can be exposed through code repositories, decompilation, or version control history. The proper remediation is to integrate a secrets management solution, which securely stores, rotates, and injects credentials and API keys at runtime, removing the need to store sensitive values directly in the codebase. This aligns with OWASP secure coding guidance and CompTIA CySA+ best practices for remediating hard-coded secrets findings. Privileged access management focuses on controlling and monitoring privileged account usage rather than fixing embedded secrets in code; single sign-on addresses centralized authentication for users, not credential storage in applications; and obfuscating API keys merely hides them without eliminating the underlying exposure risk, as obfuscated values can still be extracted and reversed.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!