> ## Documentation Index
> Fetch the complete documentation index at: https://docs.replit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Project Security Center

> Choose a security scan, review findings, and fix vulnerabilities before you publish your Replit App.

![Project Security Center showing security scan findings grouped by severity](https://mintcdn.com/replit/m66KQX7992wJ3rkk/images/security-scanner/security-scanner-hero.png?fit=max\&auto=format\&n=m66KQX7992wJ3rkk\&q=85\&s=fe56b3d0d0735cc2a6dbdba2b252badc)

The Project Security Center is the central place to find and fix security and privacy vulnerabilities in a Replit App. In your project's **Tools** pane, select **Security Center** to run scans, review findings, and send accepted issues to Agent for remediation.

> [!NOTE]
>
> New to dependency security? See [Security
> concepts](https://docs.replit.com/features/security/concepts.md) for definitions of CVE, SBOM, exposure,
> Fix with Agent, Republish, and Auto-Protect.

## Choose a security scan

Compare [security scan levels](https://docs.replit.com/features/security/security-scan-levels.md) to see what Levels 1, 2, and 3 check.

Choose the scan that matches the type of review you need:

**Review your source code**

Use an Agent security scan for the normal code-review workflow. Security
Agent audits your codebase, reports findings, and helps you fix them.

Explore →

[Open](https://docs.replit.com/features/security/agent-security-scans.md)

**Test the running app**

Use a Level 3 scan when you also need a black-box pen test of the running
app. Level 3 runs that test alongside a source-code review.

Explore →

[Open](https://docs.replit.com/features/security/black-box-pen-tests.md)

Both paths report findings in **Security Center**. Agent security scans are available to paid Replit builders.

## Automatic dependency scans

Automatic dependency scans check project packages against public vulnerability records. These scans are free and run automatically. When a new Common Vulnerabilities and Exposures (CVE) entry is disclosed, Replit checks it against your project's dependencies and surfaces matches in the **Security** pane without requiring a manual rescan.

Dependency scanning supports Node.js/npm, Python, Go, Rust, PHP, and Ruby.

Automatic dependency fixing is currently focused on Node.js/npm.

![Automatic dependency scans card with the Fix all with Agent action](https://mintcdn.com/replit/MuLW6SmzOLVKbNrI/images/project-security-center/fix-all-with-agent.png?fit=max\&auto=format\&n=MuLW6SmzOLVKbNrI\&q=85\&s=8d6a692c34d6d106462fa714bdc703aa)

### Auto-Protect

Auto-Protect extends automatic dependency scanning. When Replit detects a matching vulnerability, Agent prepares and tests a patch and emails you a direct link. The patch remains pending in the **Security** pane for your review. After you apply it, republish the app so the production version includes the fix.

Auto-Protect covers dependency CVEs only. Use an [Agent security scan](https://docs.replit.com/features/security/agent-security-scans.md) to review application code.

Both Auto-Protect settings are off by default:

**1. Enable patch preparation**

A Workspace admin goes to [Advanced](https://replit.com/settings/advanced) in **Settings**, then
selects the minimum severity (low, medium, high, or critical) at which
Replit should prepare remediations.

**2. Enable security emails**

Go to [Personalization](https://replit.com/settings/personalization) in **Settings**, scroll to **Email Notifications**, and
select the minimum severity at which you want to receive notifications.

For each new vulnerability, Replit sends at most one email per Workspace that summarizes all affected projects. Select **Go to Task** to inspect an Agent-prepared patch before applying it. After you apply the patch, the vulnerability appears as **pending republish** until you publish a new version.

> [!NOTE]
>
> Agent-prepared remediations are billed like other Agent work, including when
> Auto-Protect prepares them proactively.

## Review findings

Security results appear in the **Security** pane and are grouped by severity:

| Severity | Guidance |
| - | - |
| Critical | Immediate risks that you should address before publishing |
| High | Serious issues that could be exploited under certain conditions |
| Medium | Potential risks that are less likely to be exploitable |
| Low / Informational | Minor issues and best-practice recommendations |

Review each finding before accepting, revising, or dismissing it. Send accepted issues to Agent for remediation, then rerun the relevant scan after applying fixes.

## Security checks during development and publishing

### Security scan while you build

As you build with Agent, Replit automatically reviews the files Agent changes for common insecure patterns and hardcoded secrets. This is an early, lightweight check in the Agent workflow rather than a full codebase review. Its results do not appear as a separate report in the **Security** pane.

### Publish checks

Replit also runs a security scan before publishing. The **Block publishing of critical vulnerabilities** setting determines what happens when the scan finds a critical issue:

* **On**: Publishing is blocked until the issue is resolved or dismissed.
* **Off**: Publishing proceeds, and the finding remains available for review.

Enterprise organizations can require this setting for every app.

These checks complement, rather than replace, a full [Agent security scan](https://docs.replit.com/features/security/agent-security-scans.md) or [Level 3 scan](https://docs.replit.com/features/security/black-box-pen-tests.md).

## Next steps

* Follow the [Agent security scan workflow](https://docs.replit.com/features/security/agent-security-scans.md).
* Learn how to run [black-box pen tests with Level 3](https://docs.replit.com/features/security/black-box-pen-tests.md).
* Learn more about [Publishing](https://docs.replit.com/learn/projects-and-artifacts/replit-deployments.md).
* Read [How Replit secures AI-generated code](https://blog.replit.com/securing-ai-generated-code).
