Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

WebSecAuditor AI Cybersecurity & Vulnerability Auditor

by RitualDev-Labversion 1.1.1i★ 0iRuns on your computerRepository ↗
Registry nameio.github.RitualDev-Lab/web-sec-auditor

How to install

What it does

Enterprise-grade AI vulnerability auditor for web applications, APIs, and codebases.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Cybersecurity

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score12/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install WebSecAuditor AI Cybersecurity & Vulnerability Auditor. Follow https://mcp.popnx.com/i/ritualdev-lab-web-sec-auditor.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 20, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server WebSecAuditor AI Cybersecurity & Vulnerability Auditor for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "web-sec-auditor": { "command": "npx", "args": [ "-y", "@ritualdev-lab/web-sec-auditor" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the WebSecAuditor AI Cybersecurity & Vulnerability Auditor tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "web-sec-auditor": {
          "command": "npx",
          "args": [
            "-y",
            "@ritualdev-lab/web-sec-auditor"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use WebSecAuditor AI Cybersecurity & Vulnerability Auditor and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using WebSecAuditor AI Cybersecurity & Vulnerability Auditor or shows a WebSecAuditor AI Cybersecurity & Vulnerability Auditor tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect WebSecAuditor AI Cybersecurity & Vulnerability Auditor yet

WebSecAuditor AI Cybersecurity & Vulnerability Auditor runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect WebSecAuditor AI Cybersecurity & Vulnerability Auditor

  • Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)

