If a custom Shopify app has a webhook endpoint that doesn't verify the HMAC signature, anyone who finds the URL can post a fake "order paid" event and your app will believe it. It's one of the most common gaps we see under the OWASP category of software and data integrity failures.
What to check
Every webhook handler verifies Shopify's HMAC header against the raw request body before doing anything.
Verification uses the raw body, not a parsed-and-re-serialised JSON object.
Failed verification returns an error and does nothing else.
The same rule applies to payment gateway callbacks on custom stores.
The related checks
While you're there:
Access control: app backends and app proxies should verify who the customer is, not trust a customer ID from the request.
Scopes: request only the API scopes the app needs.
Tokens: store OAuth tokens securely, never in plain config files or chat.
Idempotency: webhooks can arrive twice or out of order, so processing the same event twice shouldn't double anything.
Order of work
Verify every webhook and payment callback signature.
Remove unused staff, collaborator and app access; turn on 2FA.
Audit app scopes and storefront scripts.
Log logins and admin actions, and alert on odd patterns.
The full mapping of the OWASP Top 10 to Shopify vs custom stores: OWASP Top 10 for Shopify and custom stores
