Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

io.github.cyanheads/osv-advisory-mcp-server

Latest version: v0.6.1

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
MCP server Transport: Streamable HTTP Publisher: cyanheads
2 Stars
0 Forks
25 Versions
TypeScript Repo language

Scan summary

io.github.cyanheads/osv-advisory-mcp-server was last scanned on 28 Nov 2026 at version 0.6.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 25 versions; the latest was published on 28 Nov 2026.
  • Findings: 1 rule fired in version 0.6.1 (1 low). The score describes this version only.
  • MCP server: Runs over Streamable HTTP.

Versions

25 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.6.1 LATEST 28 Nov 2026 1 rule fired
0.6.0 20 Nov 2026 No rules fired
0.5.1 14 Nov 2026 No rules fired
0.5.0 11 Nov 2026 Not shown
0.4.1 1 Nov 2026 Not shown

Rules fired in 0.6.1: 1

Findings

1 Low

Findings for v0.6.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Phrase match: insecure-practice wording (not reviewed)

An automated phrase check found wording such as "skip validation", "chmod 777" or disabling certificate checks. It does not tell advice apart from examples, warnings or lists of things to avoid. Not reviewed by a person.

LOW
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 0.6.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Version License Docker MCP SDK npm TypeScript Bun

Install in Claude Desktop Install in VS Code

Framework

Public Hosted Server: https://osv-advisory.caseyjhand.com/mcp


Overview

Vulnerability data from OSV.dev, the open-source vulnerability database. Query a package version or Git commit, batch-audit a dependency list or SBOM, and fetch complete advisory records with CVSS severity, CVE aliases, and affected version ranges.

Tools
Tool Description
osv_query_package Query a package version by name/ecosystem/version or Package URL (PURL)
osv_query_batch Audit the first 1,000 package versions in a submission of up to 5,000
osv_query_commit Query known vulnerabilities for a full Git commit hash
osv_get_vulnerability Fetch the full advisory record for a single OSV vulnerability ID
osv_list_ecosystems Return the list of supported ecosystem identifier strings

Capability reference

osv_query_package tool
  • Provide name, ecosystem, and version, or a purl such as pkg:pypi/jinja2@3.1.4. Known ecosystem bases normalize case (pypi → PyPI); release and repository suffixes retain their spelling. A PURL needs exactly one version: embedded in the URL or supplied separately. Versions are exact, never ranges
  • Alpine needs a release branch, such as Alpine:v3.17 or distro=alpine-3.17.3 in a PURL. Debian PURLs accept a release (12), a point release (12.4), or a codename, with an optional debian- prefix. Releases before 7 carry a minor number (3.1, 4.0): a bare 4, 5, or 6 selects 4.0, 5.0, or 6.0, and a bare 1, 2, or 3 is rejected because it names several releases. Numeric Ubuntu PURL qualifiers such as distro=ubuntu-22.04.1 select the release Ubuntu:22.04
  • For a release-qualified Ubuntu query, supply the installed binary name and version. Both package tools look up the source packages OSV indexes for that release. For example, libssl3 on Ubuntu:22.04:LTS resolves to openssl. A fallback lookup covers only the supplied name and marks coverage incomplete. A mapping rate limit or exhausted deadline requires a retry
  • Maven needs groupId:artifactId (a single groupId/artifactId slash normalizes). Composer PURLs map to Packagist; an optional repository_url keeps repository scope
  • Unsupported ecosystem-specific constraints fail as invalid_version; npm/crates.io exact pins with = or == normalize to the installed version
  • Each advisory carries CVE aliases, optional upstream IDs, severityLabel with its severitySource, the queried package's fixedVersions, affectedRanges, and cweIds
  • truncated: true indicates more OSV pages remain. Pass nextCursor as cursor with the same identifier to continue. Repeat that input cursor alongside page when retrieving fields from a resumed reply. An empty initial result confirms no known vulnerabilities when lookup and source resolution completed. An empty terminal resume only confirms exhaustion of the continuation
  • When upgrading from before 0.6.0, restart any Ubuntu PURL query with a numeric distro qualifier by omitting its old cursor. The new query scopes findings to the requested release

