convex-security-check

Audit Convex applications for authentication, function exposure, validation, and secret handling.

1|Updated Oct 10, 2025
One-click install
npx skills add https://github.com/cgRGM/rivercitymd --skill convex-security-check-cgrgm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-security-check
Source: https://github.com/cgRGM/rivercitymd/tree/main/.cursor/skills/convex-security-check
Command: npx skills add https://github.com/cgRGM/rivercitymd --skill convex-security-check-cgrgm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you quickly review Convex applications for common security gaps that can expose customer data, admin actions, or secret configuration.

Core Features & Use Cases

  • Authentication Review: Check whether sensitive queries and mutations verify user identity before returning or changing data.
  • Function Exposure Review: Distinguish safe public functions from internal functions that should never be called directly by clients.
  • Validation and Access Control: Confirm that inputs are strictly validated and that users can only read, update, or delete records they own.
  • Secret Handling Review: Ensure API keys and environment variables stay out of source code and are only accessed in the right runtime context.
  • Use Case: Before launching a customer portal or admin dashboard, use this Skill to audit the Convex backend for auth flaws, unsafe mutations, and improper secret usage.

Quick Start

Ask this skill to review your Convex backend for authentication, function exposure, validation, ownership checks, and environment variable safety.

Frequently Asked Questions about convex-security-check

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

FAQPage Schema
How do I audit my Convex backend for common security vulnerabilities?

Convex security audits verify user identity, separate public and internal functions, enforce strict argument validators, and check row-level ownership before updates or deletes to prevent unauthorized access to customer records.

How do I prevent unauthorized access to sensitive Convex mutations?

Prevent unauthorized access by separating public and internal Convex functions, enforcing strict input validators, and verifying user identity before executing queries or mutations to ensure clients cannot directly call internal workflows.

What is row-level access control in Convex applications?

Row-level access control in Convex ensures users can only read, update, or delete records they own by checking ownership before mutations execute, preventing unauthorized data modification across customer portals or admin dashboards.

How should I handle environment variables and API keys in a Convex app?

Handle API keys and environment variables by keeping them out of source code and accessing them only in the correct runtime context, ensuring sensitive configuration remains protected in client-facing and internal Convex workflows.

How do I validate arguments in Convex queries and mutations?

Validate arguments by enforcing strict validators on Convex queries and mutations, confirming inputs are strictly validated before processing to prevent malformed data from reaching backend workflows or altering records improperly.

When should I run a security check on my Convex application?

Run a security check before launching a customer portal or admin dashboard to identify authentication flaws, unsafe mutations, and improper secret usage, ensuring your Convex backend is secure before exposing it to end users.