Works with the AI Agents you already use

    Shopify Privacy Webhook Audit

    by Nahid hossain

    1

    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

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Shopify Privacy Webhook Audit

    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

    RequirementStatusNote
    TOML subscription✅ PassAll 3 topics go to /webhooks/compliance
    Topic routing✅ Passcustomers/data_request, customers/redact and shop/redact all have code in app/compliance.js
    HMAC verification⚠️ Not foundNo signature check in this file. I need to read the route that calls it

    2. Coverage Matrix

    Storedata_requestcustomers/redactshop/redactPersonal data
    SessionMentionedMentionedMentionednone by name
    Wishlist❌ Not named❌ Not named✅ Mentionedemail, customerId
    EmailLog❌ Not named❌ Not named❌ Not namedemail

    3. Identified Gaps

    • EmailLog holds customer emails and no handler touches it.
    • Wishlist is only cleared when the shop uninstalls, never when one customer is redacted.
    • customers/redact deletes the shop's sessions instead of a customer's data, which logs the store out.

    Next steps

    1. Add Wishlist and EmailLog to both customer handlers, matching on customer ID and email.
    2. Change customers/redact to delete that customer's data, not the shop's sessions.
    3. 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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.

    Frequently Asked Questions

    This skill audits the mandatory privacy webhooks required for the Shopify App Store. It ensures your app actually deletes or exports data from all your databases, caches, and logs instead of just returning a success status without taking action.

    You need to provide the skill with access to your project files, including database models and webhook handlers. For live testing, it requires a development environment and the ability to read your app's client secret to verify HMAC signatures.

    You will receive a compliance plumbing report, a coverage matrix mapping every data store to your webhook logic, and a list of identified gaps. The skill also provides proposed code fixes for missing routes or incorrect security responses.

    This skill does not provide legal advice or act as a substitute for a legal review. It also cannot automatically delete data stored in third-party services without API access, though it will identify those services as gaps.

    You can start by asking your agent to audit your privacy webhooks for App Store submission. You might also ask it to check if your data deletion coverage is complete after you have added new database tables or collections.

    No. Only to a development copy, and only after you approve.

    Only to sign test requests. It reads it from your environment and never prints it.

    Only to check results. Give it a development copy, not production. It never copies customer data into the chat or into files.

    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.