Attacks and Exploits

During an authorized test, a tester finds CI/CD build logs readable by every employee that show an unmasked cloud access key. The rules of engagement prohibit changing any resources. Which action BEST demonstrates impact in scope?

Show the answer

Correct answerB. Run a read-only identity query with the key

AWhy not this: Deleting logs alters evidence and resources, is outside the rules, and proves nothing about what the exposed key can do.

BWhy this is right: It validates the leaked key and reveals its principal and permissions without altering any resource, so it fits the rules.

CWhy not this: Scanning the build server tests network exposure and does not use the leaked key to show the impact of the log exposure.

DWhy not this: Creating a user changes the environment, which the rules of engagement forbid, even though it would show high impact.

A read-only identity query shows that the leaked key is valid and which principal and permissions it carries, without changing anything. Creating an admin user alters resources and breaks the rules of engagement, so it is out of scope.