id: gitlab-personal-token info: name: GitLab Personal Access Token author: DhiyaneshDK severity: info reference: - https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/gitlab.yml - https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html metadata: verified: true max-request: 1 tags: gitlab,token,exposure http: - method: GET path: - "{{BaseURL}}" extractors: - type: regex part: body regex: - '\b(glpat-[0-9a-zA-Z_-]{20})(?:\b|$)' # digest: 490a0046304402207be655b29d61680e29fd20116b6b651b8e1a07945749263cdd9a4bbbf4982bf70220400c873f4883f884df66fa94e07b00ff56f5b6f97acc9550181dae1ba9ae9d4e:922c64590222798bb761d5b6d8e72950