- Home
- Skills
- E-commerce
- Shopify Privacy Webhook Audit
Works with the AI Agents you already use
Shopify Privacy Webhook Audit
Prove a Shopify app's privacy webhooks really export and delete every piece of customer and shop data it stores — not just that they return 200.
$9
Shopify Privacy Webhook Audit
Example session with this skill installed
Audit my Shopify app for the mandatory privacy webhooks. Check the models in prisma/schema.prisma and the handlers in app/compliance.js.
- Read your context and instructions
- Compiled the shopify privacy webhook
I have mapped your privacy webhooks. All three topics are subscribed and routed, but two data stores are never cleaned up when a customer asks for deletion, and one handler deletes the wrong thing.
Webhook Audit Results
1. Plumbing
| Requirement | Status | Note |
|---|---|---|
| TOML subscription | ✅ Pass | All 3 topics go to /webhooks/compliance |
| Topic routing | ✅ Pass | customers/data_request, customers/redact and shop/redact all have code in app/compliance.js |
| HMAC verification | ⚠️ Not found | No signature check in this file. I need to read the route that calls it |
2. Coverage Matrix
| Store | data_request | customers/redact | shop/redact | Personal data |
|---|---|---|---|---|
Session | Mentioned | Mentioned | Mentioned | none by name |
Wishlist | ❌ Not named | ❌ Not named | ✅ Mentioned | email, customerId |
EmailLog | ❌ Not named | ❌ Not named | ❌ Not named | email |
3. Identified Gaps
EmailLogholds customer emails and no handler touches it.Wishlistis only cleared when the shop uninstalls, never when one customer is redacted.customers/redactdeletes the shop's sessions instead of a customer's data, which logs the store out.
Next steps
- Add
WishlistandEmailLogto both customer handlers, matching on customer ID and email. - Change
customers/redactto delete that customer's data, not the shop's sessions. - I will check the route for HMAC verification before I propose any change.
Connects securely to your tools. The creator never sees your data.
About this skill
The problem
Every Shopify App Store app must handle three privacy webhooks. Most handlers return 200 and delete nothing, or miss the table added last month. App review checks more than the response code.
What it does
- Checks the three compliance topics are subscribed in the app configuration
- Checks the signature is verified on the raw request body and that an invalid one returns 401
- Maps every table, collection, cache and outside service that holds customer or shop data
- Builds a table showing which handler exports or deletes each one
- Proposes fixes and tests, then proves them with before-and-after checks on a development copy
Why not just prompt your agent?
An agent usually reads the handler and says it looks fine. This skill makes it list every place data is kept first, then match each one against what the code really does.
Works with
Shopify apps in JavaScript or TypeScript using Prisma, Mongoose, Sequelize or SQL storage. The included map script needs Node 18 or newer.
Test Prompt:
- We're submitting to the App Store next week. Are our privacy webhooks OK?
- We added a new table with customer emails. Does customers/redact cover it?
- Our compliance webhook fails verification. Find out why.
- Are we GDPR compliant?
Safety
The script is read-only and offline. The agent asks before changing code and never prints your app secret.
Where it stops
It is not legal advice. It cannot see data in services it is not told about, so the agent asks you to list them.
Not legal advice. The map script finds data stores by common patterns (Prisma, Mongoose, Sequelize, SQL, knex and collection calls) and personal data by field name, so other ORMs, renamed fields and data outside the code are missed and you must list them. It shows whether a handler mentions a store, not whether it deletes it correctly, so the agent reads each handler. Subscriptions set only in the Partner Dashboard need your confirmation. Rules and timings can change, so the agent checks Shopify's official documentation. Needs Node 18+. Not affiliated with or endorsed by Shopify.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 3 days ago
Permissions
What's inside
Frequently Asked Questions
New in E-commerce
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for E-commerce.