2023-03-07 09:40:29 +00:00
|
|
|
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:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 1
|
2023-03-07 09:40:29 +00:00
|
|
|
verified: "true"
|
|
|
|
tags: gitlab,token,exposure
|
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2023-03-07 09:40:29 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
|
|
|
- '\b(glpat-[0-9a-zA-Z_-]{20})(?:\b|$)'
|