Skip to content
Dashboard

Security Review now supports Deep Scans

Vercel Security Review can now run Deep Scans, which review your entire codebase for vulnerabilities. Scans can be run on a repository or project.

  • For projects, a Deep Scan reviews the root directory and the local packages it depends on in the same repository.

  • For repositories, a Deep Scan reviews all of the code in a repository, including code not deployed by projects.

Copy link to headingHow Deep Scans work

A Deep Scan snapshots your default branch, splits the code that can run into partitions, and reviews each partition with its own Security Review agent. Agents run in parallel and read each file’s commit history, so they can catch changes like a removed authorization check. They analyze source only and never run your code.

Preparing a scan plans the partitions and estimates the cost. Nothing is billed until you start it. Vulnerabilities appear as reviews finish, and later scans skip partitions that haven’t changed.

A Deep Scan doesn’t review other branches or later commits. Diff Scans cover those.

Copy link to headingGet started

Deep Scans can be run by team Owners or Members with Security Review enabled.

To start a deep scan in the dashboard:

  1. Select Scans in your sidebar, then click New Deep Scan.

  2. Select the project or repository to scan and a model.

  3. (Optional) Select Skip Cache to scan all code, including code earlier scans already covered.

  4. Click Prepare Scan.

To start a deep scan via the CLI:

  1. Update to the latest version of Vercel CLI.

  2. From a directory linked to your project, prepare the scan: vercel security scan

  3. To specify a project or repository, add --project <name> or --repository <owner>/<repo>.

  4. After your scan is prepared, you can check the number of reviews and the estimated cost in the output, then start the scan with: vercel security scan start

Copy link to headingPricing

Cost scales with the length of your commit history and the amount of code those commits touch. Each scan shows an estimate before you start it.

Read the Deep Scans documentation and the Security Review announcement to learn more. To run full-repository scans on your own infrastructure with your own model keys, run deepsec.