Threats, Vulnerabilities, and Attacks

What is the main risk of a developer committing a cloud access key to a public code repository?

Show the answer

Correct answerC. Anyone who views the repository can copy and use the credential

AWhy not this: Committing a file does not change the host's support status for the project.

BWhy not this: Repository hosting does not weaken any cipher because of a committed file.

CWhy this is right: Public repositories are open to everyone, and automated scanners harvest embedded secrets quickly.

DWhy not this: Committing a file does not change the workstation's management state.

A public repository is readable by anyone, and attackers scan for exposed secrets, so a committed key can be copied and used. Committing code has no effect on support status, encryption or device management.