---
title: Security Review Deep Scans
description: Review existing code on your default branch for security vulnerabilities and learn how Deep Scans differ from Diff Scans.
url: "https://vercel.com/docs/agent/security-review/deep-scans"
last_updated: 2026-11-12
related:
  - /docs/agent/security-review
  - /docs/agent/security-review/usage
  - /docs/agent/pricing
  - /docs/security/shared-responsibility
install_vercel_plugin: npx plugins add vercel/vercel-plugin
search_with_vercel_cli: npx vercel@latest docs search "<query>"
search_kb_with_vercel_cli: npx vercel@latest kb search "<query>"
---

# Security Review Deep Scans

> Vercel Security Review Deep Scans are available in Public Beta on Enterprise and Pro plans

[Security Review](/docs/agent/security-review) checks each change you push. A Deep Scan checks the code that's already on your default branch and reports what it finds in the [Vulnerabilities](/d?to=%2F%5Bteam%5D%2F%7E%2Fsecurity%2Fvulnerabilities\&title=Open+Vulnerabilities) dashboard.

## Deep Scans and Diff Scans

|                           | Diff Scan                                                           | Deep Scan                                                                     |
| ------------------------- | ------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| **What it reviews**       | Each new change you push                                            | Code that's already on your default branch                                    |
| **Direction**             | Forward, from when you turn it on                                   | Backward, over your existing code                                             |
| **When it runs**          | Automatically, on every Git push                                    | Once, when you start it                                                       |
| **Who controls it**       | An Owner turns on **Review Changes Automatically**                  | An Owner or authorized Member can prepare, and cancel before the start. Only an Owner can start, or cancel a running scan. |
| **Where findings appear** | Vulnerabilities dashboard, GitHub checks, and pull request comments | Vulnerabilities dashboard                                                     |
| **Closes fixed findings** | Yes                                                                 | No                                                                            |

Run a Deep Scan once to cover your existing code, and keep Security Review on to cover what you push next.

A Deep Scan doesn't skip code that Diff Scans already checked. A later Deep Scan does skip groups of files that an earlier scan reviewed, as long as they haven't changed. Editing one file can change how the files around it are grouped, so a later scan can review, and bill you for, more than the files you changed.

To review all of the code again, including files an earlier Deep Scan already covered, turn on **Skip Cache** under **Advanced Settings** when you prepare the scan. For example, use it when you want a fresh review of code you've already scanned. A scan that skips the cache reviews, and bills you for, every file it covers.

## What a Deep Scan reviews

A Deep Scan reviews your connected GitHub repository's default branch as it was when you prepared the scan. It covers the project's root directory and the local packages it depends on in the same repository. If the project has no root directory, it covers the whole repository. It reviews:

- Files that can run, together with their history
- Changes that removed code but still affect a file, such as a deleted authorization check
- Vendored code, built code, lockfiles, and minified files

A Deep Scan doesn't review:

- Test files, test data, fixtures, mocks, snapshots, stories, Markdown and MDX files, TypeScript declaration files (`.d.ts`), source maps, and images, fonts, audio, video, and PDFs
- Branches other than the default branch
- Commits pushed after the snapshot. Diff Scans cover those when Security Review is on.
- Projects without a connected GitHub repository
- Your running application. A Deep Scan analyzes source code only.

## Prepare and start a Deep Scan

An Owner or an authorized Member can prepare a Deep Scan, and cancel one that hasn't started. Only an Owner can start a scan or cancel a running one. The Billing role alone doesn't give you access to Deep Scans.

If your team is eligible and usage-based billing isn't enabled, an Owner can review the billing terms and select **Enable and Start Scan**. The dashboard enables billing before it starts the scan.

1. Open your team in the [dashboard](/dashboard), then go to **Security** → **Scans**. You can also open **Security** → **Scans** from a project you have access to.
2. Click **New Deep Scan**, choose **Project** or **Repository**, select one, and click **Prepare Scan**. The scan page opens while Security Review plans the scan. You aren't billed for preparing a scan.
3. When the status changes to **Awaiting Start**, check the **Estimated Cost**. A large project can cost much more than a Diff Scan.
4. If you're an Owner, click **Start Scan** when you're ready. Otherwise, ask an Owner to review the estimate and start the scan. Charges start once the scan starts.

A prepared scan you don't start expires 30 minutes after it's ready. After you click **Start Scan**, the status can stay at **Awaiting Start** for a few minutes while Security Review finishes copying the repository. Each project runs one scan at a time.

### Cancel a scan

Click **Cancel** on the scan page to discard a plan that hasn't started. An Owner or an authorized Member can do this, and it costs nothing. Only an Owner can stop a running scan; otherwise, ask an Owner to cancel it. A canceled scan keeps the findings it already has, starts no new reviews, and stops the reviews that are running. You pay for what those reviews used up to that point.

## Where findings appear

New findings show up under the repository in the [Vulnerabilities](/d?to=%2F%5Bteam%5D%2F%7E%2Fsecurity%2Fvulnerabilities\&title=Open+Vulnerabilities) dashboard while the scan runs. A Deep Scan doesn't add a finding that's already open, so you won't see duplicates.

To follow a scan, go to **Security** → **Scans**, which lists each scan with its status, progress, and number of vulnerabilities by severity. Select a scan to open its page, where the **Vulnerabilities** section shows the scan's findings as they're found.

A Deep Scan doesn't add GitHub checks or pull request comments, and it doesn't close existing findings. For information on triaging, fixing, or closing findings, see [Managing Security Reviews](/docs/agent/security-review/usage).

## Pricing

Deep Scans use the same rates as Diff Scans: provider inference at the underlying token rate with no markup, plus the Vercel Token Rate of $0.25 per million tokens. See [Vercel Agent pricing](/docs/agent/pricing) for the rates and how to track usage.

What you pay depends on how much code the scan reviews. The estimate isn't a spending limit, and the final cost can be higher or lower. If your team's billing can't cover a review, the scan stops early. To stop further charges, an Owner can [cancel the scan](#cancel-a-scan). The reviews that are running stop, and you pay for what they used up to that point.

## Limitations

Security Review helps you find vulnerabilities. It doesn't replace a security audit, runtime testing, or penetration testing, and it can't guarantee your application is free of vulnerabilities. See the [shared responsibility model](/docs/security/shared-responsibility) for how security responsibilities are split between you and Vercel.

Projects that share a repository can each run a Deep Scan, so you can pay to review the same code more than once. A later scan picks up any groups of files that an earlier scan didn't finish.

## Search the docs from your terminal

Search the Vercel docs and read pages as Markdown with the Vercel CLI. No login required.

```bash
# Find docs pages by keyword
npx vercel@latest docs search "environment variables"
npx vercel@latest docs search "function timeout"

# Print a docs page as Markdown, by path or URL
npx vercel@latest docs inspect <page>
```

## Search guides from your terminal

Search the Knowledge Base and read guides as Markdown with the Vercel CLI. No login required.

```bash
# Find guides by keyword
npx vercel@latest kb search "rewrites and redirects"
npx vercel@latest kb search "AI SDK streaming"

# Show the latest guides
npx vercel@latest kb

# Print a guide as Markdown, by slug or URL
npx vercel@latest kb inspect <guide>
```

---

[View full sitemap](/docs/sitemap)


If you encounter incorrect information, can’t find what you need, need a capability Vercel doesn’t currently offer, or have any other feedback to report, please do it by following the instructions at https://vercel.com/feedback.md.
