Convex Authz
Audit and harden a Convex app's authorization: identity-from-arg impersonation, missing per-document ownership checks, public queries leaking data by a client-supplied id, and writes into a parent/container the caller doesn't own. Scans for the 4 shapes, applies requireIdentity/requireOwner, verifies with tsc. TRIGGER on 'secure my app', 'audit auth/authz', 'who can access this data'. SKIP when there is no convex/ directory.
- Type
- Skill
- Author
- convex
- Category
- Security
- GitHub stars
- 68
- Installs
- 36.5K
- Last updated
- October 29, 2026
Install
npx skills add https://github.com/convex/agent-skills --skill convex-authzUse cases
- Audit a Convex app for missing per-document ownership checks
- Fix public queries that leak data by a client-supplied id
- Find writes into a parent the caller does not own
Frequently Asked Questions
Which authorization problems does it look for?
Four shapes: identity taken from an argument instead of the auth context, missing per-document ownership checks, public queries leaking data by a client-supplied id, and writes into a parent the caller doesn't own.
What fixes does it apply?
It applies requireIdentity and requireOwner, then verifies the result with tsc.
Does it work outside Convex projects?
No — it skips projects that have no convex/ directory.
About this skill
Audits a Convex app's authorization code for four specific failure shapes: identity taken from an argument instead of the auth context, missing per-document ownership checks, public queries that leak data by a client-supplied id, and writes into a parent the caller doesn't own. It applies requireIdentity and requireOwner fixes and verifies the result with tsc. Trigger it with requests like "secure my app" or "audit authz"; it skips projects with no convex/ directory.
Summary written with AI assistance from the project's public description.
Categories
More from convex
Convex Expert
Convex backend specialist. Use this agent for any code inside a `convex/` directory — function definitions, schemas, indexes, queries, mutations, a...
by convex
Convex Auth
Add authentication (passkeys/OAuth) to the current Convex app, including the auth.config.ts wiring.
by convex
Convex Migrate
Migrate schema + backfill data on a deployed Convex app using @convex-dev/migrations.
by convex
Convex Docs
Pull version-current Convex docs for the version this project uses — pin the installed version, fetch page-as-markdown or check node_modules types,...
by convex
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh