convex-security-audit

Audit Convex applications for authorization and data access boundaries.

Updated Feb 7, 2026
One-click install
npx skills add https://github.com/rieckt/create-loumi-app --skill convex-security-audit-rieckt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-security-audit
Source: https://github.com/rieckt/create-loumi-app/tree/main/template/skills/convex/convex-security-audit
Command: npx skills add https://github.com/rieckt/create-loumi-app --skill convex-security-audit-rieckt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides structured patterns and guidance to review and strengthen security in Convex-based applications, focusing on authorization, data access boundaries, and protection of sensitive operations.

Core Features & Use Cases

  • RBAC & permissions: validate and enforce role-based access control across queries and mutations.
  • Data boundary enforcement: ensure users can only access their own data or documents they are granted access to.
  • Action isolation & safeguards: prevent sensitive external calls and ensure secure handling of API keys and secrets.
  • Rate limiting & auditing: implement usage controls with audit trails for sensitive actions.

Quick Start

Run the Convex security audit patterns against a Convex project to identify gaps in authorization and data access boundaries.

Frequently Asked Questions about convex-security-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit authorization and data access boundaries in Convex applications?

To audit authorization in Convex applications, validate role-based access control across queries and mutations, enforce data boundary rules so users access only granted documents, and review server and client guard patterns using TypeScript examples with Convex APIs.

How do I implement role-based access control in Convex queries and mutations?

Implement role-based access control in Convex by applying server and client guard patterns within queries and mutations, validating user permissions before data access, and referencing documented best practices to enforce authorization rules consistently.

How do I secure external API calls and isolate sensitive actions in Convex?

Secure external API calls in Convex by isolating sensitive actions, preventing unauthorized external requests, and ensuring secure handling of API keys and secrets through validated action isolation patterns and server-side safeguards.

Does this Convex security audit cover rate limiting and audit trails for sensitive operations?

Yes, the Convex security audit covers rate limiting and audit trails by implementing usage controls with audit logs for sensitive actions, validating that destructive operations and external calls have appropriate safeguards and tracking.

What is the best way to prevent unauthorized access to user data in Convex?

The best way to prevent unauthorized access to user data in Convex is enforcing data boundary rules that restrict users to their own documents, combined with role-based access control validation and server-side guard patterns across all queries and mutations.

Can I use this audit to validate safeguards around destructive operations in Convex?

Yes, you can use this audit to validate safeguards around destructive operations in Convex by reviewing action isolation, enforcing data access boundaries, and ensuring sensitive mutations have appropriate authorization checks and audit trail logging.