Skip to content

LS-GL-003: GitLab Runner Token

Severity HIGH
Blast radius CI/CD pipeline compromise
Rotate at https://docs.gitlab.com/ee/ci/runners/configure_runners.html#reset-the-runner-authentication-token

If this leaks

Allows registering a rogue runner that receives CI jobs, including their variables and source checkouts.

What to do

  1. Rotate or revoke the credential at https://docs.gitlab.com/ee/ci/runners/configure_runners.html#reset-the-runner-authentication-token.
  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

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

Suppress

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

disable_rules: [LS-GL-003]