id: postman-key

info:
  name: Postman API Key
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/rules/postman.yml
    - https://learning.postman.com/docs/developer/intro-api/
  metadata:
    verified: true
    max-request: 1
  tags: postman,keys,token,api,exposure

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    extractors:
      - type: regex
        part: body
        regex:
          - '\b(PMAK-[a-zA-Z0-9]{24}-[a-zA-Z0-9]{34})\b'
# digest: 4a0a00473045022100db02dea0afdd3d5821b571547a72caba8f2c361a847e5a80530e89202b4febe9022017a123408db9a9d099d71d9bb2c5a005a0d2d4285570d2204dab236983440c04:922c64590222798bb761d5b6d8e72950