id: easypost-testtoken

info:
  name: Easypost Test API Token
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/easypost-test-api-token.go
    - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/easypost-test-api-token.yaml
  metadata:
    verified: true
    max-request: 1
  tags: easypost,exposure,tokens,vuln

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

    extractors:
      - type: regex
        part: body
        regex:
          - EZTK(?i)[a-z0-9]{54}
# digest: 4a0a0047304502200bf5749e2be3976864d317bf3c8e44c0bb28c2887043f4430b3334399ff493ef022100a254fbdd5b4283b6726307e60b256a9958146a8e362f0d9389a78c367b996cea:922c64590222798bb761d5b6d8e72950