Redaxa · Privacy, before AI

Detection reference · Credentials and secrets · Updated 2026-11-03

GitLab personal access tokens (glpat-)

GitLab personal access tokens start with glpat-. Pasted into a prompt or a CI file, one can give API access to every project its owner can reach, within its scopes.

At a glance

Reported asAPI key or token
CategoryCredentials and secrets
Severitycritical: direct account or system compromise, as with keys, passwords and tokens
Replaced with[SECRET]
Where it runsThe same engine runs in the Chrome extension (free checks, on your device), in the web check and the Windows app (on Redaxa's server; the text is not stored) and in public repository checks.
Engine rulescanner.ts, line 205

What it looks like

glpat- followed by at least 20 letters, digits, hyphens or underscores.

Example

You paste

GITLAB_TOKEN=glpat-RedaxaDocsSampleNotR

Redaxa returns

GITLAB_TOKEN=[SECRET]
Reported asAPI key or token
Severitycritical: direct account or system compromise, as with keys, passwords and tokens
Replaced with[SECRET]
Probable serviceGitLab
Credential typePersonal access token
EvidenceGitLab-specific prefix; instance, scopes and validity are not verified.
Recommended actionRevoke or rotate if genuine

All values on this page are synthetic or published specimens; none is a working credential or a real person's data.

In a repository check

The same example, committed to a public repository and run through the free repository check:

Values are always shown masked in repository reports. No key is ever tested against its provider.

What it does not flag

If it already leaked

Revoke the token in GitLab under User settings, Access tokens (or the group or project token page that issued it), then issue a replacement with the minimum scopes and an expiry date.

What Redaxa adds to every finding of this kind: If genuine, revoke or rotate it at the issuing service, update the application, then remove the exposed value from code and review Git history. Deleting it from Git does not revoke access.

Official guidance: docs.gitlab.com.

Step by step: pasted a key into ChatGPT, or committed one to GitHub.

Check before you paste

The free Chrome extension runs this check inside ChatGPT, Claude, Gemini and Perplexity before a message is sent, on your device and with no daily limit. On the web you get 5 free prompt checks a day with no account.

Add the Chrome extensionTry a free web check

Worried it is already in your code? Check a public GitHub repository free (3 checks a day).

Related

Sources