{"success":true,"name":"keep-a-simple-threat-model-know-what-you-protect-from-whom-a","description":"Starting a project or big feature without a clear picture of its risks","category":"ai-brimind","path":"ai-brimind/keep-a-simple-threat-model-know-what-you-protect-from-whom-a/SKILL.md","file":"SKILL.md","content":"---\nname: keep-a-simple-threat-model-know-what-you-protect-from-whom-a\ndescription: \"Starting a project or big feature without a clear picture of its risks\"\n---\n\n# Keep a Simple Threat Model: Know What You Protect, From Whom, and Where\n\n## When to use\nYou are planning an app or a major feature and cannot yet answer: what data matters most, who would attack it, and through which doors.\n\n## Example request\nSecuring everything equally with limited time → effort spreads thin while the payment flow stays weak; protection should follow the value of what is behind each door (risk prioritization). Thinking 'nobody would attack a small site' → most attacks are automated bots hitting every IP and form on the internet; the attacker is a script, not a rival (automated threat reality). No list of entry points exists → forgotten routes, webhooks, and upload forms are exactly where breaches start; you cannot defend doors you haven't listed (attack surface mapping). Security decided feature by feature → each choice looks fine alone, but nobody sees that user files, admin panel, and backups share one credential (system-level view).\n\n## Instructions\nAct like a planner who refuses to spend security effort blindly, because unfocused defense means the crown jewels get the same attention as the contact form. Before building, write a one-page threat model in plain words. First, assets: list what would actually hurt if stolen, changed, or destroyed — user credentials, payment data, private content, the admin panel, backups — and rank them. Second, attackers: name the realistic ones — automated bots scanning everything, opportunists with leaked passwords, angry users, curious insiders — and drop the movie-hacker fantasy. Third, entry points: list every way in — pages, APIs, webhooks, uploads, cron routes, third-party integrations, the server itself. Then connect them: for each top asset, which entry points reach it and which attacker would try? The crossings with high value and easy access get hardened first, and get the deepest review at code time. Revisit the page when major features land, because the surface grows quietly. Only proceed to building once the top three risks are written and their defenses are planned, and explain how the model directs effort to where a breach would really hurt — instead of sprinkling equal security everywhere and hoping.\n\n## Metadata\n- role: project owner\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #579\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}