# WebSecAuditor AI Cybersecurity & Vulnerability Auditor

> WebSecAuditor AI Cybersecurity & Vulnerability Auditor is an open-source MCP server for security. Open-source web and code security auditor with SAST, DAST, secret and dependency scans. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, Self-hosted, VS Code, Slack
- **Repository:** https://github.com/ritualdev-lab/web-sec-auditor
- **MCP Registry name:** io.github.RitualDev-Lab/web-sec-auditor
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-11-20

## About

The README describes WebSecAuditor as a command-line scanner that combines live site probing, static analysis of source code, secret hunting and npm dependency checks in one npm package. Findings can be exported as OASIS SARIF v2.1.0 or as a self-contained HTML dashboard, and a --fail-on flag returns exit code 1 when issues reach a chosen severity, so it can gate CI pipelines.

The project also runs as a Model Context Protocol server over stdio, exposing audit_url, audit_code, hunt_secrets, audit_dependencies and generate_patch to AI coding assistants. Its patch feature proposes unified git diffs for patterns such as SQL injection, command injection and disabled TLS verification, with a --dry-run option for previewing changes.

The README also covers a GitHub App bot and a GitHub Action for pull request review. It is aimed at developers and security teams who want scans wired into their repositories, build pipelines and AI coding tools. The package is MIT licensed, and the repository lists a sponsorship option alongside the code.

## Features

- **Multi-vector scanning:** Combines live URL probing, source code analysis, secret detection and dependency checks in one tool.
- **SARIF and HTML reports:** Exports OASIS SARIF v2.1.0 for code scanning tabs and a standalone HTML dashboard.
- **CI build gate:** The --fail-on flag exits with code 1 when findings meet a chosen severity threshold.
- **Automated patch diffs:** Generates unified git diffs for common injection and TLS issues, with a dry-run option.
- **MCP server for assistants:** Exposes audit and patch tools over stdio to MCP-compatible AI coding clients.
- **CVSS and compliance mapping:** Scores findings with CVSS v3.1 and maps them to OWASP Top 10, PCI-DSS, SOC 2 and CWE references.

## Good for

- Scanning a repository for injection flaws and hardcoded credentials before merge
- Blocking CI builds that introduce high-severity vulnerabilities
- Checking a staging site's security headers, cookies and TLS configuration
- Auditing npm dependencies against the OSV advisory database
- Asking an AI coding assistant to run security checks and suggest fixes

## Install

### Claude Code (Terminal)

```sh
claude mcp add web-sec-auditor -- npx -y @ritualdev-lab/web-sec-auditor
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "web-sec-auditor": {
      "command": "npx",
      "args": [
        "-y",
        "@ritualdev-lab/web-sec-auditor"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "web-sec-auditor": {
      "command": "npx",
      "args": [
        "-y",
        "@ritualdev-lab/web-sec-auditor"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "web-sec-auditor": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ritualdev-lab/web-sec-auditor"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "web-sec-auditor": {
      "command": "npx",
      "args": [
        "-y",
        "@ritualdev-lab/web-sec-auditor"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "web-sec-auditor": {
      "command": "npx",
      "args": [
        "-y",
        "@ritualdev-lab/web-sec-auditor"
      ]
    }
  }
}
```

## Tools

- `audit_url`: DAST probe for live endpoints and HTTP security headers.
- `audit_code`: SAST scan across repositories for injection and crypto flaws.
- `hunt_secrets`: Credential and high-entropy secret discovery.
- `audit_dependencies`: SCA check against the live OSV advisory database.
- `generate_patch`: Generates context-aware unified git diff auto-patches.

## FAQ

### How is WebSecAuditor AI Cybersecurity & Vulnerability Auditor installed and started?

The README shows running it with npx @ritualdev-lab/web-sec-auditor, and starting the MCP server with the mcp subcommand.

### What license does WebSecAuditor AI Cybersecurity & Vulnerability Auditor use?

The README states the project is MIT licensed.

### Which languages does the static analyzer support?

The README lists TypeScript, JavaScript, Python and Go for its SAST engine.

### Which MCP tools are exposed?

The README lists audit_url, audit_code, hunt_secrets, audit_dependencies and generate_patch.

### Is WebSecAuditor AI Cybersecurity & Vulnerability Auditor free?

Yes. WebSecAuditor AI Cybersecurity & Vulnerability Auditor is open source, so you can use and self-host it for free.

### How do I add WebSecAuditor AI Cybersecurity & Vulnerability Auditor to Claude Code?

Run this command in your terminal: claude mcp add web-sec-auditor -- npx -y @ritualdev-lab/web-sec-auditor

### What are the best alternatives to WebSecAuditor AI Cybersecurity & Vulnerability Auditor?

The closest alternatives to WebSecAuditor AI Cybersecurity & Vulnerability Auditor are Scout Security, CodeInspectus, XploitScan, SafeWeave and Dependency Risk Audit.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Scout Security](https://ai-powered.com/mcp/scout-security): Scout Security is an open-source MCP server for security.
- [CodeInspectus](https://ai-powered.com/mcp/codeinspectus): CodeInspectus is an open-source MCP server for security.
- [XploitScan](https://ai-powered.com/mcp/xploitscan): XploitScan is a freemium MCP server for security.
- [SafeWeave](https://ai-powered.com/mcp/safeweave): SafeWeave is a freemium MCP server for security.
- [Dependency Risk Audit](https://ai-powered.com/mcp/dependency-risk-audit): Dependency Risk Audit is a freemium MCP server for developer tools.
- [Web Scan](https://ai-powered.com/mcp/web-scan): Web Scan is a free MCP server for marketing and seo.
- [Dependency Auditor](https://ai-powered.com/mcp/dependency-auditor-2): Dependency Auditor is an open-source MCP server for security.
- [Bawbel Scanner](https://ai-powered.com/mcp/bawbel-scanner-3): Bawbel Scanner is an open-source MCP server for security.

---
Source: https://ai-powered.com/mcp/websecauditor-ai-cybersecurity-and-vulnerability-auditor
