security-audit

Audit RLS enforcement and API security against OWASP Top 10 practices.

395|84|Updated Oct 5, 2025
One-click install
npx skills add https://github.com/bybren-llc/wtfb-safe-agentic-workflow --skill security-audit-bybren-llc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-audit
Source: https://github.com/bybren-llc/wtfb-safe-agentic-workflow/tree/main/.claude/skills/security-audit
Command: npx skills add https://github.com/bybren-llc/wtfb-safe-agentic-workflow --skill security-audit-bybren-llc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

RLS validation, security audits, OWASP compliance, and vulnerability scanning.

Core Features & Use Cases

  • RLS Validation: ensure all DB ops use context wrappers
  • OWASP Checks: security checks
  • Vulnerability Scanning: library scanning
  • Pre-Deployment Security Review: security gating

Quick Start

Run a security audit on API routes and RLS policies; attach evidence

Frequently Asked Questions about security-audit

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

FAQPage Schema
How do I audit RLS enforcement in my database to prevent unauthorized data access?

RLS auditing validates that all database operations use context wrappers instead of direct queries, ensuring row-level security policies are enforced. This Skill scans your access patterns, checks for policy gaps, and identifies exposure risks before deployment.

What security checks does OWASP compliance include for API routes?

OWASP Top 10 compliance checks verify parameterized queries, input validation with Zod, environment-based secrets management, and route authentication. This Skill applies these checks across your API surface to block injection, broken auth, and data exposure vulnerabilities.

Can I scan my application for security vulnerabilities before deploying to production?

Yes. Pre-deployment security review gates your release by running vulnerability scanning on database access patterns, library dependencies, and authentication enforcement. This Skill identifies gaps in RLS policies and API security so you can remediate before going live.

What do I need to set up before running a security audit?

Prepare context wrappers for all data access, use parameterized queries with no direct Prisma calls, store secrets in environment variables, and validate inputs with Zod. The audit requires these patterns in place to assess OWASP compliance accurately.

How does vulnerability scanning across database access patterns work?

Vulnerability scanning examines your data access layer to detect unprotected queries, missing RLS policies, and authentication gaps. It traces database operations through your codebase and flags patterns that expose data or violate OWASP standards.