B · Others in Cybersecurity that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server WebSecAuditor AI Cybersecurity & Vulnerability Auditor for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user web-sec-auditor -- npx -y @ritualdev-lab/web-sec-auditor 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the WebSecAuditor AI Cybersecurity & Vulnerability Auditor tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user web-sec-auditor -- npx -y @ritualdev-lab/web-sec-auditor
  4. Type /mcp in Claude Code

    You should see WebSecAuditor AI Cybersecurity & Vulnerability Auditor listed as connected

  5. Try it

    Use WebSecAuditor AI Cybersecurity & Vulnerability Auditor and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using WebSecAuditor AI Cybersecurity & Vulnerability Auditor or shows a WebSecAuditor AI Cybersecurity & Vulnerability Auditor tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server WebSecAuditor AI Cybersecurity & Vulnerability Auditor for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "web-sec-auditor": { "command": "npx", "args": [ "-y", "@ritualdev-lab/web-sec-auditor" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the WebSecAuditor AI Cybersecurity & Vulnerability Auditor tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use WebSecAuditor AI Cybersecurity & Vulnerability Auditor and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using WebSecAuditor AI Cybersecurity & Vulnerability Auditor or shows a WebSecAuditor AI Cybersecurity & Vulnerability Auditor tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server WebSecAuditor AI Cybersecurity & Vulnerability Auditor for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "web-sec-auditor": { "type": "stdio", "command": "npx", "args": [ "-y", "@ritualdev-lab/web-sec-auditor" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the WebSecAuditor AI Cybersecurity & Vulnerability Auditor tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use WebSecAuditor AI Cybersecurity & Vulnerability Auditor and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using WebSecAuditor AI Cybersecurity & Vulnerability Auditor or shows a WebSecAuditor AI Cybersecurity & Vulnerability Auditor tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use WebSecAuditor AI Cybersecurity & Vulnerability Auditor💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user web-sec-auditor -- npx -y @ritualdev-lab/web-sec-auditor

Claude Desktop (claude_desktop_config.json)

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

Cursor (~/.cursor/mcp.json)

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

VS Code (mcp.json)

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

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
247/wk
Connection
Runs on your computer
Latest versioni
1.1.1
Published to registryi
Nov 20, 2026
Code last changedi
Nov 20, 2026
Maker
RitualDev-Lab
Packages
npm: @ritualdev-lab/web-sec-auditor
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account RitualDev-Lab, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed today

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for @ritualdev-lab/web-sec-auditor@1.1.1

Checks only this package version, not every dependency · checked Nov 20, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/ritualdev-lab-web-sec-auditor.svg)](https://mcp.popnx.com/en/servers/ritualdev-lab-web-sec-auditor)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Cybersecurityi

  • More stars than 0% of the other 1120 servers in this category
  • Published to the registry more recently than 99% of the other 1120 servers in this category
  • Basic checks equal to or better than 99% of the other 1120 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is WebSecAuditor AI Cybersecurity & Vulnerability Auditor safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed today, and the latest version (1.1.1) reached the registry today.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: GitHits, Dependency Management MCP Server, Snyk MCP, TokenSafe, Draugr

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

GitHits

Search public open-source code, documentation, metadata, vulnerabilities, changelogs, and examples.

by githits-comGrowing↓ 3.8K/wk★ 138Updated yesterday

Computer or cloud✓ service owner · githits.com

Snyk MCP

Easily find and fix security issues in your applications leveraging Snyk platform capabilities.

by snykWidely used↓ 762.1K/wk★ 61Updated 7 months ago

Runs on your computer✓ service owner · snyk.io

TokenSafe

Your AI agent is smart enough to code all day. Local firewall & zero-loss runtime.

by tokensafe-devWidely used↓ 6.8K/wk★ 47Updated yesterday

Computer or cloud✓ service owner · tokensafe.dev

Draugr

Security scanning for AI agents: SAST, SCA, secrets, IaC, DAST, ranked by real risk.

by draugr-devEarly★ 30Updated 3 days ago

Runs on your computer✓ service owner · draugr.dev
Compared with similar ones
This one
WebSecAuditor AI Cybersecurity & Vulnerability Auditor
GitHitsDependency Management MCP ServerSnyk MCPTokenSafeDraugr
Runs whereInstalls on your computerCloud or install on your computerRuns in the cloud, nothing to installInstalls on your computerCloud or install on your computerInstalls on your computer
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks3/35/53/43/35/53/3
LicenseMITApache-2.0–Apache-2.0MITApache-2.0
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

🛡️ WebSecAuditor (web-sec-auditor)

Enterprise-Grade AI Web Cybersecurity & Vulnerability Auditor for Web Applications, APIs, and Repositories

*Unified DAST + SAST + Secret Hunter + SCA + Auto-Patch engine with OASIS SARIF v2.1.0 reporting, interactive HTML executive dashboards, native Model Context Protocol (MCP) server, and Enterprise GitHub App Bot with 1-Click Auto-Patch PRs.*


⚡ Unified Multi-Vector Cybersecurity Architecture

web-sec-auditor consolidates multi-stage vulnerability discovery, compliance auditing, automated patching, and CI/CD policy enforcement into a single zero-config binary:

flowchart TD

subgraph AuditTarget["Targets"] A[Git Repository / Source Code] B[Live Production / Staging URL] C[Lockfiles & package.json] end

subgraph CoreEngine["WebSecAuditor Core Engines"] DAST[Phase 1: Live DAST & Security Header Probe] SAST[Phase 2: High-Performance AST SAST Engine] SECRETS[Phase 3: High-Entropy Secret Hunter] SCA[Phase 3: OSV Dependency CVE Auditor] COMPL[Phase 4: CVSS v3.1 & Compliance Mapping] PATCH[Phase 4: Automated Unified Git Diff Patch Engine] end

subgraph EnterpriseOut["Enterprise Delivery (Phase 5)"] SARIF[OASIS SARIF v2.1.0 Export] HTML[Interactive HTML Executive Dashboard] MCP[Native Model Context Protocol Server] CICD[CI/CD Break-Build Gate: --fail-on] end

A --> SAST A --> SECRETS B --> DAST C --> SCA

DAST --> COMPL SAST --> COMPL SAST --> PATCH

COMPL --> SARIF COMPL --> HTML COMPL --> MCP COMPL --> CICD


🤖 Frequently Answered Questions (AEO & AI Search Reference)

What is WebSecAuditor?

WebSecAuditor is an enterprise-grade AST taint analysis scanner, DAST probe, and automated GitHub PR security review bot designed to identify vulnerabilities (SQL injection, XSS, prototype pollution, hardcoded credentials) and generate 1-click remediation diffs.

How does WebSecAuditor's AST taint tracking work?

Rather than relying on naive regex patterns that produce high false-positive rates, WebSecAuditor constructs a complete Abstract Syntax Tree (AST) dataflow graph. It traces untrusted inputs from sources (such as HTTP request bodies, route parameters, or environment variables) across function calls and variable assignments into dangerous sinks (eval(), exec(), raw SQL queries, or unescaped HTML templates).

Can WebSecAuditor run in automated CI/CD pipelines?

Yes. WebSecAuditor exports standardized OASIS SARIF v2.1.0 reports compatible with GitHub Advanced Security and GitLab CI/CD. It can automatically fail builds based on CVSS severity thresholds (--fail-on high) and act as a GitHub App that comments on pull requests with 1-click auto-patch code suggestions.


🚀 Key Capabilities

📄 OASIS SARIF v2.1.0 & HTML Dashboards (Phase 5)
  • 📊 Standardized SARIF v2.1.0 Exporter:
  • Emits schema-compliant SARIF logs (--sarif results.sarif) for automatic ingestion into:
  • GitHub Advanced Security Code Scanning (github/codeql-action/upload-sarif).
  • GitLab SAST / Dependency Scanning tabs.
  • VS Code & JetBrains SARIF Viewer extensions.
  • 🎨 Self-Contained Executive HTML Dashboard:
  • Generates zero-dependency interactive HTML security reports (--html report.html) with KPI summary cards, CVSS distribution, compliance readiness scores, and collapsible unified git diff patch previews.
🤖 Universal Model Context Protocol (MCP) Server (Phase 5)
  • Seamlessly connects AI coding assistants (Cursor, Claude Desktop, Antigravity, Windsurf) to your security auditor over standard stdio:
  1. audit_url: DAST probe for live endpoints and HTTP security headers.
  2. audit_code: SAST scan across repositories for injection and crypto flaws.
  3. hunt_secrets: Deep credential and high-entropy secret discovery.
  4. audit_dependencies: SCA check against the live OSV advisory database.
  5. generate_patch: Generates context-aware unified git diff auto-patches.
🚨 CI/CD Break-Build Gate (Phase 5)
  • Automated quality gate flag: --fail-on .
  • Halts build pipelines with exit code 1 if issues meet or exceed the specified severity threshold.
  • Ready-to-use GitHub Action workflow (.github/workflows/security-audit.yml).
🛠️ Automated Code Patching & Git Diffs (Phase 4)
  • Generates defensive code transformations:
  • SQL Injection: Converts raw query string concatenation into parameterized queries ($1, $2).
  • Command Injection: Converts child_process.exec() into safe child_process.execFile().
  • Path Traversal: Confinies file reads using path.basename() and path.resolve().
  • DOM-XSS: Replaces .innerHTML = ... with .textContent = ....
  • Disabled TLS: Enforces rejectUnauthorized: true.
  • Secret Fallbacks: Replaces hardcoded strings with explicit environment validation checks.
  • Direct patching: web-sec-auditor patch --line --rule (supports --dry-run).
📊 CVSS v3.1 Scoring & Compliance Mapping (Phase 4)
  • Official FIRST CVSS v3.1 Math: Computes Base Score (0.0 to 10.0), Exploitability, Impact, and vector strings.
  • Compliance Mapping:
  • OWASP Top 10 (2021): A01 to A10.
  • PCI-DSS v4.0: Requirements 6.2.4, 6.4.3, 8.3.1, 4.1.2.
  • SOC 2 Type II: Trust Services Criteria CC6.1, CC6.6, CC7.1.
  • CWE Top 25: Official rank indices (CWE-89 #3, CWE-79 #2, CWE-78 #5, CWE-22 #8).
🔑 High-Entropy Secret Hunter (Phase 3)
  • Shannon entropy scoring \( H(S) \) with automatic masking in reports (AKIA**************LE).
  • Detects AWS, GCP, OpenAI, Anthropic Claude, Stripe, GitHub, Slack webhooks, database URIs, and private keys.
  • Scans git log -p commit history for deleted/historical secrets.
📦 Software Composition Analysis (Phase 3: SCA via OSV)
  • Batch queries Open Source Vulnerability (OSV) API (https://api.osv.dev/v1/querybatch) for npm dependencies.
  • Extracts exact patched versions (>= 4.17.21) and links directly to official advisories.
🔍 Static Application Security Testing (Phase 2: SAST)
  • Multi-language AST analyzer for TypeScript, JavaScript, Python, and Go.
  • Flags SQLi, Command Injection, Path Traversal, DOM-XSS, Eval, weak hashes (MD5, SHA-1), JWT none algorithm, and SSRF.
🌐 Live Dynamic Testing (Phase 1: DAST)
  • HTTP security header probe (CSP, HSTS, XFO, XCTO, Referrer, Permissions).
  • Cookie hygiene inspector (Secure, HttpOnly, SameSite).
  • CORS policy and wildcard credential reflection analyzer.
  • Transport & TLS certificate validity, expiration, and redirect chain checker.
  • Deterministic 0–100 health scoring and letter grades (A+ to F).

📦 Installation & CLI Usage

1. Unified Multi-Vector Audit
# Run full audit on repository and export SARIF + HTML with CI/CD gate

npx @ritualdev-lab/web-sec-auditor audit . \ --sarif results.sarif \ --html report.html \ --fail-on HIGH

Run audit on a live URL

npx @ritualdev-lab/web-sec-auditor audit https://example.com --html report.html

2. Specialized Scans
# SAST scan with unified git diff auto-patch previews

npx @ritualdev-lab/web-sec-auditor scan-code ./src --threshold HIGH --diff

Apply automated defensive code patch to vulnerable line

npx @ritualdev-lab/web-sec-auditor patch ./src/user.ts --line 42 --rule SEC-INJ-SQLI

Deep scan git commit diff history for exposed credentials

npx @ritualdev-lab/web-sec-auditor scan-secrets . --git-history

Audit npm dependencies against OSV advisory database

npx @ritualdev-lab/web-sec-auditor scan-deps . --dev

3. Start Model Context Protocol (MCP) Server
npx @ritualdev-lab/web-sec-auditor mcp

🤖 Configuring MCP in AI Coding Assistants

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

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

Claude Desktop (claude_desktop_config.json)
{

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


🤖 Enterprise GitHub App Bot & 1-Click Auto-Patch Engine

WebSecAuditor includes a standalone GitHub App Bot service that monitors Pull Requests in real time, scans only modified lines via incremental unified diff parsing, and generates 1-click defensive patch PRs:

Developer opens PR ──► GitHub Webhook (pull_request) ──► WebSecAuditor Bot

│ ┌────────────────────────────────────────────────────────────┴───────────────────────────────────────┐ ▼ ▼ GitHub Checks API (Pass / Fail Gate) Pull Request Review Table • In-progress Check Run created • CVSS v3.1 and OWASP breakdown • Inline file annotations on vulnerable lines • 💡 1-Click Patch Callout │ Developer comments: "@web-sec-auditor fix" ──────┘ │ ▼ Automated Auto-Patch Engine • Branches: web-sec-auditor/fix-pr-42- • Commits parameterized SQL, sanitized XSS, upgraded deps • Opens ready-to-merge fix PR targeting contributor's branch!

Starting the Webhook Listener Service
# Start webhook server on port 3000 with HMAC signature verification & auto-patching enabled

web-sec-auditor bot --port 3000 --secret $WEBHOOK_SECRET --auto-patch --fail-on HIGH

Direct Pull Request Scannin

Only the beginning is shown; read the rest in the repo