LS-GL-004: GitLab Deploy Token¶
| Severity | HIGH |
| Blast radius | Source code and CI/CD compromise |
| Rotate at | https://docs.gitlab.com/ee/user/project/deploy_tokens/ |
If this leaks¶
Allows cloning the project and pulling or pushing its container and package registries.
What to do¶
- Rotate or revoke the credential at https://docs.gitlab.com/ee/user/project/deploy_tokens/.
- Check the provider's audit logs for use you don't recognise.
- Remove it from git history (
leakscan purge --help) and load it from an environment variable or secret manager instead.
Pattern¶
\bgldt-[A-Za-z0-9\-_]{20}\b
Suppress¶
On one line: # leakscan:ignore LS-GL-004. For the whole project:
disable_rules: [LS-GL-004]