MCP ScannerCustom audit
All servers

bytebase/dbhub

Token conscious database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite.

Packagedbhub
Version2.1.0 in package.json
Publisherbytebase community
MCP Registryio.github.bytebase/dbhub
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 3,855Forks 339Last push 2026-11-14
TypeScript 94.7%JavaScript 4.6%Python 0.8%by source files the scanner reads
Code safetynot analysedExposurenot analysedPromptsnot analysedSupply chain6.4Secretsnot analysedTransparencynot analysed
Analysis confidence85%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetynot analysed—

Paths from tool input into commands, SQL, files and URLs

Capability Exposurenot analysed—

How much power the tools give an agent over the machine

Prompt Integritynot analysed—

Hidden instructions and poisoning in text for the model

Supply Chain6.4/10Fair

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnot analysed—

How the server reads credentials and where they can go

Behavior Transparencynot analysed—

Whether the tools do only what their descriptions say

How far the analysis went

Code Safety, Capability Exposure, Prompt Integrity, Secrets & Credentials and Behavior Transparency are not analysed and have no number.

  • Code Safety and Capability Exposure: no tool's code could be followed from its input
  • Prompt Integrity and Secrets & Credentials: no tool description could be read from the code
  • Behavior Transparency: no tool description could be read to compare with the code
  • 2 places in the code register tools whose names are computed at run time; how many tools that makes cannot be read from the code

Top risks in plain words

  • HIGH1 production dependency has known vulnerabilities (worst: high).
  • MEDIUM1 security advisory has been published for this server itself (worst: medium). It lists no fixed version.

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Update its vulnerable packages

    Use @modelcontextprotocol/client 2.3.0 or later.

  • Read its open advisories before installing

    GHSA-j55q-p8qc-f6wg (medium) lists no fixed version. Check whether the version you install is affected.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 2 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

The code of the tools could not be followed, so what they can reach is not known.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

Text it brings in from outside

No tool was seen returning text from outside the server to the model.

Tool annotations

No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.

Tools, prompts and resources (2: 2 tools)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

(name computed at run time)tool
No description.
(name computed at run time)tool
No description.

Text the model reads (2)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

(name computed at run time) tool
(name computed at run time) tool

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetynot analysed
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Not checked: no tool's code could be followed from its input
Capability Exposurenot analysed
  • 5 checks: runs programs the caller chooses, executes caller-supplied code, reads or writes any file path, requests any address, runs caller-supplied SQL
    Not checked: no tool's code could be followed from its input
  • Tools that start processes
    Not known: no tool's code could be followed
  • Tools that touch files
    Not known: no tool's code could be followed
  • Tools that call the network
    Not known: no tool's code could be followed
Where the code is: 2 handlers in 1 file at commit b45ab6d1119d
Prompt Integritynot analysed
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Not checked: no tool description could be read from the code
Supply Chain6.4
  • Dependency manifests
    3 manifests: benchmarks/token-definitions/package.json, frontend/package.json, package.json
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database; 3 not resolved: frontend/package.json: dependency ranges declared here were not resolved against a lockfile and were not checked; package.json: dependency ranges declared here were not resolved against a lockfile and were not checked
  • Known vulnerabilities in production dependencies HIGH
    1 production package with known advisories
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    @modelcontextprotocol/client ^2.0.0 (dev), @modelcontextprotocol/node ^2.0.0, @modelcontextprotocol/server ^2.0.0
Secrets & Credentialsnot analysed
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Not checked: no tool description could be read from the code
  • Tools that read credentials
    Not known: no tool's code could be followed
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparencynot analysed
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Not checked: no tool description could be read to compare with the code
  • Tool descriptions present
    Every tool has a description the model and the user can read
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (1 in production)

Dependency ranges were not resolved against a lockfile, so the score is capped at 7.

PackageInstalledWorstAdvisoriesFixed in
@modelcontextprotocol/clientnpm 2.0.0 HIGH 2 advisories 2.2.02.3.0
  • HIGHGHSA-6qxp-vccf-f47h CVE-2026-104850MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server
  • MEDIUMGHSA-6prh-2h8m-c8cw CVE-2026-111769MCP TypeScript client SDK: HTTP client transports and OAuth requests followed cross-origin redirects and re-sent custom headers and request bodies

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

  • MEDIUM
    GHSA-j55q-p8qc-f6wgCVE-2026-61789
    DBHub is a database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite. Prior to...
    2026-10-30no fixed version listed

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
Transportnot stated in the code the scanner read; most local servers talk over stdio
Sign-innot checked needs the live server
MCP SDK@modelcontextprotocol/client 2.0.0, @modelcontextprotocol/client ^2.0.0 (dev), @modelcontextprotocol/node ^2.0.0, @modelcontextprotocol/server ^2.0.0

The project's own security

Security policynone no SECURITY.md in the repository: report issues privately through GitHub if it is enabled
Past advisories1 · 0 with a fixed version released
Last push2026-11-14
Signed releasesnot checked yet

Where it is published

Other npm packages
1 package by other publishers point to this repository

Not published by the repository's owner; check who publishes a package before you install it.

MCP Registryio.github.bytebase/dbhub
Listed in11 catalogs (awesome_habitoai, awesome_mobinx, awesome_tensorblock, awesome_wong2, awesome_yuzehao2023, github_search, glama, mcp_registry, mcp_toplist, mcpservers_org, npm)
LicenseMIT
Created2025-03-09
Topicsagents ai anthropic claude claude-ai codex cursor database llm mariadb

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.