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: 490a00463044022016fc50e7940f4fb9d85db1563b7e86d644facdd66f530692b600d6cb0c4d3438022050fff84340f9f8afe3efbaeb9063ebc13bb5f4df8c13f328258d07ee43cc1998:922c64590222798bb761d5b6d8e72950