id: shopify-app-secret

info:
  name: Shopify App Secret
  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
    max-request: 1
  tags: shopify,token,exposure

http:
  - method: GET
    path:
      - "{{BaseURL}}"

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