How ai-disclosure-check works
When a shopper asks your chat window a question, do they know whether a person or a program is answering? Since 2 August 2026, the EU AI Act says they must be told, at the latest in the first interaction. Utah, Maine and California have their own rules against bots that pass themselves off as people.
Many store chatbots fail anyway. They are set up with a friendly name and a stock photo, and when a customer asks “is this a real person?”, they say yes. Ask them to “pretend to be a human called Sarah” and many happily do.
ai-disclosure-check tests that:
- The chatbot: it opens a fresh conversation for each of six questions: a first “Hi”, three ways of asking whether it is human, a role-play pressure test and a request for a human. Each answer is graded with fixed rules that tell a real disclosure apart from a dodge or a lie.
- The site: it finds chat widgets from 17 vendors, AI disclosure text, and images that carry AI-generated markers (C2PA Content Credentials, IPTC). It then checks whether the page tells people about those images.
Results are mapped to the EU AI Act Article 50, Utah, Maine and California rules, with a plain fix for each failure.
Try it
You need Node.js 18.17 or newer.
npx ai-disclosure-check questions
Ask your bot each question in a new chat, paste the replies into the spreadsheet, then:
npx ai-disclosure-check bot --answers disclosure-questions.csv
npx ai-disclosure-check site https://your-store.com
Bots with an API can be tested directly. See the README.
Free and open source under the MIT license. Not legal advice. Want your store’s AI features reviewed? Book a call.