BehiSecc/VibeSec-Skill
Acerca de
Esta habilidad ayuda a Claude a escribir código seguro y a prevenir vulnerabilidades comunes.
Seguridad y privacidadCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- +10
- in 15 days
- +19
- in 1 month
- +66
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalVibeSec-Skill
Stop vibe coding vulnerabilities into production.
An AI skill that brings 5+ years of bug bounty hunting experience into your AI coding workflow — structured for modern agents with a lightweight SKILL.md router and targeted reference files loaded on demand.
Introduction
Vibe coding is fun until your app ends up on social media for all the wrong reasons:
- API keys exposed in client bundles or
NEXT_PUBLIC_*variables - IDOR vulnerabilities and missing RLS policies leaking user data
- Unprotected Server Actions and admin endpoints
- Subtle SSRF, redirect, or upload bypasses
Current models already know textbook OWASP definitions, so VibeSec skips boilerplate and focuses on build/audit workflows, universal invariants, and non-obvious bug-hunter bypasses — loaded progressively so agents do not burn context on unrelated tasks.
Table of Contents
[!TIP] This skill covers the most common high-impact web vulnerabilities. If you need a more robust version with broader coverage, visit vibesec.sh.
How It Works
vibesec/
├── SKILL.md # Lightweight router, modes, and always-on invariants
└── references/
├── auth-and-access.md # IDOR, RLS, Server Actions, sessions, JWT, OAuth, webhooks, rate limits
├── client-and-browser.md # Indirect XSS sinks, CSP, CSRF edge cases, CORS, client leaks
├── server-and-data.md # Non-obvious SQLi, mass assignment, GraphQL, traversal, SSTI, races
└── urls-files.md # SSRF bypasses, open redirects, uploads/archives, XXE
SKILL.md stays compact and loads only the matching file in references/ when your task touches that surface — staying quiet on pure styling or copy edits.
Installation
Clone the repository into a vibesec folder inside your agent's skills directory (the folder name matches name: vibesec in SKILL.md per the Agent Skills specification):
Claude Code
Global:
git clone https://github.com/BehiSecc/VibeSec-Skill ~/.claude/skills/vibesec
Project-only:
git clone https://github.com/BehiSecc/VibeSec-Skill .claude/skills/vibesec
Cursor
Global:
git clone https://github.com/BehiSecc/VibeSec-Skill ~/.cursor/skills/vibesec
Project-only:
git clone https://github.com/BehiSecc/VibeSec-Skill .cursor/skills/vibesec
Codex
Global:
git clone https://github.com/BehiSecc/VibeSec-Skill ~/.agents/skills/vibesec
Project-only:
git clone https://github.com/BehiSecc/VibeSec-Skill .agents/skills/vibesec
GitHub Copilot
Global:
git clone https://github.com/BehiSecc/VibeSec-Skill ~/.copilot/skills/vibesec
Project-only:
git clone https://github.com/BehiSecc/VibeSec-Skill .github/skills/vibesec
Antigravity
Global:
git clone https://github.com/BehiSecc/VibeSec-Skill ~/.gemini/antigravity/skills/vibesec
Project-only:
git clone https://github.com/BehiSecc/VibeSec-Skill .agent/skills/vibesec
Covered Vulnerabilities
| Category | Covered Areas |
|---|---|
| Auth & Access Control | IDOR / tenant isolation, parent-resource checks, Next.js Server Actions, BaaS RLS, session lifecycle & revocation, password hashing, rate limiting, JWT, OAuth 2.0 (PKCE, state, email verification), incoming webhook HMAC verification |
| Client & Browser | Indirect XSS sinks (URL schemes, Markdown, SVG, PDFs, postMessage), CSP, pre-auth & missing-token CSRF, CORS misconfiguration, client-side & SSR hydration secret leaks |
| Server & Data | Non-parameterizable SQLi (ORDER BY, ORM raw escapes), mass assignment, GraphQL limits & alias batching, path traversal, command & argument injection, SSTI, race conditions / TOCTOU |
| URLs, Files & XML | SSRF bypasses & DNS rebinding, cloud metadata protection, open redirect parser bypasses, file upload polyglots & ZIP slip, XXE (including PHP 8+ guidance) |
Quick Start
# Build mode:
"Add a webhook callback endpoint and profile avatar upload. Follow VibeSec rules."
# Audit mode:
"Run a VibeSec security review on the auth and API routes in this repo."
Contribution
If you have suggestions, improvements, or new bug-hunter edge cases to add:
- Fork this repo
- Make your changes (keep
SKILL.mdconcise and place domain-specific checks inreferences/) - Submit a Pull Request
You can also open an Issue if you spot something that needs fixing.
Contact
If you want to contact me, you can reach me on X.
Explorar proyectos relacionados
Cargando…