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

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

    extractors:
      - type: regex
        part: body
        regex:
          - EZTK(?i)[a-z0-9]{54}

# digest: 4a0a004730450220619e19d560fcb1127c74516df8a1b0aa075f29c14adb244f084d3576ad07350002210084e9c4e9b7b68a8ff1cebab358043be56f09408797eb224c48d0bb79da7fde1f:922c64590222798bb761d5b6d8e72950
