Why it matters
Anyone who can read the repository, or any clone or fork of it, can use a committed credential until it is revoked, and deleting the line does not remove it from history.
How to fix it
Rotate the database password or user, then update every service's configuration before removing the old credential's access — removing it first causes an outage.
What TrustIvan reads
Used by the git history scan (off until SECRET_HISTORY_ENABLED is set) and the pre-commit check; a default repository scan uses the scanner's built-in rules. A finding is high severity, and critical when a live check confirms the provider still accepts it.
Terms: Secret scanning, Secret sprawl, Credential rotation
All secret detection checks · The whole catalogue · How this works in TrustIvan · Documentation