Vibe Security Scanner
Free automated scans (ZAP, GitLeaks, Bandit, Grype) plus the 5 AI-code flaws. Detalhes em references/.
When to Activate
- User built a SaaS with Cursor, Claude Code, Bolt, Lovable, or similar AI tools
- Pre-deployment security audit
- "Is my app secure?" or "scan my code"
- Payment integration review
- User handles customer data (LGPD, GDPR, HIPAA context)
When NOT to Use
- Manual review depth on auth, payments, or crypto (use
security-review) - Stack-specific hardening, e.g. Django or Laravel (use
django-security,laravel-security, etc.) - Auditing your Claude Code configuration, not the app (use
security-scan)
Core Principles
- Secrets first — GitLeaks over full history; rotate all hits
- Server-side auth — RLS on tables, RPC role check, ownership on IDs
- Scan the stack — Bandit (Python) + Grype (deps) + ZAP (runtime)
- Grep the 5 patterns — localStorage role, innerHTML, sk_live, raw SQL IDs
- Manual complements auto —
security-reviewfor auth/payments/crypto depth
Example
gitleaks detect --source . --verbose
bandit -r . -ll
docker run --rm -v $(pwd):/src anchore/grype dir:/src
References
references/vulnerabilities.md— the 5 flaws with FAIL/PASS code (RLS, admin, IDOR, secrets, XSS)references/scanners.md— ZAP, GitLeaks, Bandit, Grype commands and findingsreferences/workflow-review.md— scan order, AI review prompt, JS/TS profile, links
Checklist
- GitLeaks clean incl. history; secrets rotated, never in frontend bundle
- RLS enabled, admin verified server-side, IDOR ownership checked
- Bandit HIGH/MEDIUM fixed; Grype CVEs updated; ZAP baseline reviewed
- Grep for localStorage role, innerHTML, sk_live/sk_test hits resolved