id: shopify-shared-secret

info:
  name: Shopify Shared Secret
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/semgrep/semgrep-rules/blob/develop/generic/secrets/gitleaks/shopify-shared-secret.yaml
    - https://github.com/semgrep/semgrep-rules/blob/develop/generic/secrets/gitleaks/shopify-shared-secret.go
    - https://shopify.dev/apps/auth
  metadata:
    verified: true
    max-request: 1
  tags: shopify,token,exposure

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

    extractors:
      - type: regex
        part: body
        regex:
          - shpss_[a-fA-F0-9]{32}
# digest: 490a0046304402203df0c3d1992a004bbc718bcfbcef3f1386192d86c4326fd3f550f7b8143e742d0220476ef4ef7c259f5c74c256dbdf380289f083d174aa0774cff7e9e60771a49d6a:922c64590222798bb761d5b6d8e72950