Technique · Static analysis
Secret scanning
Finds credentials and tokens in the working tree and in history before they are pushed or published.
Sub-techniques
-
Pre-commit secret scan
V1008.001Block the commit locally, before the secret reaches a remote.
-
History scan
V1008.002Scan full git history, since deleting a secret in a later commit does not remove it.
-
Live verification
V1008.003Test whether a found credential is still valid to prioritise rotation.