Vercel Security Review Adds Deep Scans: Full Codebase Vulnerability Detection

Vercel Security Review adds Deep Scans for parallel detection of historical vulnerabilities across the entire codebase.
Vercel's Security Review feature now includes Deep Scans, expanding vulnerability detection from change diffs to the entire codebase. Deep Scans snapshot the default branch, split code into partitions, and have parallel security review agents analyze source code and commit history without running code. They support project and repository scopes, with costs estimated before launch and subsequent scans skipping unchanged partitions. Scans can be run via console or CLI, and costs depend on commit history and code volume. Vercel also offers the open-source tool deepsec for self-hosted scanning. Deep Scans fill the gap in historical code auditing and complement Diff Scans.
Vercel Security Review Adds Deep Scans: Full Codebase Vulnerability Detection
Vercel's Security Review feature has recently received a major update, officially supporting Deep Scans. Unlike previous scanning methods that only focus on change diffs, Deep Scans review vulnerabilities across the entire codebase, helping teams uncover security risks that have long lurked, were never deployed, but could still be exploited.
How Deep Scans Work
According to Vercel's official introduction, a Deep Scan first takes a snapshot of the default branch, splits the runnable code into multiple partitions, and then assigns a dedicated security review agent to each partition. These agents work in parallel and read the commit history of each file, thereby catching changes such as "authorization checks removed."
The scan only analyzes source code and does not actually run the code. During the preparation phase, the system plans partitions and estimates costs; no charges are incurred until you officially start the scan. Vulnerabilities are surfaced progressively as the review completes, and subsequent scans skip partitions that have not changed.
Deep Scans do not review other branches or subsequent commits; that part is covered by Diff Scans.

Diff Scans are another mode of Security Review that analyzes only the diff introduced by a single code change (such as a Pull Request or a commit) rather than the entire codebase. This mode is suitable for providing fast feedback in continuous integration (CI) pipelines and can intercept newly introduced vulnerabilities before code is merged. However, Diff Scans cannot find vulnerabilities that already existed in historical commits but have never been modified. Deep Scans and Diff Scans are complementary: the former covers historical issues across the full codebase, while the latter continuously monitors new changes; only by combining both can complete security coverage be achieved.
Security review agents are automated programs in Vercel's Security Review feature that perform vulnerability detection. In Deep Scans, the system splits the codebase into multiple partitions and assigns an independent agent to each partition. These agents work in parallel, each analyzing the source code and commit history of its assigned partition. Agents do not actually run code; instead, they use static analysis and pattern recognition to find potential vulnerabilities, such as missing authorization checks or insecure input handling. The parallel partitioning design keeps scan times manageable for large codebases, while the agents' ability to read commit history allows them to capture contextual changes such as "a certain commit removed an authorization check."
Scanning Scope: Projects and Repositories
Deep Scans support two targets: projects and repositories.
- Project: scans the root directory and local packages within the same repository that the project depends on.
- Repository: scans all code in the repository, including parts not deployed by the project.
This distinction allows teams to choose the scanning granularity based on actual needs, focusing either on project-related code or covering the entire repository's legacy code.
The default branch is the branch in a repository that serves as the main line of development, usually main or master. When a Deep Scan starts, it first takes a snapshot of the default branch, and all subsequent analysis is based on that snapshot. This means new commits to the default branch during the scan are not included in the current scan. The snapshot mechanism ensures consistency of scan results, but it also means Deep Scans do not cover other branches or commits after the snapshot—that part is handled by Diff Scans. For teams with multi-branch development, Deep Scans must be combined with Diff Scans to cover new changes across all active branches.
How to Get Started
Team Owners or Members with Security Review enabled can run Deep Scans.
In the console, select Scans in the sidebar, click New Deep Scan, choose the project or repository to scan and the model (optionally check "Skip Cache" to scan all code), then click Prepare Scan.
You can also use the command-line interface (CLI): first update to the latest version of Vercel CLI, then run the following in a directory linked to the project:
vercel security scan
To specify a project or repository, add --project <name> or --repository <owner>/<repo>. After preparation is complete, the output will show the number of reviews and estimated cost; then start the scan with vercel security scan start.
Pricing and Alternatives
The cost of a Deep Scan depends on the length of the commit history and the amount of code those commits touch. An estimated cost is displayed before each scan starts.
For teams that want to run full-repository scans on their own infrastructure using their own model keys, Vercel also offers an open-source tool called deepsec.
Analysis: Shifting Security Left from Diffs to Full Coverage
This update marks an expansion of Vercel's Security Review capabilities from "change-level" to "codebase-level." Diff Scans are suitable for fast feedback in CI pipelines, while Deep Scans fill the gap in historical code auditing—especially for long-maintained projects, where vulnerabilities introduced in early commits are often difficult to find through incremental scanning.
The design of parallel partitioned agent scanning controls scan time while ensuring coverage; the billing model based on commit history and code volume also makes costs more predictable. However, Deep Scans currently target only the default branch, so multi-branch development teams still need to use them in combination with Diff Scans.
For teams already using Vercel Security Review, Deep Scans provide a means to proactively discover deep-seated vulnerabilities, rather than merely intercepting newly introduced issues.
One-line Summary
Vercel Security Review adds Deep Scans for parallel detection of historical vulnerabilities across the entire codebase.
Paragraph Summary
Vercel's Security Review feature now includes Deep Scans, expanding vulnerability detection from change diffs to the entire codebase. Deep Scans first snapshot the default branch, split the code into multiple partitions, and have parallel security review agents analyze source code and commit history without actually running the code. They support two scanning scopes: project and repository. Project mode focuses on the project and its local dependencies, while repository mode covers all code including undeployed parts. Costs are estimated during preparation, with no charge until the scan starts, and subsequent scans skip unchanged partitions. Users can run scans via the console or CLI, and costs depend on commit history and code volume. For teams that prefer self-hosted scanning, Vercel also offers the open-source tool deepsec. Deep Scans fill the gap in historical code auditing and complement Diff Scans.
Related articles

What Is the 'Million-Yuan Breaker-Closing Spell' Meme? The Dark Engineering Humor Behind the Civil Engineering Sect's Forbidden Technique
A Bilibili video uses cultivation-sect storytelling to dramatize absurdities in civil and electrical engineering: 90% budget cuts, the Million-Yuan Breaker-Closing Spell, and intern scapegoating—decoding this dark engineering meme's real-world metaphors.

AI-Generated Nine-Tailed White Fox Short Film: Technical Breakthrough or a New Content Paradigm?
An analysis of the Bilibili AI-generated short film Nine-Tailed White Fox, covering its narrative, characters, and technical limits, and how AI short dramas are reaching usability.

Inside aspas's Rejected Million-Dollar Offer: The Agency Would Only Hand Over the China-Region Contract
Bilibili creator Yelian leaks inside story of aspas rejecting JDG's million-dollar offer: the agency would only give the China-region contract, wanting to monetize overseas rights themselves, while the club insisted on a full contract—conflicting demands killed the deal, and aspas ultimately joined FUT.