osv_query_batch tool
  • Submit 1–5,000 {name, ecosystem, version} tuples or {purl, version?} entries. The call processes the first 1,000. Set OSV_BATCH_SERVE_OVER_CAP=false to reject submissions above 1,000
  • summary.submittedPackages, unprocessedCount, and nextInputOffset account for the input. If nextInputOffset is set, submit packages.slice(nextInputOffset) in a new call and add that offset to its row indices. All outcome counts describe the processed prefix
  • Each row carries vulnerable, vulnCount, vulns, truncated, and error; a failure lands in the affected rows' error instead of failing the call
  • summary totals the scan (vulnerableCount, cleanCount, truncatedCount, errorCount, totalVulns, worstSeverity), and truncated rows never count as clean. The whole scan has a 50-second deadline
  • vulnerableRows, errorRows, and truncatedRows in summary retain original zero-based indices even when the preview omits those rows. Lists can overlap; retrieve a row with /results/<index>
  • summary.sourceResolutionUnavailableRowRanges identifies rows checked under their supplied Ubuntu names after a mapping failure. For example, 0,3-5 means rows 0, 3, 4, and 5. Those rows are excluded from cleanCount
  • Resume a row through osv_query_package with its original identifier and nextCursor as cursor
  • If a row's field page (/results/<index>/vulns or any other derived field) returns a timeout or upstream error, retry the same path; the row is unchecked, not clean. You can also retrieve /results/<index>/error for the row diagnostic

osv_query_commit tool
  • One full commit: 40 hexadecimal characters for SHA-1 or 64 for SHA-256; either letter case is accepted, abbreviations are rejected
  • Advisories retain record-wide severity, aliases, upstream IDs, and GIT ranges with repository URLs and ordered events. Readable advisory sections retain complex values in fenced JSON. No package-specific fixedVersions are inferred
  • Pass nextCursor as cursor with the same commit to continue a truncated result. An empty terminal resume confirms the continuation is exhausted

osv_get_vulnerability tool
  • One exact advisory ID from any OSV source (GHSA-, PYSEC-, RUSTSEC-, GO-, DSA-, USN-, CVE-, …), matched case-sensitively
  • Full record: details, aliases, optional upstream and related IDs, every affected package with its ranges and source metadata, severityLabel, cweIds, and references
  • When OSV publishes evidence for a converted range, inspect /affected/<index>/ranges/<index>/database_specific. Its source tags and release boundaries accompany OSV's normalized events
  • An unknown ID fails as vulnerability_not_found; withdrawn is set only on retracted advisories

osv_list_ecosystems tool
  • No input; returns the ecosystems strings the query tools accept, plus a note with the date the list was last checked against OSV.dev
  • Returns canonical spellings. Query tools normalize known base names case-insensitively and forward unknown names to OSV.dev; release and repository suffixes remain unchanged. The bare names cargo and crates also resolve to crates.io, composer to Packagist, and python to PyPI (any case, no suffix), in both osv_query_package and osv_query_batch

Features

Built on @cyanheads/mcp-ts-core: stdio and Streamable HTTP transports, pluggable auth (none / jwt / oauth), swappable storage (in-memory, filesystem, Supabase, Cloudflare KV/R2/D1), structured logging with optional OpenTelemetry tracing.

OSV-specific:

  • No API key required — OSV.dev is public and keyless, with no published rate limit
  • osv_query_batch finds matching advisory IDs through OSV's /v1/querybatch, then fetches each unique advisory once, so batch rows carry the full records (aliases included) the batch endpoint omits; requests are capped by OSV_BATCH_CONCURRENCY
  • osv_list_ecosystems is checked against the live OSV schema and API with bun run check:ecosystems

