id: square-access-token

info:
  name: Square Access Token
  author: gaurang,daffainfo
  severity: high
  tags: file,keys,token,square
file:
  - extensions:
      - all

    extractors:
      - type: regex
        regex:
          - "EAAAE[a-zA-Z0-9_-]{59}"
          - "sq0atp-[0-9A-Za-z\\-_]{22}"
# digest: 490a0046304402205eb80b7cea2ccbc34e5f6e5dcfaec596ebd416733858b0321c9cf97eb8853a310220764f504034be56b360cb6eca012e48eaf27994b335c65c9180f96d1c02073862:922c64590222798bb761d5b6d8e72950