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¶
- Rotate or revoke the credential at https://admin.shopify.com/store/_/settings/apps/development.
- Check the provider's audit logs for use you don't recognise.
- 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]