{"slug": "i-m-not-a-developer-but-strangers-write-code-for-my-kids-games-this-is-how-i-it", "title": "I'm not a developer, but strangers write code for my kids' games. This is how I keep it safe", "summary": "A product manager built kidvo, a free open-source collection of browser games for children aged 7 to 13 in which a practice AI deliberately makes mistakes for kids to catch, and documented the security model that lets strangers' pull requests run safely in front of children. Each game runs in a sandboxed iframe with a fixed, machine-checked Content-Security-Policy that must appear first on the page, and automated tests now exercise every game in both Chrome and Safari engines after an iPhone bug where Safari blocked all resources. The project accepts community-contributed games, one of which came from a volunteer the author had never met, with another currently in review.", "body_md": "Let me start with a confession: I'm not a developer.\n\nI'm a product person. I think in \"who uses this, what do they need to trust, what can go wrong\". And I have two small kids.\n\nThe other day my 7 y old said that if she had a phone, she'd ask ChatGPT how to answer my question. It blew my mind - she saw a use-case and already had her first prompt in her head. Honestly, my drive for this project came from that moment, and from the anxiety I keep feeling these times.\n\nSo in the evenings I started building [kidvo](https://kidvo.eu): free, open-source browser games for kids aged 7 to 13. In every game there is a practice AI that tries to help, and sometimes it is wrong on purpose. The kid's job is to catch it. No real AI behind it, no sign-up, no ads, no cookies.\n\nAnd yes, I built it with an AI coding assistant. A bit ironic for a project that teaches kids not to trust AI blindly - not gonna lie, I noticed :) But it also forced me to be very clear about what I want, because \"make it safe\" is not something you can just hand over.\n\nThe games were the easy part. The scary part is this: anyone can propose a new game with a pull request.\n\nFive games are live. One of them was built by a volunteer I had never met, and another one is in review right now. So code written by strangers runs in front of children - including mine.\n\nBefore any code, I wrote down three groups and what each of them needs to trust:\n\n**Kids** can't judge if a game is safe. So nothing should be able to happen to them. No data leaving, no strange links, no fake screens.\n\n**Parents and teachers** need to say one sentence and mean it: \"Nothing my child does here leaves this device.\" If I can't back that sentence, kidvo has no reason to exist.\n\n**Contributors** want to build something in one evening, without asking me about every detail. So the rules must be few, written down, and checked by a machine - not by my mood.\n\nEvery rule below comes from one of these three.\n\nEach game runs in a sandboxed frame. Think of it as a page inside the page: it can run its own code, but it can't touch anything around it. It can't read what other games saved, can't open pop-ups, can't send forms.\n\nA game still needs a few things - the language, a place to save progress, a way to tell Vo (a little pet that grows when you finish rounds) that a round is done. So it sends a message to the main site, and the site answers only the games it opened itself. The game never gets the keys, only a mailbox.\n\nA box can still phone home. Load a picture from a tracker, send what a kid typed to some server. So every game page must carry a content policy: one line that tells the browser \"load things only from kidvo.eu\".\n\nHere I went boring on purpose. Every game must carry exactly the same line, letter by letter, and an automatic check refuses anything else. Sounds pedantic, I know. But I can review it in two seconds, and so can anyone else.\n\nA colleague's security review then taught me something I would never have guessed: that line only counts if it comes first on the page. Put almost anything before it, even an invisible space, and the browser quietly ignores it. No error, no warning. So now the check also looks at where the line sits.\n\nOne day I opened the site on an iPhone and none of the games worked. Blank boxes.\n\nThe policy said \"only from this site\". Chrome understood it the way I meant it. Safari read \"this site\" as \"this sandboxed box\", which has no address at all - so it blocked everything, exactly as it was told. The fix was one extra word: name kidvo.eu explicitly.\n\nThe real lesson: test where your users are. A lot of kids use iPads and iPhones. Now the automatic tests open every game in both Chrome's and Safari's engines, and fail on any error or on any request that leaves the site.\n\nMost of the rules were not my idea. People found ways around the previous version.\n\nAn SVG picture opened on its own can run code, and no policy applies to it. So now only SVGs that simply draw shapes are accepted.\n\nA game may only change its own folder. The first version of that check could be fooled by \"renaming\" a file from the game's folder into the site's settings. Now both sides of a rename are checked.\n\nAnd the funny one: when the first volunteer game finally ran its checks, they failed it for files it never touched, because the check compared it with a ten days old version of the site. The rule was right, the measurement was wrong.\n\nEach of these now lives in a test, so it can't come back quietly. Nothing here is clever. It's a stack of boring rules - and for something kids use, that's exactly how I want it.\n\nThis is the part I most want to be honest about.\n\nA green check is not proof. A pull request runs its own copy of the checks, so if someone edits the checks themselves, they can make their own work look green. The real gate is still a human looking at which files changed.\n\nCode can also be disguised. The checks catch the cheap tricks, not all of them. So I read every line of every game before it goes live.\n\nAnd there is one known gap: if someone opens a game's page directly in its own tab, it is not inside the box. The fix is to serve games from a separate address. It's on the list - while I know or review every contributor it wasn't worth the extra complexity yet, but that changes as more games come from strangers.\n\nI wrote \"no tracking\", and that's true, but one thing does leave the site: a play counter. When a game stops being played, the site (never the game) sends the game's name, the minutes played and the rounds finished. Nothing that could point to a kid - no IP, no device, no time of day, no ID. And nothing at all if the browser asks not to be tracked.\n\nAs a product person I needed this one. Without it I'd be guessing which games kids actually play.\n\nWrite the promise first, in one sentence a parent understands. Then every technical rule either backs that sentence or it doesn't belong.\n\nPrefer rules you can check in two seconds over clever ones you have to trust.\n\nAnd say clearly what you can't promise yet. People trust you more for it, not less.\n\nIf you'd like to build a small game (plain HTML and JavaScript, one folder, no build step), here is the path from idea to pull request: [Your first kidvo game in an evening](https://github.com/AlparKacso/kidvo/blob/main/docs/first-game.md). Translations count too - Russian is live, and volunteers are on Dutch, Greek, Spanish and Italian.\n\nAnd if you see a hole I missed, please tell me. On the bright side, we still can do something to shape the future our kids grow into 💪🏻\n\nRepo: [github.com/AlparKacso/kidvo](https://github.com/AlparKacso/kidvo) · Play: [kidvo.eu](https://kidvo.eu)", "url": "https://wpnews.pro/news/i-m-not-a-developer-but-strangers-write-code-for-my-kids-games-this-is-how-i-it", "canonical_source": "https://dev.to/kacso_alpar_893c6b77d2486/im-not-a-developer-but-strangers-write-code-for-my-kids-games-this-is-how-i-keep-it-safe-192f", "published_at": "2026-12-03 20:08:35+00:00", "updated_at": "2026-12-03 20:16:17.339996+00:00", "lang": "en", "topics": ["ai-safety", "ai-ethics", "developer-tools"], "entities": ["kidvo", "ChatGPT", "Chrome", "Safari", "Vo"], "also_reported_by": [], "takeaway": "A Content-Security-Policy only takes effect if it is the very first thing on the page—even an invisible space before it makes browsers silently ignore it—and a sandboxed iframe needs the site named explicitly because Safari otherwise treats 'self' as the address-less sandbox and blocks everything.", "recommendation": {"advice": "Put the Content-Security-Policy first on every page, name the origin explicitly instead of relying on 'self', and run automated tests in both Chrome and Safari engines that fail on any external request.", "playbook": "agent-security", "playbook_url": "https://wpnews.pro/playbooks/agent-security"}, "alternates": {"html": "https://wpnews.pro/news/i-m-not-a-developer-but-strangers-write-code-for-my-kids-games-this-is-how-i-it", "markdown": "https://wpnews.pro/news/i-m-not-a-developer-but-strangers-write-code-for-my-kids-games-this-is-how-i-it.md", "text": "https://wpnews.pro/news/i-m-not-a-developer-but-strangers-write-code-for-my-kids-games-this-is-how-i-it.txt", "jsonld": "https://wpnews.pro/news/i-m-not-a-developer-but-strangers-write-code-for-my-kids-games-this-is-how-i-it.jsonld"}}