cliprace-security-reviewer

Review ClipRace API routes, server actions, and utilities for security vulnerabilities.

Updated Aug 16, 2025
One-click install
npx skills add https://github.com/Tomy74-vsc/cliprace --skill cliprace-security-reviewer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cliprace-security-reviewer
Source: https://github.com/Tomy74-vsc/cliprace/tree/main/.cursor/skills/cliprace-security-reviewer
Command: npx skills add https://github.com/Tomy74-vsc/cliprace --skill cliprace-security-reviewer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill identifies and mitigates security vulnerabilities within the ClipRace codebase, ensuring robust protection against common web exploits and unauthorized access.

Core Features & Use Cases

  • Comprehensive Security Audits: Reviews API routes, server actions, and utilities for CSRF, RLS, authorization, and rate limiting flaws.
  • Actionable Recommendations: Provides precise, implementation-level fixes for identified security risks.
  • Use Case: When a developer submits new code for payment processing, this Skill will analyze it to ensure proper CSRF protection, verify that only authorized users can access payment details, and confirm that rate limiting is in place to prevent abuse.

Quick Start

Use the cliprace-security-reviewer skill to review the security of the file '/src/app/api/webhooks/stripe/route.ts'.

Frequently Asked Questions about cliprace-security-reviewer

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

FAQPage Schema
How do I review API routes for CSRF protection and authorization flaws?

To review API routes for CSRF protection and authorization flaws, analyze server actions and route handlers to ensure message authorization checks are active and rate limiting is properly keyed by userId, ip, and user-agent.

How does rate limiting keyed by userId and ip work for server actions?

Rate limiting keyed by userId and ip works by combining user identifiers with network data and user-agent strings to enforce request thresholds, preventing abuse across API routes and server actions even when individual identifiers are spoofed.

How do I check if my Supabase RLS policies align with my API route authorization?

Checking Supabase RLS policy alignment involves verifying that row-level security rules match the message authorization logic in your server actions, ensuring unauthorized users cannot bypass frontend restrictions to access restricted data.

What is the best way to audit payment processing webhooks for security vulnerabilities?

The best way to audit payment processing webhooks for security vulnerabilities is to review the route handler file directly, verifying CSRF tokens, authorized access controls, and strict rate limiting to mitigate unauthorized exploits.

Does this security review process work on utility files outside of API routes?

Yes, the security review process works on utility files outside of API routes by evaluating them alongside server actions to identify cross-functional vulnerabilities, ensuring consistent authorization and rate limiting enforcement across the codebase.