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
Revoke the token: your GitLab instance -> User Settings -> Access Tokens.
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.
TrustIvan can ask GitLab whether a found value still works, once an owner or admin turns validity checking on, with the request GET https://gitlab.com/api/v4/user. That check is tested against the provider's documented responses, not a live account.
Related checks
- GitLab CI/CD job token
GitLabSeverity: High
secrets.gitlab.cicd-job-token - GitLab deploy token
GitLabSeverity: High
secrets.gitlab.deploy-token - GitLab feature flag client token
GitLabSeverity: High
secrets.gitlab.feature-flag-client-token - GitLab feed token
GitLabSeverity: High
secrets.gitlab.feed-token - GitLab incoming mail token
GitLabSeverity: High
secrets.gitlab.incoming-mail-token - GitLab kubernetes agent token
GitLabSeverity: High
secrets.gitlab.kubernetes-agent-token
Terms: Secret scanning, Secret sprawl, Credential rotation
All secret detection checks · The whole catalogue · How this works in TrustIvan · Documentation