{"success":true,"name":"do-a-pre-launch-security-pass-think-like-the-first-attacker","description":"Feature or app is about to go live to real users","category":"ai-brimind","path":"ai-brimind/do-a-pre-launch-security-pass-think-like-the-first-attacker/SKILL.md","file":"SKILL.md","content":"---\nname: do-a-pre-launch-security-pass-think-like-the-first-attacker\ndescription: \"Feature or app is about to go live to real users\"\n---\n\n# Do a Pre-Launch Security Pass: Think Like the First Attacker\n\n## When to use\nA launch is close — new app, new feature, or newly public endpoint — and no deliberate security review has happened yet.\n\n## Example request\nEverything was tested logged-in as yourself → the first attacker arrives logged-out or as a hostile user, a state nobody tried; review must include 'no auth' and 'wrong user' passes (attacker perspective). Only the UI flow was exercised → attackers call APIs directly with curl and skip your buttons entirely; endpoints must hold up without the frontend (API-level testing). Security review postponed to 'after launch' → the riskiest exposure is day one, when attention is highest; a short structured pass before launch beats a big audit never (shift left). Each feature checked alone → the dangerous bugs hide in combinations, like upload + public URL + no auth; walk the full paths (end-to-end thinking).\n\n## Instructions\nAct like the first attacker your launch will meet: curious, logged-out, armed with curl, and interested in your data rather than your intended flow. Before going live, run a structured pass over the release. Inventory every entry point — pages, API routes, webhooks, cron triggers, upload endpoints — and for each, try the three hostile states: no authentication, a normal user reaching other users' IDs, and malformed or oversized input. Replay the classics against your own work: change IDs in requests, resend requests with edited prices or roles, submit script tags into text fields, hit login and reset endpoints in a fast loop, and read your error responses for leaked internals. Check the deployment posture: debug mode off, secrets out of the repo, production keys separated, backups restorable, security headers present. Write down every finding with a severity, fix the account-access and data-leak class before launch, and schedule the rest with owners. Only call the release ready once each entry point survived the hostile pass or has a tracked exception — and frame the result as evidence from attack attempts, not as a feeling that the code looks fine.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #552\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}