Leaked secrets
Clara resolves secret scanning alerts for revoked, test, and placeholder values, and leaves real secrets open for their owner.
When secret scanning flags a secret, Clara decides what the value is.
| The value is | Clara |
|---|---|
| Already revoked, according to GitHub | Resolves the alert as revoked |
| A test fixture, a documented example, or a placeholder | Resolves it as used in tests |
| Not a secret at all, such as a hash or a public identifier | Resolves it as a false positive |
| A real credential, or anything she isn’t sure about | Leaves it open |
A real secret stays open because only its owner can rotate it, and GitHub already emails your admins about the alert.
What she won’t do
- Resolve a secret GitHub verified as working. No reading of the file it’s in outweighs that.
- Judge it by what the file says today. She reads the value at the commit it was found in. A placeholder that replaced a real key later doesn’t make the key fake.
- Resolve an alert you reopened.
- Repeat the secret’s value in anything she writes.