Convex Authz

Audit and harden a Convex app's authorization: identity-from-arg impersonation, missing per-document ownership checks, and public queries leaking PII/financial data by a client-supplied id — the single largest real-defect cluster measured against generated Convex backends (44 of 214). Runs a deterministic scan for the 3 shapes, then applies the canonical requireIdentity/requireOwner pattern, then verifies with tsc. TRIGGER on 'secure my app', 'audit auth', 'add login', 'who can access this data', or an explicit 'audit my authz'. NOT always-on. SKIP when there is no convex/ directory.

get-convex Updated

File contents

get-convex/convex-codex-plugin/tree/main/plugins/convex/skills/convex-authz commit 74d5a51330

Frequently asked questions

npx skillmds@latest add get-convex/convex-authz-3