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 this GitLab kubernetes agent token at GitLab and issue a replacement, then update every service that used it. TrustIvan has no console path recorded for this provider.
How it recognises a value
- A line is only looked at when it contains the keyword
glagent-(ignoring case). - A match counts only when its Shannon entropy is above 3, so a placeholder of the same shape (all zeros, all x) is not reported.
- Adopted with attribution from the gitleaks rule
gitlab-kubernetes-agent-token(MIT License).
glagent-[0-9a-zA-Z_\-]{50}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.
Related checks
- GitLab incoming mail token
GitLabSeverity: High
secrets.gitlab.incoming-mail-token - GitLab OAuth app secret
GitLabSeverity: High
secrets.gitlab.oauth-app-secret - GitLab feed token
GitLabSeverity: High
secrets.gitlab.feed-token - GitLab personal access token routable
GitLabSeverity: High
secrets.gitlab.pat-routable - GitLab feature flag client token
GitLabSeverity: High
secrets.gitlab.feature-flag-client-token - GitLab pipeline trigger token
GitLabSeverity: High
secrets.gitlab.ptt
Terms: Secret scanning, Secret sprawl, Credential rotation
All secret detection checks · The whole catalogue · How this works in TrustIvan · Documentation