How ai-privacy-check works
Adding an AI chatbot to a store takes an afternoon. Knowing where your customers’ data goes afterwards takes much longer.
The prompt goes to the model provider. A copy may go to a tracing tool your developer added for debugging. Chats sit in a vector database “until deleted”. A gateway picks a provider for each request. Each of these keeps data under its own rules, and each belongs in your records and your privacy notice.
ai-privacy-check reads your code and your live site and tells you:
- who receives personal data;
- which fields reach prompts;
- how long each recipient keeps them, and whether they are used for training;
- what to change.
It then drafts three documents for you:
- the processing register a regulator can ask for;
- a DPIA screening;
- the “How we use AI” section of your privacy policy.
Try it
With Node.js, in your project folder:
npx ai-privacy-check . --site https://your-store.com --md ai-privacy.md --register register.csv
register.csv opens in Excel or Google Sheets, with one row per recipient.
What it found in real projects
I ran it on nine public AI apps before release.
- OpenAI’s customer-service agents demo turns tracing “off” with an environment variable that the Agents SDK does not read. So conversations still go to OpenAI’s trace dashboard.
- OpenAI’s realtime agents demo has a retail agent that asks callers for their date of birth and the last four digits of their SSN or card. Tracing, which is on by default, copies all of it.
- Vercel’s chatbot template stores every chat with no deletion rule.
- Shopify’s chat agent stores every conversation with no deletion rule.
None of these is unusual. These are templates that thousands of stores start from.
Why I built it
My client work is AI for e-commerce, and my research is on efficient and secure AI. Every store I help ends up asking the same question their customers would ask: where does my data go?
The answer was buried in SDK defaults and vendor documentation that change every few months. I wanted a free tool that answers it from the code, with a source link for every fact.