convex-auth v2.0.5
What’s Changed
- Hardened
examples/oauthConvex wrappers to enforce caller identity and organization membership before listing, creating, revoking, or rotating organizations, sessions, API keys, service principals, webhooks, and audit events. - Added
examples/oauth/convex/authz.tshelpers (requireCaller,requireMatchingUserId,requireOrganizationMembership). - Added repository security scanning and CI:
pnpm run scan:security(deps, secrets, SAST, leaks).github/workflows/security-audit.yml- Semgrep, TruffleHog, Secretlint integration
pnpm-audit-exceptionsfor unfixableimage-sizetransitive advisories
- Bumped
convex-authto 2.0.5.
Verification
pnpm run check✅pnpm run typecheck✅pnpm run build✅pnpm test(1275 tests) ✅pnpm run scan:security✅- Live Browser-Use IDOR probes against
perfect-dragon-698rejected cross-user / cross-organization access.