01 · Context
The Vibe Coding Security Crisis
Vibe coding — the practice of generating entire applications from natural language prompts using tools like Claude Code, Cursor, Lovable, Bolt, and Replit — exploded in 2025. The term was coined by Andrej Karpathy (former OpenAI Research Scientist) on February 2, 2025. By 2026, 92% of US developers use some form of AI coding assistance. The security implications are catastrophic.
Georgia Tech SSLab · Vibe Security Radar · 2026
CVEs directly attributed to AI-generated code: 6 in January 2026 → 15 in February → 35 in March. Researchers estimate the true number is 5–10× higher across the open-source ecosystem (projected 400–700 cases). Claude Code accounts for 27 of the 74 confirmed cases tracked.
Real Incidents · 2025
Quittr ($1M revenue, Oprah mention): Firebase database publicly readable — 39,000 users' data exposed.
Moltbook: 1.5M auth tokens + 35K email addresses leaked, no authorization check on API endpoints.
The Tea App: 72,000 user images + 1.1M private messages exposed via broken access control AI wrote without review. All three: pure vibe-coded products.
Lovable · Systemic Issue · 2025–2026
Security researchers found 170 out of 1,645 Lovable-created web applications had critical vulnerabilities exposing personal data — over 10% of apps shipping with user data accessible to anyone. CVE-2025-48757: Supabase schemas generated without Row Level Security across 170+ production apps.
Why AI Code Is Structurally Insecure
LLMs optimize for code that works and appears correct, not for code that is resilient under adversarial conditions. They don't reason about trust boundaries, threat models, or downstream security consequences. When a developer accepts AI output without review and ships, every vulnerability pattern the model learned from insecure training data ships with it. The pattern: AI prioritizes making the feature work. Security is a non-functional requirement — models treat it as secondary.
| Metric | Finding | Source | Year |
| OWASP Top 10 in AI code | 45% of samples contain known OWASP vulnerabilities | Veracode GenAI Report | 2025 |
| Vulnerability density | 2.74× higher than human-written code | CodeRabbit Analysis | 2025 |
| Functionally correct + insecure | 80%+ of correct solutions contained security flaws | Zhao et al., arXiv | 2025 |
| Java failure rate | 72% failure on security-sensitive tasks | Veracode | 2025 |
| XSS defense failure | 86% of AI samples failed to defend against XSS | CSA AI Safety Initiative | 2026 |
| AI-generated CVEs | 35 in March 2026, est. 5–10× unreported | Georgia Tech SSLab | 2026 |
| Secrets exposure rate | 3.2% of AI-assisted commits expose secrets (vs 1.5% human) | CSA Research Note | 2026 |
| Hardcoded credentials | ~2× the rate of human-written code | CodeRabbit | 2025 |
08 · Tools
Complete Tool Arsenal
SAST — Static Analysis (highest ROI on vibe-coded repos)
In vibe coding projects where you have source code access, SAST delivers the highest return of any phase. AI-generated code has predictable, repeatable insecure patterns that static tools detect with high accuracy.
Semgrep
Fast open-source SAST with YAML-based pattern matching rules. Run semgrep --config=p/owasp-top-ten for instant OWASP coverage. Generate custom rules targeting AI-specific patterns. Used by Figma, Dropbox, Shopify.
semgrep.dev
free + paid cloud
CodeQL
GitHub's semantic code analysis engine. Models code as data, runs queries to find vulnerability patterns. Free for public repos. javascript-security-extended.qls query suite covers XSS, SQLi, path traversal, SSRF, and more.
codeql.github.com
free for public repos
Bandit
Python-specific SAST by PyCQA. Detects hardcoded passwords, SQLi via string interpolation, use of exec(), insecure deserialization, weak cryptography. Essential for any vibe-coded Python backend.
github.com/PyCQA/bandit
free
ESLint Security Plugin
Node.js/JavaScript SAST via ESLint rules. Catches injection via RegExp, unsafe innerHTML, prototype pollution, child_process misuse. Must-have for any React/Next.js vibe-coded app.
github.com/nodesecurity
free
Snyk Code
AI-powered SAST with deep integration into Cursor, VS Code, GitHub, and GitLab. Fix suggestions built-in. Has dedicated rules for AI-generated code patterns. Free tier for individuals; fast and accurate.
snyk.io
freemium
SonarQube Community
Multi-language SAST with quality gates and historical tracking. Self-hosted. Supports Java, JS, TypeScript, Python, PHP, C#. Strong for teams that want continuous monitoring of a vibe-coded codebase.
sonarqube.org
community edition free
Secrets Scanning — Run First, Always
# 1. TruffleHog — full git history scan with verification
trufflehog git https://github.com/target/repo --only-verified
trufflehog git file://. --since-commit HEAD~100 --json
# 2. Gitleaks — local scan + pre-commit hook
gitleaks detect --source . -v --report-format json
gitleaks protect --staged # in .pre-commit-config.yaml
# 3. detect-secrets baseline (for existing codebases)
detect-secrets scan > .secrets.baseline
detect-secrets audit .secrets.baseline
TruffleHog
Gold standard for secrets detection. Entropy analysis + pattern matching + active verification. Checks if found keys are actually valid against APIs. Scans git history, S3, GitHub, GitLab, filesystem, and more.
github.com/trufflesecurity/trufflehog
free + paid cloud
Gitleaks
Pre-commit firewall. One line in .pre-commit-config.yaml prevents any future secret from entering git. Also scans existing history. Fast, simple, essential. The ROI of one caught credential is incalculable.
github.com/gitleaks/gitleaks
free
detect-secrets (Yelp)
Baseline methodology — establishes what secrets already exist, then alerts only on new ones. Lower false positive rate. Ideal for production codebases with existing secrets debt. Uses a whitelist approach.
github.com/Yelp/detect-secrets
free
DAST — Dynamic Testing
# Nuclei — comprehensive scan
nuclei -u https://target.com -t nuclei-templates/ -severity critical,high -o findings.txt
nuclei -u https://target.com -t misconfigurations/ -t exposures/ -t cves/
# sqlmap — SQL injection
sqlmap -u "https://target.com/api/items?id=1" --level=5 --risk=3 --batch
sqlmap -u "https://target.com/api/search" --data='{"q":"test"}' --dbms=postgres
# dalfox — XSS
dalfox url "https://target.com/search?q=test" -b https://hahwul.xss.ht
# ffuf — directory + parameter fuzzing
ffuf -u https://target.com/FUZZ -w /usr/share/seclists/Discovery/Web-Content/raft-large.txt
ffuf -u https://target.com/api/v1/FUZZ -w /usr/share/seclists/Discovery/Web-Content/api-endpoints.txt
Burp Suite Professional
The primary tool of most professional pentesters. Intercepting proxy, active scanner, Intruder (fuzzing), Repeater (manual replay), Collaborator (OOB testing), Bambdas (Java scripting), and 200+ BApp Store extensions. Non-negotiable for serious web application testing.
portswigger.net/burp/pro
~$449/year
Caido
Modern Burp alternative built in Rust. Cleaner UI, faster response handling, built-in automation workflows (called "Automate" and "Replay"). Growing quickly in the US bug bounty community. Rhynorater and Rez0 use it and discuss it on CTBB podcast. Free tier available.
caido.io
freemiumendorsed CTBB 2026
Nuclei (ProjectDiscovery)
Template-based scanner with 10,000+ templates maintained by the community. Lightning fast. Supports HTTP, DNS, TCP, code execution. The industry standard for automated coverage scanning. Use before manual testing to quickly identify known vulnerabilities.
github.com/projectdiscovery/nuclei
free open-source
OWASP ZAP
Free, open-source DAST scanner. Best for DevSecOps CI/CD integration. Headless mode allows automated scanning in pipelines. Active community, extensive documentation. The go-to free alternative when Burp Pro isn't available.
zaproxy.org
free
sqlmap
The automated SQL injection exploitation tool. Supports all injection types (boolean, time-based, error, UNION, stacked). Handles all major databases. Works on GET, POST, JSON, cookies. Vibe-coded apps frequently have SQLi — run sqlmap on every API parameter.
sqlmap.org
free
dalfox
Go-based XSS scanner specifically built for speed and accuracy. Supports DOM XSS, blind XSS (OOB callback), and custom payload injection. Much faster than manual testing for XSS coverage across large vibe-coded applications.
github.com/hahwul/dalfox
free
Recon & Asset Discovery
Subfinder
Passive subdomain enumeration via 40+ OSINT sources. Essential first step for any engagement where the client has multiple domains or microservices (common in vibe-coded SaaS).
github.com/projectdiscovery/subfinderfree
Katana
Next-gen web crawler by ProjectDiscovery. Supports JavaScript rendering via headless browser. Discovers hidden API endpoints, forms, and links in modern SPAs — critical for vibe-coded React/Next.js applications.
github.com/projectdiscovery/katanafree
httpx
Fast HTTP probing. Take a list of domains/IPs and get status codes, titles, technologies, TLS info. Pairs perfectly with Subfinder output to rapidly map the attack surface.
github.com/projectdiscovery/httpxfree
Amass (OWASP)
In-depth attack surface mapping via DNS enumeration, web archive analysis, and OSINT. More thorough than Subfinder for deep recon. OWASP-maintained and highly trusted in the US security community.
github.com/owasp-amass/amassfree
ffuf
Go-based fuzzer. Fastest tool for directory brute-forcing, parameter fuzzing, and virtual host discovery. Pairs with SecLists wordlists (Daniel Miessler). Indispensable for discovering undocumented API endpoints in vibe-coded apps.
github.com/ffuf/ffuffree
SecLists (Daniel Miessler)
The security tester's companion — curated by Jason Haddix and Daniel Miessler. Wordlists for directories, usernames, passwords, fuzzing payloads, and more. Referenced by jhaddix in TBHM. Must-have.
github.com/danielmiessler/SecListsfree
SCA / Dependencies
Trivy (Aqua Security)
All-in-one SCA: containers, filesystems, git repos, IaC. Fast and accurate CVE database. Single command covers dependencies + secrets + misconfigs. The most complete open-source SCA tool in 2025–2026.
github.com/aquasecurity/trivyfree
Grype (Anchore)
Container and filesystem vulnerability scanner. Fast, focuses purely on vulnerability matching. Produces SBOM (Software Bill of Materials) output compatible with SPDX and CycloneDX standards.
github.com/anchore/grypefree
OWASP Dependency-Check
Java/Python/.NET SCA using NVD CVE data. Maven/Gradle plugin for CI/CD integration. Industry standard for enterprise Java applications. Hallucinated npm packages from AI will often pull in real malicious packages — SCA catches them.
jeremylong.github.io/DependencyCheckfree
Cloud & Infrastructure (common vibe coding stacks)
Prowler
300+ AWS/GCP/Azure security checks. Maps to CIS Benchmarks, NIST, SOC2, PCI-DSS. Run against any cloud account the client grants access to. Vibe-coded apps routinely have over-permissive IAM — Prowler finds it fast.
github.com/prowler-cloud/prowlerfree
Checkov (Bridgecrew)
Static analysis for Infrastructure-as-Code: Terraform, CloudFormation, Kubernetes, Dockerfile, Helm. Catches misconfigs before deployment. Works on local files and git repos.
github.com/bridgecrewio/checkovfree
Pacu
AWS exploitation framework maintained by Rhino Security Labs. Tests privilege escalation paths, IAM misconfigs, S3 bucket access. The Metasploit of AWS pentesting.
github.com/RhinoSecurityLabs/pacufree
ScoutSuite
Multi-cloud security auditing tool. Generates detailed HTML reports of misconfigurations across AWS, GCP, Azure, Oracle. Visual risk dashboard. Used by Deloitte and KPMG for cloud assessments.
github.com/nccgroup/ScoutSuitefree
Exploitation Frameworks
Metasploit Framework
The standard exploitation framework. 2,300+ modules for exploit, payload, auxiliary, and post-exploitation. Essential for escalating findings from theoretical to demonstrated impact. Free community edition via Kali Linux.
metasploit.comcommunity free
Impacket
Python library for network protocols. Essential for any vibe-coded application that integrates with Windows/AD environments. SMB, Kerberos, LDAP, MSRPC exploitation.
github.com/fortra/impacketfree
pwncat-cs
Modern post-exploitation framework that makes reverse shells interactive. Automatic privilege escalation enumeration, file transfer, port forwarding. Mentioned in the Redfox Cybersecurity AI pentest workflow.
github.com/calebstewart/pwncatfree