security-convex

Audit Convex applications for authentication, authorization, and input validation vulnerabilities.

124|12|Updated Nov 17, 2025
One-click install
npx skills add https://github.com/IgorWarzocha/Opencode-Workflows --skill security-convex-igorwarzocha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-convex
Source: https://github.com/IgorWarzocha/Opencode-Workflows/tree/main/agents/security-reviewer/.opencode/skill/security-convex
Command: npx skills add https://github.com/IgorWarzocha/Opencode-Workflows --skill security-convex-igorwarzocha

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers identify and fix common security vulnerabilities in Convex applications, ensuring robust authentication, authorization, and data validation.

Core Features & Use Cases

  • Auth Auditing: Detects missing authentication checks in queries and mutations.
  • Authorization Checks: Identifies potential Insecure Direct Object References (IDOR) and improper access controls.
  • Input Validation: Flags functions lacking proper argument validation.
  • Use Case: A developer can use this skill to automatically scan their Convex codebase for common security flaws before deployment, preventing data breaches and unauthorized access.

Quick Start

Run the security scan script to audit the Convex code for vulnerabilities.

Frequently Asked Questions about security-convex

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

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

To audit a Convex application for security vulnerabilities, run a scanning script that checks for missing authentication, authorization flaws like IDOR, and insecure HTTP actions. This process identifies unauthenticated functions to harden your deployment.

What is an IDOR risk in Convex queries and mutations?

An IDOR risk in Convex queries and mutations occurs when improper access controls allow unauthorized users to directly reference database records. Auditing identifies these missing authorization checks to prevent unauthorized data access.

How do I check for missing input validators in Convex functions?

To check for missing input validators in Convex functions, scan the codebase using ripgrep to flag queries and mutations lacking proper argument validation. This detects functions vulnerable to malicious inputs before deployment.

Does this security audit detect insecure HTTP actions in Convex?

Yes, the security audit detects insecure HTTP actions in Convex by scanning the codebase. It identifies vulnerabilities within HTTP endpoints alongside checking for unauthenticated functions and missing argument validators.

Can I scan my Convex codebase automatically before deployment?

Yes, you can automatically scan your Convex codebase before deployment by running the security audit script. It utilizes ripgrep for code scanning to provide actionable insights for hardening your application.