Privacy Policy

Effective 27 November 2026. Policy version 1.0.
Summary

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

CategoryDataWhyHow long
AccountEmail (lowercase), display name, plan (free or paid), pass end date, account creation dateSign-in, daily limits for your plan, and your place on the leaderboardUntil you delete your account
ProgressSaved boards, best scores and medals, the CSV rows you upload to train the ML filterKeep your progress across devices, rank the leaderboard, run your ML filterBoards 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 playBest scores of a session that is not signed in, keyed by a hash of its session tokenMove your scores to your account when you sign in7 days, or until you sign in
Prompts and your own API keysThe prompts of a wave, and the API key you type in the Custom sandboxRun the checks and the agent for that one runNot stored. Your API key stays in the page memory only
PaymentsPass purchases: id, amount, currency, status, payment id, start and end datesGrant 30-day passes and handle refunds and disputes. Card details stay with StripeKept for accounting. Your email is removed from them when you delete your account
SecurityHashed IP addresses in rate-limit counters, hashed session tokens, daily run counts, audit records with a hash of your emailStop brute force, bots and abuseRate-limit counters: 1 minute to 1 hour. Daily run counts of a deleted account: 30 days
Site measurementPage views and page speed, with no query string on sign-in pagesCheck that the site is available and fastAs set by Vercel

Cookies and browser storage

These are needed for the game to work. There are no advertising cookies.

NameKindWhyHow long
shield_player_sessionHttpOnly cookieYour session, signed in or anonymous. The server keeps only its hash8 hours, or until you sign out
shield_auth_browserHttpOnly cookieConnects an email link to the browser that asked for it30 to 60 minutes
shield_session_hintCookieShows the right menu on the first load. Holds no email or tokenSame as your session
shield_sessionHttpOnly cookie, SameSite=StrictAdmin console access, for operators only8 hours
shield_anon_draft:v1:<level>localStorageYour board on a level before you sign in. Holds no scoreUntil Restart, sign-in, or you clear site data
ai-shield:tour-seen:<level>localStorageRemembers that you saw a level tourUntil you clear site data
Saved board and leaderboard cachesessionStorageFaster loading in this tabUntil you close the tab

Sub-processors

CompanyServiceWhyHow long
SupabaseDatabase and sign-inStores accounts, progress and payments; checks passwordsAs above
VercelHosting, BotID, Web Analytics, Speed InsightsServes the site and blocks botsAs set by Vercel
Redis (Upstash)Short-lived counters and cachesRate limits, email-link state, leaderboard cache, trained modelsMinutes to 2 days
StripeHosted checkoutTakes payments for passesAs set by Stripe
Google (Gemini) and GroqAI modelsRun the protected agent on Medium and Hard levelsPrompts of a run, as set by the provider
TypeSafeJev checkScores a prompt when you use the Jev nodePrompts of a run, as set by the provider
Your model providerOpenAI, Anthropic, Google, Groq, DeepSeek, Qwen or MoonshotRuns the Custom sandbox with the API key you giveAs set by that provider
Retention and deletion

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

Download your data
In Settings, use Download my data. You get a JSON file with your account, saved boards, scores and purchases.
Correct your data
In Settings, change your display name, email or password.
Reset your progress
In Settings, Reset progress deletes your scores and saved boards.
Delete your account
In Settings, Delete account removes your account, progress and sessions, and removes your email from payment records.

ai-shield is not for children under 13, or under the minimum age for digital consent where you live.