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
  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: 4b0a00483046022100d95df4c114d95a4b867ab71ec73c6e1bfca27bb8c8d0cb947904e4ceba26a270022100e1af9395d5f162e596a6afb2d41ea39e369c03a96600d830a2021b919e29d1d4:922c64590222798bb761d5b6d8e72950