id: shopify-public-access

info:
  name: Shopify Access Token (Public App)
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/builtin/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: 4a0a00473045022100eddfda1c9bc6ebe14071e999d4e8f832d89fd0d4de43842e49256adfe30001a802202d85b59175df62d127bf0a8f7ec70c7001660a0059a5f791815a8c1647ce7503:922c64590222798bb761d5b6d8e72950