convex-security-audit

Identify security weaknesses in Convex queries, mutations, and actions.

Updated May 4, 2024
One-click install
npx skills add https://github.com/kcrlee/dots --skill convex-security-audit-kcrlee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-security-audit
Source: https://github.com/kcrlee/dots/tree/main/claude/.claude/skills/convex-security-audit
Command: npx skills add https://github.com/kcrlee/dots --skill convex-security-audit-kcrlee

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you review Convex backends for security flaws before they become incidents, especially when access control, data isolation, or sensitive workflows are easy to get wrong.

Core Features & Use Cases

  • Authorization review: Check who can call each query, mutation, or action and whether role checks are consistent.
  • Data boundary review: Verify users only read their own records, shared resources are properly gated, and sensitive items do not leak existence.
  • Operational hardening: Inspect external API actions, rate limiting, audit logging, and destructive admin flows for safe execution.
  • Use case: Use it when auditing a new Convex feature that updates user data, calls third-party services, or exposes admin-only actions.

Quick Start

Ask the Convex Security Audit skill to review your Convex functions for authorization gaps, unsafe data access, missing rate limits, and weak protections around destructive actions.

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 my Convex backend for authorization and data access vulnerabilities?

To audit your Convex backend for authorization and data access vulnerabilities, review queries, mutations, and actions to ensure role checks are consistent, users only read their own records, and shared resources are properly gated to prevent sensitive data leaks.

What security checks are needed for destructive admin workflows in Convex?

Security checks for destructive admin workflows in Convex require strong server-side validation, role enforcement, and confirmation workflows to protect sensitive operations, ensuring unauthorized users cannot trigger destructive actions.

How do I secure external API calls and enforce rate limiting in Convex actions?

To secure external API calls and enforce rate limiting in Convex actions, inspect your operational hardening setup to verify rate limits are applied, audit logging is active, and safe execution protocols are followed for third-party services.

Does this security review verify ownership checks across all Convex internal functions?

Yes, this security review verifies ownership checks across all Convex internal functions by identifying weaknesses in application logic and ensuring data access boundaries are strictly maintained to protect sensitive operations.

When should I run a security audit on my Convex application logic?

You should run a security audit on your Convex application logic when developing new features that update user data, call third-party services, or expose admin-only actions, ensuring access control and data isolation flaws are caught before shipping.

What is the best way to prevent sensitive item existence leaks in Convex queries?

The best way to prevent sensitive item existence leaks in Convex queries is to implement proper data boundary reviews, verifying that shared resources are correctly gated and that unauthorized users cannot infer the existence of sensitive records.