GitLab tokens are now masked in logs, and GitHub token matching covers one more prefix.
What's wrong with this entry?
The scrubber that replaces secrets with <token> before anything is logged or reported now recognises GitLab tokens, and its GitHub rule was widened to catch one more prefix letter (gh[psour]_, previously gh[psou]_).
- Covers the glpat, gldt, glrt, glft, glsoat, gloas, glagent, glptt, glcbt, glimt and glffct prefixes, with or without the trailing 9-character checksum.
- Applies everywhere the sanitiser runs, so pasted GitLab tokens in error text are redacted for everyone.
/gl(?:pat|dt|rt|ft|soat|oas|agent|ptt|cbt|imt|ffct)-[A-Za-z0-9_=-]+(?:\.[0-9a-z]{9})?/g
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.234
Secret redaction covers more Slack tokens and any length of private key
Both mention secret redaction
-
v2.1.234
Secret scanner detects Anthropic OAuth tokens
Both mention secret redaction
-
v2.1.234
Slack workflow tokens and webhook URLs are scrubbed
Both mention secret redaction