secure
Skill258 starsChanged 27 days agoMITView on GitHub
Use this skill to find and fix the security holes that AI-built apps most often ship with: 'is my app secure,' 'security check,' 'check my app for security holes,' 'can users see each other's data,' 'did I leak my API keys,' or 'I'm worried about hackers.' Claude runs the audit on the codebase: exposed keys, data isolation between users, auth on every route, webhook signatures, rate and spend limits, and dependencies. Not for the full pre-launch checklist (use go-live) or for privacy policy and legal terms (use legal).
- Reads credentials
4 other projects use a version of this.
Adopted by
Most recently taken up by
- whawkinsiv/solo-founder-skillsword for word, first seen Oct 25, 2026
- anlmalabs/skillstheir own version, first seen Oct 25, 2026
- epicsagas/epic-harnesstheir own version, first seen Sep 4, 2026
- AaravChadha/acstacktheir own version, first seen Jul 30, 2026
Other versions4 projects use a version of this.
Word for word · 1
- whawkinsiv/solo-founder-skills★ 260100% same
Edited · 0
None found.
Wrote their own version · 3
- epicsagas/epic-harness★ 20same name
- AaravChadha/acstack★ 2same name
- anlmalabs/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- about-meSkill
- beautifySkill
- buildSkill
- contentSkill
- domain-nameSkill
- emailSkill
- financesSkill
- first-customersSkill
- focusSkill
- go-liveSkill
- humanizeSkill
- is-this-an-appSkill
- journeySkill
- landing-pageSkill
- legalSkill
- paymentsSkill
- pricingSkill
- retentionSkill
- seoSkill
- validateSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. 0 are common, 17 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
17
Distinctive
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 10
Run a security audit on the codebase and fix what matters first.
- Distinctive: line 14
Read the code and list, briefly:
- Distinctive: line 18
every API route, server action, and webhook endpoint
- Distinctive: line 19
every third-party key the app uses
- Distinctive: line 20
every call that costs money: AI models, email, SMS
- Distinctive: line 25
Search the code and the git history for keys and passwords.
- Very specific: line 26
Check that .env files are in .gitignore.
- Distinctive: line 32
Every query that returns customer data must filter by the signed-in user or account on the server.
- Distinctive: line 33
If the browser queries the database directly, the database's own access rules must cover every table, for read, create, update, and delete.
- Distinctive: line 34
Prove it: create two accounts. As account A, request one of B's records by changing the ID in the URL or the API call.
- Distinctive: line 37
Every route and server action checks that the user is signed in.
- Distinctive: line 38
Every route and server action checks that the user owns the object it touches.
- Distinctive: line 47
Put a daily per-user cap on AI calls, and a spending limit or alert at the AI provider.
- Distinctive: line 51
Use parameterized queries or the ORM, never strings built from user input.
- Distinctive: line 52
Never render user input as raw HTML.
- Distinctive: line 53
Check the type and size of uploaded files.
- Distinctive: line 56
Run the package manager's audit command.
- Distinctive: line 73
Use a well-known auth library or service: Never build password storage or sessions from scratch.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Secure
Run a security audit on the codebase and fix what matters first. AI-built apps fail in a few predictable places. Check those places, prove each finding, and fix it.
Step 1: Map the app
Read the code and list, briefly:
- the framework, and where the server code runs
- the database, and whether the browser talks to it directly
- how users log in
- every API route, server action, and webhook endpoint
- every third-party key the app uses
- every call that costs money: AI models, email, SMS
Step 2: Run the checks, worst damage first
1. Secrets
- Search the code and the git history for keys and passwords.
- Check that
.envfiles are in.gitignore. - List every environment variable that reaches the browser. Most frameworks mark these with a public prefix. None of them may hold a secret.
- A database key that bypasses access rules (an admin or service key) must never reach the browser.
- A secret that was ever committed must be rotated. Deleting the file does not remove it from git history.
2. Data isolation: one customer can never see another's data
- Every query that returns customer data must filter by the signed-in user or account on the server.
- If the browser queries the database directly, the database's own access rules must cover every table, for read, create, update, and delete.
- Prove it: create two accounts. As account A, request one of B's records by changing the ID in the URL or the API call. The request must fail. This is the most damaging bug in AI-built apps, and it is invisible in normal use.
3. Auth on every route
- Every route and server action checks that the user is signed in.
- Every route and server action checks that the user owns the object it touches.
- Admin pages check the user's role on the server. Hiding the link is not protection.
4. Payments and webhooks
- Webhook endpoints verify the signature before they act.
- Paid access is granted from the verified webhook, never from the "thank you" page that the browser loads (see payments).
5. Abuse and cost
- Rate-limit sign-in, sign-up, password reset, and every endpoint that costs money.
- Put a daily per-user cap on AI calls, and a spending limit or alert at the AI provider. One script hitting an open AI endpoint can cost more in a night than the business makes in a month.
6. Input and output
- Validate input on the server.
- Use parameterized queries or the ORM, never strings built from user input.
- Never render user input as raw HTML.
- Check the type and size of uploaded files.
7. Dependencies Run the package manager's audit command. Fix the high and critical findings.
8. Errors and logs
- Users never see stack traces.
- Logs never contain passwords, tokens, card numbers, or more personal data than needed.
Step 3: The regulated-data gate
If the app stores health records, financial account data, children's data, or student records, stop and tell the founder plainly that special rules apply. For example, US health data requires a signed agreement with every host that stores it. Recommend a review by a specialist before launch. This checklist is not enough for that data.
Step 4: Fix
Fix the critical findings now, with the founder's approval. After each fix, re-run the check that found it. List the rest with a plain-language risk for each.
Rules
- Prove each finding before you report it. A finding without evidence wastes the founder's time and teaches them to ignore you.
- Use a well-known auth library or service. Never build password storage or sessions from scratch.
- Not yet: a paid penetration test (wait for sensitive data or about 1,000 users), single sign-on (wait until customers ask), or a web application firewall (the host covers the basics).
Output
| Severity | Finding | Where (file:line) | Proof | Fix | Status |Severity: Critical (data or money can leak now), High (likely to be exploited), Low (fix when convenient). End with one sentence on whether the app is safe to put in front of paying customers.
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.

