Skip to content

LS-GL-002: GitLab CI Token

Severity HIGH
Blast radius CI/CD pipeline compromise
Rotate at https://gitlab.com/-/user_settings/personal_access_tokens

If this leaks

Allows pulling and pushing container registries and packages, and can read protected CI/CD variables for the project.

What to do

  1. Rotate or revoke the credential at https://gitlab.com/-/user_settings/personal_access_tokens.
  2. Check the provider's audit logs for use you don't recognise.
  3. Remove it from git history (leakscan purge --help) and load it from an environment variable or secret manager instead.

Pattern

glcbt-[A-Za-z0-9\-_]{20}

Suppress

On one line: # leakscan:ignore LS-GL-002. For the whole project:

disable_rules: [LS-GL-002]