convex-security-check

Audit Convex applications for authentication, function exposure, and access control.

Updated Dec 25, 2025
One-click install
npx skills add https://github.com/benfwalla/things-to-be-happy-about --skill convex-security-check-benfwalla
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-security-check
Source: https://github.com/benfwalla/things-to-be-happy-about/tree/main/.claude/skills/convex-security-check
Command: npx skills add https://github.com/benfwalla/things-to-be-happy-about --skill convex-security-check-benfwalla

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Quickly verify that Convex applications enforce authentication, safe function exposure, strict input validation, proper row-level access control, and secure handling of environment variables.

Core Features & Use Cases

  • Authentication checks ensure identity verification before data access and operations.
  • Function exposure review ensures public endpoints are safe and internal operations remain protected.
  • Argument and return value validation enforces strict schemas to prevent invalid or malicious input.
  • Row-level access control checks guarantee users can only access their own data and that admin actions are restricted.
  • Environment variable safeguards confirm secrets are not hard-coded and are accessed securely in actions.

Quick Start

Run this checklist against your Convex app to verify authentication, function exposure, input validation, access control, and environment variable handling.

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 application for security vulnerabilities?

Auditing a Convex application for security involves checking authentication, function exposure, argument validation, row-level access control, and environment variable handling to enforce secure coding patterns and proper access controls.

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

Row-level access control in Convex ensures users can only access their own data and that admin actions are restricted. Security audits verify these ownership checks are in place to prevent unauthorized data access across your application's database operations.

How do I ensure my Convex public functions are safely exposed?

Safely exposing Convex public functions requires a function exposure review to ensure public endpoints are secure and internal operations remain protected. The audit verifies correct use of internal functions to prevent unintended data access.

Can I use this security audit on an existing Convex project?

Yes, this security audit applies to both new and existing Convex projects during development, testing, and deployment. It verifies explicit validators, ownership checks, and safe environment variable management across any project stage.

Why does my Convex app need explicit argument validators?

Convex apps need explicit argument validators to enforce strict schemas that prevent invalid or malicious input. A security audit checks that argument and return value validation is correctly implemented to block unauthorized or malformed data.

What is the best way to handle environment variables and secrets in Convex actions?

Handling environment variables in Convex actions safely means confirming secrets are not hard-coded and are accessed securely. A security audit verifies that environment variable safeguards are followed to protect sensitive configuration data.