Skip to content

LS-SHOPIFY-003: Shopify Custom App Token

Severity HIGH
Blast radius E-commerce store and customer data compromise
Rotate at https://admin.shopify.com/store/_/settings/apps/development

If this leaks

Grants the store admin API scopes configured for the custom or partner app.

What to do

  1. Rotate or revoke the credential at https://admin.shopify.com/store/_/settings/apps/development.
  2. Check the provider's audit logs for use you don't recognise.
  3. Remove it from git history (leakscan purge --help) and load it from an environment variable or secret manager instead.

Pattern

\bshp(?:ca|pa)_[a-fA-F0-9]{32}\b

Suppress

On one line: # leakscan:ignore LS-SHOPIFY-003. For the whole project:

disable_rules: [LS-SHOPIFY-003]