convex-security-check

Audit Convex applications for security issues with a TypeScript checklist.

1|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/aarsh21/better-issues --skill convex-security-check-aarsh21
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-security-check
Source: https://github.com/aarsh21/better-issues/tree/main/.agents/skills/convex-security-check
Command: npx skills add https://github.com/aarsh21/better-issues --skill convex-security-check-aarsh21

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers proactively identify and mitigate common security vulnerabilities in their Convex applications, ensuring robust protection against potential threats.

Core Features & Use Cases

  • Comprehensive Checklist: Covers authentication, function exposure, argument validation, row-level access control, and environment variable handling.
  • Code Examples: Provides practical TypeScript snippets demonstrating secure patterns for each security aspect.
  • Use Case: A developer can run this Skill before deploying their Convex application to ensure all critical security measures are in place, preventing data breaches and unauthorized access.

Quick Start

Run the convex-security-check skill to review your Convex application's security posture.

Frequently Asked Questions about convex-security-check

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

FAQPage Schema
How do I secure my Convex application before deployment?

To secure a Convex application, run a security audit checklist covering authentication, function exposure, argument validation, row-level access control, and environment variable management. Using TypeScript code examples, this process identifies and mitigates common vulnerabilities to prevent unauthorized data access.

What is row-level access control in Convex and how is it implemented?

Row-level access control in Convex restricts data access based on user identity and permissions. It is implemented by applying secure TypeScript patterns within your query and mutation functions, ensuring users can only interact with database rows they are explicitly authorized to access.

How do I validate arguments in Convex functions to prevent security issues?

You validate arguments in Convex functions by defining strict schema types for inputs. The security checklist provides TypeScript code examples demonstrating secure implementation patterns, ensuring that invalid or malicious data is rejected before reaching your database logic.

Does this security checklist cover environment variable management for Convex?

Yes, the security checklist covers environment variable management for Convex. It provides practical TypeScript snippets demonstrating secure patterns for handling sensitive configuration data, ensuring robust protection against potential threats and unauthorized access to your environment variables.

Can I use this checklist to audit function exposure in my Convex app?

Yes, you can use this checklist to audit function exposure in your Convex app. It helps developers proactively identify and mitigate vulnerabilities by reviewing which query and mutation functions are publicly exposed, ensuring only intended endpoints are accessible.

What is the best way to handle authentication in a Convex application?

The best way to handle authentication in a Convex application is to follow a comprehensive security checklist. It offers practical TypeScript snippets demonstrating secure implementation patterns for verifying user identities before allowing access to protected functions and data.