Agent-friendly output:

  • Truncation is never read as clean — truncated flags incomplete OSV pagination, and truncated batch rows are left out of cleanCount
  • CVE-shaped aliases and upstream IDs chain to nist-nvd-mcp-server for CVSS base scores and CISA KEV status. The lists remain separate; a distribution advisory can cover several upstream vulnerabilities
  • Response fields are bounded to 24,000 bytes; upstream cursors are returned intact outside that budget. Start retrieval by repeating the original input with page: overflow.page. Continue the same path with offset: page.nextOffset and revision: page.revision until nextOffset is null. Fetch each entries[].deferred.path separately at offset zero without a revision; never copy the whole output page object into the input
  • Advisory text in content[] escapes HTML and unsafe-link constructs while preserving HTTP(S) links; caller coordinates render literally. Commit data and affected metadata use reversible JSON where literal rendering needs it. structuredContent keeps every OSV string verbatim

Getting started

Use the public hosted instance with Claude Code:

claude mcp add --transport http osv-advisory-mcp-server https://osv-advisory.caseyjhand.com/mcp

Or run locally through npm:

claude mcp add osv-advisory-mcp-server -- npx -y @cyanheads/osv-advisory-mcp-server

For other MCP clients, add this to the client configuration:

{
  "mcpServers": {
    "osv-advisory-mcp-server": {
      "command": "npx",
      "args": ["-y", "@cyanheads/osv-advisory-mcp-server"]
    }
  }
}

No API key is required. For Docker or a source build, see Running the server.

Configuration

All configuration is validated at startup, and every variable is optional.

Variable Description Default
OSV_REQUEST_TIMEOUT_MS Timeout per OSV.dev HTTP attempt, in milliseconds. Package, commit and batch queries share a 50-second per-operation deadline across requests, retries, response reads and hydration. 40000
OSV_BATCH_CONCURRENCY Maximum concurrent OSV.dev requests issued by osv_query_batch. 10
OSV_QUERY_MAX_PAGES Maximum OSV.dev result pages followed per package or commit before a result is marked truncated. 10
OSV_BATCH_SERVE_OVER_CAP Accept up to 5,000 packages and process the first 1,000. Set false to restore the 1,000-entry submission ceiling. true
MCP_TRANSPORT_TYPE Transport: stdio or http. stdio
MCP_HTTP_PORT Port for HTTP server. 3010
MCP_HTTP_ENDPOINT_PATH HTTP endpoint path. /mcp
MCP_PUBLIC_URL Public origin override for TLS-terminating reverse-proxy deployments. none
MCP_SESSION_MODE HTTP session mode: stateless, stateful, or auto. stateless
MCP_AUTH_MODE Auth mode: none, jwt, or oauth. none
MCP_LOG_LEVEL Log level (RFC 5424). info
LOGS_DIR Directory for log files. Relative paths resolve from the server package root. <server-package-root>/logs
LOG_TOOL_FAILURE_PAYLOADS Log each failed tool call's arguments and result, redacted by key name and capped at LOG_TOOL_FAILURE_PAYLOAD_MAX_BYTES (default 16384). A secret inside a free-form value is not redacted. false
STORAGE_PROVIDER_TYPE Storage backend. in-memory
OTEL_ENABLED Enable OpenTelemetry instrumentation (spans, metrics, completion logs). false

See .env.example for the full list of optional overrides.

Running the server

Local development

Requires Bun v1.4.4 or higher (or Node.js v24+).

git clone https://github.com/cyanheads/osv-advisory-mcp-server.git
cd osv-advisory-mcp-server
bun install
cp .env.example .env

Live check

Not yet probed. This server declares a remote endpoint but we have not observed it, so nothing below is known either way.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry io.github.cyanheads/osv-advisory-mcp-server

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Frame 2085668439 (1)
Group 1261154229