# Vercel Just Fixed Vibe Coding's Biggest Problem <!-- ref: @content/youtube/sean-kochel/vercel-just-fixed-vibe-codings-biggest-problem tags: [application security, vibe coding, OWASP, static analysis, AI coding agents, security scanning, spec-driven changes] version: 2 updated_at: 2026-11-24T05:20:36.924Z --> **[Watch on YouTube](https://www.youtube.com/watch?v=hTpHmLFXBrc)** # Vercel Just Fixed Vibe Coding's Biggest Problem *Synthesized from Sean Kochel, 2026-05-13.* Sean Kochel presents alone, demonstrating Vercel's open-source DeepSec scanner on his own projects (transcribed as "Deep Sec"). ## Core Thesis Kochel argues that apps built quickly with coding agents usually contain security holes their builders do not know about. He proposes a repeatable loop: scan the whole repository with an agent-powered tool, turn the report into a spec-driven change, then revalidate. He is clear that the tool is static analysis and will miss flaws that depend on human interaction. ## Key Insights - **OWASP as the frame.** He walks through the OWASP Top 10: broken access control, security misconfiguration, software supply-chain failures, cryptographic failures such as plaintext passwords, injection, insecure design, authentication failures such as no rate limiting, data integrity failures, logging and alerting failures, and mishandled exceptions that fail open. - **Setup.** `npx deepsec init` writes instructions that teach the coding agent the tool. The agent is set to Claude Code or Codex explicitly, since switching between them caused errors for him. He runs it on his Claude Max plan rather than a Vercel API key. - **Threat model first.** The agent writes an info.markdown describing the codebase and its threat model. For a personal project he assumed a single user on a local machine. - **Scan, then process.** The scan step uses regex matchers and flagged 118 candidate files in under a second. The process step groups them into 29 batches and runs the language model over them, taking about 5 to 6 minutes of wall-clock time (50 minutes of processing, run in parallel) for about $19, or roughly $19.50 at API prices on Opus 4.7. - **Report.** The report command sorts findings into critical, high, medium, low and bug categories and writes a markdown and a JSON file. His findings included a database that was silently wiped when the server terminated abnormally, and six medium-priority issues in a family-only app, including no rate limiting on a sign-up key. - **Fix and revalidate.** He used OpenSpec's fast-forward command to generate a proposal, spec, design and task list, then applied them. The revalidate command checked the git history, marked both findings fixed, and cost about $1.12 in about 2.5 minutes. - **Cadence.** He recommends running the full cycle at least weekly, so new code does not slip through. ## Actionable Takeaways 1. Run a full-repository scan at least once a week. 2. Name the agent explicitly (Claude Code or Codex) before running the tool, to avoid setup errors. 3. Turn each report into a spec-driven change, not ad hoc edits, so each fix is tracked. 4. Use the revalidate step to confirm each fix before trusting it. 5. Test interaction-level flaws manually, since static analysis only sees code patterns. ## Notable Quotes > "there's a 90% chance that you have a security hole that you don't even know about" — Sean Kochel > "It's a static code analysis tool, so it's looking at the patterns in what you have built" — Sean Kochel --- *Related: `@content/youtube/every-inc/i-vibecoded-this-feature-using-codex` · `@content/youtube/david-ondrej/this-100-open-source-terminal-is-insane-just-watch` · `@content/youtube/cole-medin/the-best-jev-use-cases-for-ai-coding-absolute-game-changers` · `@content/youtube/cole-medin/omnigent-the-new-meta-harness-for-every-coding-agent-claude-code-codex-pi-more` · `@content/youtube/all-about-ai/codex-5-5-vs-claude-code-hyperliquid-trading-challenge`* --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*