Back to Browse

Security Watch MCP Server

SecurityLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Checks a project's dependencies for known vulnerabilities and malware (OSV, CISA KEV); writes SBOMs.

About

Checks a project's dependencies for known vulnerabilities and malware (OSV, CISA KEV); writes SBOMs.

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (0 strong, 2 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry. Trust signals: trusted author (3/3 approved).

4 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

What You'll Need

Set these up before or after installing:

Path to a Security Watch monitor configuration, to add the list_watch_findings tool.Optional

Environment variable: SECURITY_WATCH_CONFIG

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "security-watch": {
      "command": "npx",
      "args": [
        "-y",
        "@shieldaai/security-watch@1.6.0"
      ],
      "env": {
        "SECURITY_WATCH_CONFIG": "your-security-watch-config-here"
      }
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

Shielda Security Watch

Self-hosted security alerts for the software you run: the packages in your lockfiles and SBOMs, plus the products, SaaS and infrastructure you describe. Security Watch reads public advisories and security news, matches them against that list, and sends what concerns you to Slack, email or the console.

It runs on your own server or laptop. There is no account, and your list stays on your machine.

Check a project now

Run this in a project folder (Node.js 24.10 or newer):

npx @shieldaai/security-watch check
Checked 2 packages (npm) from 1 file in …/demo-app against OSV, CISA KEV at 2026-11-29T15:14:38.074Z.
5 known vulnerabilities in installed versions:
- [critical] npm minimist 1.2.5: Prototype Pollution in minimist (GHSA-xvch-5gv4-984h, CVE-2021-44906)
  Fix: upgrade to 1.2.6. In: package-lock.json. https://osv.dev/vulnerability/GHSA-xvch-5gv4-984h
- [high] npm lodash 4.17.20: Command Injection in lodash (GHSA-35jh-r3h4-6jhm, CVE-2021-23337)
  Fix: upgrade to 4.17.21. In: package-lock.json. https://osv.dev/vulnerability/GHSA-35jh-r3h4-6jhm
…

Upgrades that fix several at once:
- npm lodash 4.17.20: upgrading to 4.18.0 (or a later 4.18.x release) fixes all 4. A newer release line is not checked here: check it before moving to one.

Exit code 1 means an installed version is affected at or above --fail-on (high by default); 2 means the check is incomplete because a source failed or a file could not be read.

check reads the lockfiles and manifests of 12 ecosystems (npm, Python, Go, Rust, PHP, Ruby, Java, .NET, Dart, Elixir, Swift and Haskell), asks OSV about every package version and marks entries in CISA's Known Exploited Vulnerabilities catalog. It needs no configuration and stores nothing. It can also check only what a branch changed (--base origin/main...), one package (--package npm:lodash@4.17.21), one advisory (--advisory CVE-2021-44906) or an SBOM (--sbom FILE). See one-off checks and AI agents.

Keep watching

check answers once. The monitor keeps your list, reads new advisories and news on a schedule (every 30 minutes in the starter setup), and alerts when something matches. In the project folder:

npx @shieldaai/security-watch@1.6.0 init --project . --yes
npx @shieldaai/security-watch@1.6.0 doctor
npx @shieldaai/security-watch@1.6.0 scan --dry-run
npx @shieldaai/security-watch@1.6.0 start
  • init reads the project's dependency files, writes them as an SBOM in sboms/, and creates security-watch.yaml, systems.yaml and .env.example in the current folder (use --directory ./watch to put them elsewhere). It turns on OSV (for the packages), CISA KEV and EPSS besides cve.now and The Hacker News. Nothing is installed or run, and nothing is sent.
  • Alerts go to console by default: they are printed in the terminal where start runs, so you need no Slack or email to try it. Add --notifications slack, email, or a combination such as console,slack, then put SLACK_WEBHOOK_URL or SMTP_URL in .env and pass --credentials-file .env to each command.
  • doctor checks the files and prints a readable report (--json for scripts). Missing Slack or email credentials are a warning, not a failure.
  • scan --dry-run runs one scan and prints the alerts it would send, without storing or sending anything (--json for the full report).
  • start keeps running in the foreground. Run it under your service manager, or in Docker.

The first scan reads the last day of cve.now records plus OSV and KEV for your packages; it usually takes a few minutes. Later scans read only what changed since the previous one.

cve.now is read anonymously by default. Without a key, Security Watch reads what changed there in the last 7 days, which is all a monitor polling every 15 to 30 minutes needs. If you have a key, set the CVE_NOW_API_KEY environment variable (or name another variable in sources.cve_now_api_key_env); it is sent as a bearer token to cve.now only. cve.now says keys are "coming soon".

security-watch --help lists the commands by group. Commands for evaluating the tool itself (pilot-* and rehearse) are hidden; security-watch --help --all shows them.

Set up the monitor covers the other ways to start: several projects, systems described by hand, library lists, AI analysis and which findings are sent at once.

What an alert looks like

An alert for a fictional test advisory, trimmed:

[CRITICAL] express request smuggling (fictional test record)
System: web-shop / library:ee5130742729fbc72bd45978
Where to look: Web shop (owner: Dana, platform team) - runs on cluster eu-1, namespace shop
Affected item: npm express 4.21.2 - checkout API, repository acme/checkout, file package.json
Applicability: affected; source severity: critical; priority: critical
Fix: 4.22.0
…
https://example.com/advisory

Where to look and Affected item come from your own list: the system's name, owner and note, and the note beside the library. Whoever receives the alert can go to the right place and confirm it.

Describe more than packages

Lockfiles cover libraries. For databases, operating systems, SaaS and other products, write them in systems.yaml with a version and a note:

sbom_directory: ./sboms
systems:
  - id: web-shop
    name: Web shop
    owner: Dana, platform team
    note: runs on cluster eu-1, namespace shop
    updated_at: 2026-11-29T00:00:00Z # when you last checked this entry
    products:
      - name: PostgreSQL
        version: '16.4'
        note: managed database "shop-prod", owned by the data team

A product is matched by name against advisories and news. Product version ranges are not checked automatically, so a product match stays "possibly affected, please check". A configured AI model can assess it from the advisory or story, but that is an opinion, not a version check. See systems described by hand and library lists.

News before the CVE

Security Watch reads security news as well as advisory databases: The Hacker News by default, and official Node.js, Python and PHP feeds or any RSS or Atom feed you add. It matches stories against your list. A story about something you run can therefore reach you before a CVE record exists, or when none is ever published. It is raised as a finding to check, not as a confirmed vulnerability. This project has not measured how often a story arrives before the CVE.

How it compares

ToolWhat it does
npm audit, OSV-ScannerCheck lockfiles (OSV-Scanner also SBOMs and container images) against an advisory database when you run them. security-watch check is the same kind of check.
Dependabot alertsGitHub feature. Reads the dependency files of each repository hosted on GitHub, alerts on GitHub Advisory Database entries. Dependabot security updates can open pull requests with fixes.
OWASP Dependency-TrackSelf-hosted SBOM platform with an API server, web interface and database. Analyzes a portfolio of SBOMs against several vulnerability sources, with policies and notifications (Slack, email, webhooks and others).
Security Watch (the monitor)One process and a SQLite file. Watches SBOMs and lockfiles, and also products you list by name and version, against advisories and security news. Alerts to the console, Slack or email.

What Security Watch has that you may want:

  • It watches things that are not in a lockfile: products, SaaS and infrastructure you list by name and version.
  • It reads security news, not only advisory records.
  • Each alert repeats your owner and note for the affected system and library, so it says where to look.
  • check marks CISA known-exploited entries, and with --securitycontext also VulnCheck's.
  • An MCP server and plugin give coding agents the same checks.
  • No account, no hosted service, no separate database server.

What it does not have: fix pull requests, a web interface, portfolio views or a policy editor. If you need those, use Dependabot or Dependency-Track; either can run alongside Security Watch.

Run in Docker

Each release is published as ghcr.io/shieldaai/security-watch:1.6.0 for linux/amd64 and linux/arm64, with an SBOM, build provenance and a Sigstore-signed attestation. The repository includes a compose.yaml. Run with Docker has the commands, including how to verify the image.

Send SBOMs from CI

Dependencies change with every merge, so let your pipeline send a fresh SBOM to the monitor's receiver. With GitHub Actions:

- uses: ShieldaAI/security-watch@v1.6.0
  with:
    system-id: my-app
    owner: Dana, platform team
    upload-url: https://watch.example.com:8787
    upload-token: ${{ secrets.SECURITY_WATCH_INTAKE_TOKEN }}

In any other pipeline with Node.js 24: npx --yes @shieldaai/security-watch@1.6.0 sbom --system-id my-app --upload https://watch.example.com:8787. SBOMs from Trivy, Syft, cdxgen or GitHub's dependency graph are accepted as they are. See watch a project from its dependency files for the receiver setup, GitLab CI and tokens.

AI analysis (optional)

Without AI, library matching is deterministic and product or news matches stay "possibly affected, please check". With a model configured, Security Watch asks it to classify news stories and assess whether they affect what you run, and can ask a second model to review that answer. A model cannot lower a source's severity, change recipients or mark a dependency safe. There are 22 provider profiles, including OpenAI, Anthropic, Google Gemini, Azure OpenAI and local servers such as Ollama. See AI providers.

Boundaries and privacy

What leaves your machine:

  • cve.now receives npm package names and exact versions. OSV, when on, receives package ecosystems, names and versions. check and the MCP server send the same to OSV and nothing to cve.now.
  • FIRST receives CVE identifiers when EPSS is on, and SecurityContext (api.securitycontext.com) when sources.securitycontext is on.
  • The CISA KEV catalog and the news feeds are downloaded with ordinary requests.
  • Nothing else, unless you configure a model provider, Slack, email or a heartbeat. A model receives matched package and product names and versions plus selected evidence; Slack and email receive the alerts.

Lockfiles, SBOMs, notes, owners and system names are not uploaded to advisory sources or models. There is no telemetry. Findings, evidence and history are stored in a local SQLite file; protect it, the configuration and .env as operational data.

Security Watch has no independent security audit. An empty result does not prove that software is safe: missing versions, unsupported version ranges and products stay uncertain. Read the security policy and coverage limits before relying on it.

Documentation

Related projects: Agent Guard for tool permissions and approvals, and SafeCall Node or SafeCall Python for model response validation.

Licensed under Apache-2.0.

Reviews

No reviews yet

Be the first to review this server!