sec-check
Skill628 starsChanged 7 months agoMITView on GitHub
Security review checklist for Convex functions, auth logic, public queries, admin routes, webhooks, uploads, and AI-generated code. Use when reviewing code that touches user data, PII, or access control.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- TA-Lib/ta-libtheir own version, first seen Oct 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- TA-Lib/ta-lib★ 1.7ksame 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 repository40 other files it gives its agents.
- AGENTS.mdAGENTS.md
- public/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/convex2.mdcCursor rule
- .cursor/rules/convex-doctor.mdcCursor rule
- .cursor/rules/convex-write-conflicts.mdcCursor rule
- .cursor/rules/dev2.mdcCursor rule
- .cursor/rules/gitruels.mdcCursor rule
- .cursor/rules/help.mdcCursor rule
- .cursor/rules/rulesforconvex.mdcCursor rule
- .cursor/rules/sec-check.mdcCursor rule
- .cursor/rules/task.mdcCursor rule
- .cursor/rules/workflow.mdcCursor rule
- .cursor/rules/write.mdcCursor rule
- public/llms.txtllms.txt
- convex-create-componentSkill
- convex-migration-helperSkill
- convex-performance-auditSkill
- convex-quickstartSkill
- convex-setup-authSkill
- convexSkill
- impeccableSkill
- convex-quickstartSkill
- convex-setup-authSkill
- devSkill
- function-creatorSkill
- gitrulesSkill
- helpSkill
- migration-helperSkill
- react-effect-decisionSkill
- real-time-backendSkill
- schema-builderSkill
- workflowSkill
- writeSkill
- convex-doctorSkill
- convex-return-validatorsSkill
- convex-self-hostingSkill
- create-prdSkill
- robel-authSkill
- update-project-docsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 12 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when reviewing Convex functions, auth logic, public query shapes, admin routes, webhooks, uploads, or any AI generated code …
- Very specific: line 23
Call ctx.auth.getUserIdentity() before authenticated writes.
- Distinctive: line 24
Never trust client supplied user ids for ownership.
- Distinctive: line 25
Prefer indexed ownership checks over fetch then compare patterns.
- Very specific: line 26
Use internalQuery, internalMutation, and internalAction for sensitive backend work.
- Distinctive: line 27
Keep public wrappers thin.
- Distinctive: line 34
Add explicit return validators on public functions so the response shape stays tight.
- Distinctive: line 36
Treat everything returned by a query as visible in browser DevTools and WebSocket traffic.
- Distinctive: line 40
Keep secrets in server side environment variables only.
- Distinctive: line 44
Do not send user PII into AI prompts when it is not required for the task.
- Very specific: line 45
Use simple actor labels like AI or System, not fake email addresses, for automated actions.
- Distinctive: line 59
Verify public queries exclude PII and internal metadata.
- Distinctive: line 60
Verify admin queries require auth and admin checks before returning full data.
- Distinctive: line 61
Verify mutations return minimal data.
- Distinctive: line 62
Verify any new action or integration logs full errors only on the server side.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Security Review Skill
Use this skill when reviewing Convex functions, auth logic, public query shapes, admin routes, webhooks, uploads, or any AI generated code that touches user data.
When to use it
Reach for this skill when:
- a mutation writes user or admin data
- a public query returns package or user data
- an internal function should be separated from a public wrapper
- a form collects names, emails, or other contact info
- a webhook, upload, or API key flow is added
- AI generated code needs a security pass before shipping
Auth and ownership checks
- Call
ctx.auth.getUserIdentity()before authenticated writes. - Never trust client supplied user ids for ownership.
- Prefer indexed ownership checks over fetch then compare patterns.
- Use
internalQuery,internalMutation, andinternalActionfor sensitive backend work. - Keep public wrappers thin. Do auth and access checks there, then call internal functions.
- Return generic
Not foundstyle errors when you should not reveal existence.
Data exposure rules
- Public queries should return public safe shapes only.
- Strip PII like email, name, Discord handle, internal notes, AI review details, or admin metadata unless the caller is allowed to see them.
- Add explicit return validators on public functions so the response shape stays tight.
- Mutations should return minimal data, usually ids or
null, not the submitted object. - Treat everything returned by a query as visible in browser DevTools and WebSocket traffic.
Sensitive integrations
- Keep secrets in server side environment variables only.
- Validate webhook signatures before processing.
- Restrict CORS for sensitive endpoints.
- Validate upload types and file sizes server side.
- Do not send user PII into AI prompts when it is not required for the task.
- Use simple actor labels like
AIorSystem, not fake email addresses, for automated actions.
AI generated code checks
- Watch for missing
returnsvalidators. - Watch for public
queryormutationusage whereinternal*should be used. - Watch for
ctx.db.get()plus client supplied ids in ownership checks. - Watch for full objects returned from public queries or mutations.
- Watch for vague or over detailed error messages that leak internal state.
Verification checklist
- Open the browser network panel and inspect WebSocket or XHR responses for sensitive fields.
- Hard refresh after deploying security changes so cached subscriptions do not fool the test.
- Verify public queries exclude PII and internal metadata.
- Verify admin queries require auth and admin checks before returning full data.
- Verify mutations return minimal data.
- Verify any new action or integration logs full errors only on the server side.
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.

