Skip to content

VBC-949: committed-private-key

error

Category: security
Analysis: Git
Tags: security secrets git

What it reports

A private key is committed here. Rotate it: it is in the history, and deleting the file does not take it out of there. Certificates are not reported; they are public.

Examples

Exercised by git-checker.test.ts: needs a file list and a PEM header.

Released under the MIT License.