Privacy Policy
ai-shield is a game about prompt injection. We collect only what the game needs: your account, your progress, your payments and what keeps the service safe. We do not sell your data, and we do not store the prompts of a run or your own API keys.
The operator of ai-shield controls this data. For a privacy question, write to the project issues page.
Data we collect
| Category | Data | Why | How long |
|---|---|---|---|
| Account | Email (lowercase), display name, plan (free or paid), pass end date, account creation date | Sign-in, daily limits for your plan, and your place on the leaderboard | Until you delete your account |
| Progress | Saved boards, best scores and medals, the CSV rows you upload to train the ML filter | Keep your progress across devices, rank the leaderboard, run your ML filter | Boards and scores until you reset progress or delete your account. A trained model stays in memory only, for 30 minutes after its last use |
| Anonymous play | Best scores of a session that is not signed in, keyed by a hash of its session token | Move your scores to your account when you sign in | 7 days, or until you sign in |
| Prompts and your own API keys | The prompts of a wave, and the API key you type in the Custom sandbox | Run the checks and the agent for that one run | Not stored. Your API key stays in the page memory only |
| Payments | Pass purchases: id, amount, currency, status, payment id, start and end dates | Grant 30-day passes and handle refunds and disputes. Card details stay with Stripe | Kept for accounting. Your email is removed from them when you delete your account |
| Security | Hashed IP addresses in rate-limit counters, hashed session tokens, daily run counts, audit records with a hash of your email | Stop brute force, bots and abuse | Rate-limit counters: 1 minute to 1 hour. Daily run counts of a deleted account: 30 days |
| Site measurement | Page views and page speed, with no query string on sign-in pages | Check that the site is available and fast | As set by Vercel |
Cookies and browser storage
These are needed for the game to work. There are no advertising cookies.
| Name | Kind | Why | How long |
|---|---|---|---|
| shield_player_session | HttpOnly cookie | Your session, signed in or anonymous. The server keeps only its hash | 8 hours, or until you sign out |
| shield_auth_browser | HttpOnly cookie | Connects an email link to the browser that asked for it | 30 to 60 minutes |
| shield_session_hint | Cookie | Shows the right menu on the first load. Holds no email or token | Same as your session |
| shield_session | HttpOnly cookie, SameSite=Strict | Admin console access, for operators only | 8 hours |
| shield_anon_draft:v1:<level> | localStorage | Your board on a level before you sign in. Holds no score | Until Restart, sign-in, or you clear site data |
| ai-shield:tour-seen:<level> | localStorage | Remembers that you saw a level tour | Until you clear site data |
| Saved board and leaderboard cache | sessionStorage | Faster loading in this tab | Until you close the tab |
Sub-processors
| Company | Service | Why | How long |
|---|---|---|---|
| Supabase | Database and sign-in | Stores accounts, progress and payments; checks passwords | As above |
| Vercel | Hosting, BotID, Web Analytics, Speed Insights | Serves the site and blocks bots | As set by Vercel |
| Redis (Upstash) | Short-lived counters and caches | Rate limits, email-link state, leaderboard cache, trained models | Minutes to 2 days |
| Stripe | Hosted checkout | Takes payments for passes | As set by Stripe |
| Google (Gemini) and Groq | AI models | Run the protected agent on Medium and Hard levels | Prompts of a run, as set by the provider |
| TypeSafe | Jev check | Scores a prompt when you use the Jev node | Prompts of a run, as set by the provider |
| Your model provider | OpenAI, Anthropic, Google, Groq, DeepSeek, Qwen or Moonshot | Runs the Custom sandbox with the API key you give | As set by that provider |
We keep your account data until you delete your account. When you delete it, we delete your saved boards, scores, sessions, trained models, account and sign-in record, and we remove your email from payment records. Daily run counts older than 30 days are deleted with the account.
Your rights
ai-shield is not for children under 13, or under the minimum age for digital consent where you live.