Rotate a leaked GitLab token and let GitLab Duo fix the code

GitLab 19.6 adds a beta "Rotate and fix" action for GitLab Ultimate that remediates leaked GitLab personal access tokens directly from the vulnerability page. GitLab revokes the exposed token, stores a replacement in GitLab Secrets Manager, and uses GitLab Duo Agent Platform to open a merge request updating CI/CD jobs for review. The new token value is never exposed to users or agents, targeting the common problem of leaked tokens staying live because manual rotation risks breaking pipelines.

AI-written summary, checked against the cited sources. How summaries work

Image: GitLab Blog

Read at GitLab Blog