Getting started with Claude Security | Claude (original) (raw)

Claude Security is a capability built into Claude.ai, which scans your codebases for security vulnerabilities and suggests targeted software patches for you to review, allowing you and your team to find and fix security issues that traditional methods often miss (See our announcement for more). It is a beta feature available to Claude Enterprise accounts.

Most engineering teams don’t have the reviewer-hours and skills to identify sophisticated vulnerabilities across every change, and many issues are easy to miss without a security-focused mindset. Claude Security helps close that gap: it scans your codebase, surfaces the issues that actually matter, and proposes patches that you or your team can review and apply.

This guide covers everything you need to set up Claude Security, run your first scan, review findings, and operationalize the tool for ongoing use.

Prerequisites

Before you can use Claude Security, the following requirements must be in place:

Note: Claude Security currently supports repositories hosted on GitHub.com.

Setup

If your organization already uses Claude Code on the Web, most of the setup is already complete. Here is what you need to confirm:

  1. Verify Extra Usage is enabled. Ensure Extra Usage is enabled in Organization Billing settings. Claude Security uses consumption billing. Costs scale with the size and number of scans you run, so set spend limits that align with your expected usage. After Claude Security is enabled, you can also set a separate spend limit for the feature.
  2. Verify GitHub App access. Ensure the Anthropic GitHub App has been installed on your GitHub organization and has been granted access to the repositories you want to scan. Your Claude Code admin can confirm this in your GitHub organization’s settings under Installed GitHub Apps.
  3. Confirm user seats. Each user who will run scans should have an active premium seat on your Claude.ai organization. Standard seats do not include Claude Code on the Web. Verify this in your Claude.ai admin console.
  4. Enable the Claude Security feature in the admin console: http://claude.ai/admin-settings/claude-security

Once these steps are complete, the Security Scan feature will appear in your Claude Code on the Web interface.

Running a Scan

Once Claude Security is enabled, running a scan is straightforward:

  1. Navigate to Claude Security through Claude.ai. Go to claude.ai and click on the Security icon on the left sidebar, or claude.ai/security.
  2. Open Security. You will see the Security entry point in your sidebar. Click on it to launch the scanning interface.
  3. Select a repository. Choose the GitHub repository you want to scan from the list of available repos. You can optionally scope the scan to a specific directory or branch within the repo. For larger repositories, we highly recommend picking a directory to increase the success rate of the scan.
  4. Start the scan. Click to begin the scan. Claude will analyze the codebase for vulnerabilities. Depending on the size of the repository, the scan may take several minutes or hours.
  5. Review findings. Once the scan completes, findings are displayed with details including vulnerability type, severity, affected file and line, and a description of the issue. You can also view your scan history at claude.ai/security.

Reviewing and Acting on Findings

After a scan completes, you have several options for each finding:

Findings are categorized by severity to help you prioritize your remediation efforts. We recommend starting with the highest-severity items and working through the list.

Operationalizing the tool for ongoing use

To make ongoing use easier, you can:

For more information and FAQ, please visit our support center.