id: shopify-public-access

info:
  name: Shopify Access Token (Public App)
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/shopify.yml
    - https://shopify.dev/apps/auth
    - https://shopify.dev/changelog/app-secret-key-length-has-increased
  metadata:
    verified: true
  tags: file,keys,shopify,token
file:
  - extensions:
      - all

    extractors:
      - type: regex
        part: body
        regex:
          - '\b(shpat_[a-fA-F0-9]{32})\b'
# digest: 4a0a00473045022100aa42b3f22459771587710cd9d2e0c5f17826a9ddad871d63d48063faa1506b42022014f9799971c5e28bee3a4404a6eb6c437e500eb52164fc4a430ba53b300e4001:922c64590222798bb761d5b6d8e72950