id: shopify-private-app-access-token

info:
  name: Shopify Private App Access Token
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/semgrep/semgrep-rules/blob/develop/generic/secrets/gitleaks/shopify-private-app-access-token.yaml
    - https://github.com/semgrep/semgrep-rules/blob/develop/generic/secrets/gitleaks/shopify-private-app-access-token.go
  metadata:
    verified: true
    max-request: 1
  tags: shopify,token,exposure

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

    extractors:
      - type: regex
        part: body
        regex:
          - shppa_[a-fA-F0-9]{32}
# digest: 4a0a004730450221008cc37b4588038c8b96318ff6149d406726b26d7979e47a221ebf14e9c484a502022002b7d450bee782221447002dd7dc31adbc310244360184393f4f910f57890545:922c64590222798bb761d5b6d8e72950