prelaunch-security-pass
Skill0 starsChanged 5 months agoMITView on GitHub
A plain-language security check for vibe-coded apps before real users and real logins arrive. Walks a founder through the handful of things that actually get small apps compromised (exposed secrets, weak or fake auth, unprotected data, missing input checks) and gives a prioritized fix list. Use before a launch, before taking real users, before handling payments or personal data, or any time someone jokes that they "vibe-coded the 2FA." Finds the real risks, in order, without fear-mongering.
In this repository8 other files it gives its agents.
- build-in-public-engineSkill
- first-ten-usersSkill
- founder-pain-minerSkill
- launch-that-convertsSkill
- make-ai-code-legibleSkill
- moat-finderSkill
- save-your-workSkill
- ship-it-for-realSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Before you launch, take real users, or handle payments or personal data.
- Distinctive: line 18
After building auth or login with an ai and not being sure it is real.
- Distinctive: line 23
Check these in order. Most small-app compromises come from the first three.
- Distinctive: line 25
Exposed secrets: Look for api keys, passwords, and tokens committed into the code or shipped to the browser.
- Distinctive: line 27
Unprotected data: Check that one user cannot read or change another user's data, that your database is not open to the public internet, and …
- Very specific: line 46
Do save-your-work and make-ai-code-legible first.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Prelaunch Security Pass
The auth memes are funny until the app has real users and real logins. This is the short security check to run before launch, not after the breach, written so a non-engineer can act on it.
When to use
- Before you launch, take real users, or handle payments or personal data.
- After building auth or login with an ai and not being sure it is real.
- Any time the honest answer to "is this secure" is "I have no idea."
Process
Check these in order. Most small-app compromises come from the first three.
- Exposed secrets. Look for api keys, passwords, and tokens committed into the code or shipped to the browser. Move them to environment variables and rotate anything that leaked. This is the single most common and most damaging mistake.
- Auth that only looks like auth. Confirm that login actually protects things: that pages and data meant to be private cannot be reached by editing a url or calling the api directly, and that the check happens on the server, not just hidden in the interface.
- Unprotected data. Check that one user cannot read or change another user's data, that your database is not open to the public internet, and that permissions are enforced on the server side.
- Unchecked input. Confirm user input is validated and that data goes into queries safely, so a crafted input cannot read your whole database or run code.
- The basics. Https everywhere, sensible password rules, rate limits on login, and no verbose error messages leaking internals.
Output
- A findings list, each item rated must-fix-before-launch, should-fix-soon, or fine-for-now.
- For each must-fix, a plain-language explanation of the risk and the specific change to make.
- A one-line honest verdict: is this safe to put in front of real users yet.
Guardrails
- Never handle their credentials. Walk them through rotating a leaked key or setting a variable themselves. Do not ask for secrets, and do not paste real keys anywhere.
- Prioritize ruthlessly. A founder will not do twenty things. Name the three that matter most and get those done.
- Plain language, no fear-mongering. Explain each risk in terms of what could actually happen, calmly, and what stops it.
- This is a pass, not a guarantee. Say clearly that it catches the common, high-impact mistakes and is not a full audit. For payments or health data, recommend a professional review.
Related
Do save-your-work and make-ai-code-legible first. This is a gate on launch-that-converts.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

