id: bittrex-access-key

info:
  name: Bittrex Access Key
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/bittrex-access-key.yaml
    - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/bittrex-access-key.go
  metadata:
    verified: true
  tags: file,keys,bittrex,token

file:
  - extensions:
      - all

    extractors:
      - type: regex
        part: body
        regex:
          - (?i)(?:bittrex)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:=|\|\|:|<=|=>|:)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)
# digest: 4b0a004830460221009e2ce2c2eb55e210ecd868b4c434df92e35cac835a3179e2f2e0faeee79b424b022100b196ae769b580db69a0392b67b209b126afc898fcad9d51fa6770c3d9999771b:922c64590222798bb761d5b6d8e72950