id: gitlab-runner-regtoken

info:
  name: GitLab Runner Registration Token
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/gitlab.yml
    - https://docs.gitlab.com/runner/security/
    - https://docs.gitlab.com/ee/security/token_overview.html#runner-registration-tokens-deprecated
    - https://docs.gitlab.com/ee/security/token_overview.html#security-considerations
  metadata:
    verified: true
  tags: keys,file,gitlab,runner,token
file:
  - extensions:
      - all

    extractors:
      - type: regex
        part: body
        regex:
          - '\b(GR1348941[0-9a-zA-Z_-]{20})(?:\b|$)'
# digest: 4b0a00483046022100838b1689de8b07dc4c39080483e14ca39be31692b17d237784cafbf81b01b7a9022100e65fb915062205db9c7b45a502ceb19f59e9456cbdefbc22d36471cbcc583c3c:922c64590222798bb761d5b6d8e72950