Back to Skills

convex-security-check

Quick security audit checklist covering authentication, function exposure, argument validation, row-level access control, and environment variable handling

401stars30forksUpdated 6/5/2026

Security Assessment

Safe(90/100)

Detected risks:

Sensitive File Access([SKILL.md] .env)
Security Score90/100

About convex-security-check

The Convex Security Check skill provides a structured, rapid security audit framework for applications built with Convex. It is designed to help developers systematically identify and address potential security vulnerabilities, ensuring that authentication, authorization, and data access patterns adhere to best practices. By offering a clear checklist and example implementations, this skill reduces the risk of exposing sensitive operations, mishandling user data, or misconfiguring environment variables, all of which are common sources of security incidents in modern web applications.

Key features include a comprehensive security checklist that covers authentication setup, function exposure, argument validation, row-level access control, and proper handling of environment variables. The skill provides concrete examples of secure coding patterns, including how to enforce authentication for queries, differentiate public and internal function access, validate function arguments rigorously, and protect API keys and secrets. It emphasizes careful review of publicly exposed functions, proper role-based access enforcement, and the correct separation of development and production credentials, supporting developers in maintaining robust security standards across all aspects of their Convex application.

This skill is particularly useful for web developers, backend engineers, and security-conscious teams who deploy applications on Convex. It supports developers conducting internal audits, preparing for production deployment, or establishing organizational security guidelines. By following the provided checklist and examples, users can streamline the security review process, mitigate potential vulnerabilities before they reach production, and ensure that applications meet both functional and regulatory security requirements.

FAQ

How do I use the Convex Security Check skill?

Use the provided checklist to systematically audit your Convex application's security. Follow the example patterns for authentication, function exposure, argument validation, row-level access control, and environment variable handling to ensure best practices.

Which authentication providers are supported?

The skill assumes support for providers like Clerk and Auth0, but any provider that integrates with Convex and provides user identity information can be used.

Can I use this skill for applications not built on Convex?

This skill is specifically tailored for Convex applications. While some general security practices may apply elsewhere, the examples and checklist are optimized for Convex's API and architecture.

Does this skill automatically enforce security?

No, it provides a checklist and code examples to guide developers. Implementation and verification of security measures must be done manually following the guidelines.

Are there any limitations on environment variable usage?

Yes, API keys and secrets should only be stored in environment variables and accessed in actions. No secrets should be hard-coded or exposed in schemas or public functions.

All Files

2 files
agents/openai.yaml0.1 KB
View
SKILL.md9.6 KB
View

Install convex-security-check

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill