Live survey304 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Org-owned · Audited from source

Dbhub MCP server

by bytebase/dbhubMIT licenceAudited 22 Sep 2026 · source c07ef8c455b2

npm dbhub 1.3.1stdio★ 3,549
✕BLOCKGrade F · 53/100 · 22 Sep 2026 · c07ef8c

Is it safe? No — BLOCK, grade F (53/100). It exposes 1 tool: 0 read, 1 write and 0 destructive. The audit recorded 40 findings (0 critical, 6 high, 4 medium, 30 low). Maintainer's description: Token conscious database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Dbhub MCP server (bytebase/dbhub)”. Retrieved 22 Sep 2026. https://modelsatlas.com/mcp/bytebase/dbhub

Why this is BLOCK. The audit found 0 critical and 6 high findings; the most severe is Network egress at src/connectors/mariadb/index.ts:92. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

Trust audit

Audit 0.4.1 · full source read 22 Sep 2026

Trust score53/100✕BLOCK F
0 critical6 high4 medium30 low0 info

40 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared5 observations
  • NetworkDeclared5 observations
  • ShellDeclared2 observations
  • DependenciesNot pinnedSome ranges float
  • SecretsFoundSee the findings

Findings (40)

Sorted by severity · the 25 most severe of 40 are listed

HIGHNetwork egressnet.tls_off · src/connectors/mariadb/index.ts:92
F-04 Network egressCWE-200 · CWE-319Layer L1
connectionConfig.ssl = { rejectUnauthorized: false };
Why
certificate verification is disabled
Fix
leave verification on
HIGHHard-coded secretssecret.db_uri · dbhub.toml.example:22
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
HIGHHard-coded secretssecret.db_uri · dbhub.toml.example:39
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
HIGHHard-coded secretssecret.db_uri · dbhub.toml.example:45
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
HIGHHard-coded secretssecret.db_uri · dbhub.toml.example:76
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
HIGHHard-coded secretssecret.db_uri · dbhub.toml.example:91
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.private_key · src/utils/__tests__/ssh-config-parser.test.ts:591
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.private_key · src/utils/__tests__/ssh-config-parser.test.ts:614
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.private_key · src/utils/__tests__/ssh-config-parser.test.ts:632
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.private_key · src/utils/__tests__/ssh-tunnel.test.ts:145
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.hidden_file · .prettierrc.json
F-13 Inventory / provenanceCWE-1104Layer L0
.prettierrc.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWCode injectioncode.eval_exec · src/utils/__tests__/allowed-keywords.test.ts:269
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
expect(isReadOnlySQL("EXEC('DELETE FROM users')", "sqlserver")).toBe(false);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · src/utils/__tests__/allowed-keywords.test.ts:281
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
expect(isReadOnlySQL("WITH cte AS (SELECT 1) EXEC('DELETE FROM users')", "sqlserver")).toBe(false);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · src/utils/__tests__/allowed-keywords.test.ts:301
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
expect(isReadOnlySQL("/* EXEC('DROP TABLE users') */ SELECT 1", "sqlserver")).toBe(true);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · src/utils/__tests__/allowed-keywords.test.ts:305
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
expect(areAllStatementsReadOnly("SELECT 1; EXEC('DELETE FROM users')", "sqlserver")).toBe(false);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWFilesystem / pathfs.credential_store · src/config/__tests__/ssh-config-integration.test.ts:52
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
privateKey: '/home/user/.ssh/id_rsa'
Why
touches a credential store
Fix
—
LOWFilesystem / pathfs.credential_store · src/config/__tests__/ssh-config-integration.test.ts:65
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
privateKey: '/home/user/.ssh/id_rsa'
Why
touches a credential store
Fix
—
LOWFilesystem / pathfs.credential_store · src/config/__tests__/ssh-config-integration.test.ts:77
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
privateKey: '/home/user/.ssh/id_rsa'
Why
touches a credential store
Fix
—
LOWFilesystem / pathfs.credential_store · src/config/__tests__/ssh-config-integration.test.ts:90
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
privateKey: '/home/user/.ssh/id_rsa'
Why
touches a credential store
Fix
—
LOWFilesystem / pathfs.credential_store · src/config/__tests__/ssh-config-integration.test.ts:101
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
privateKey: '/home/user/.ssh/id_rsa'
Why
touches a credential store
Fix
—
LOWFilesystem / pathfs.traversal · frontend/src/components/Gutter/Gutter.tsx:6
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import type { DataSource } from '../../types/datasource';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · frontend/src/components/Gutter/GutterIcon.tsx:3
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { cn } from '../../lib/utils';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · frontend/src/components/Gutter/GutterSourceItem.tsx:3
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { cn } from '../../lib/utils';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · frontend/src/components/Gutter/GutterSourceItem.tsx:4
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { DB_LOGOS } from '../../lib/db-logos';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · frontend/src/components/Gutter/GutterSourceItem.tsx:5
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import type { DataSource } from '../../types/datasource';
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

1 declared in source · 0 destructive

0 read1 write0 destructive
ToolWhat it doesRisk
update_statusUpdate user statuswrite

Safer alternatives

All databases servers →

Audit history

  1. ✕BLOCK F 53 / 100

    Source changed, verdict held · c07ef8c455b2

  2. ✕BLOCK F 53 / 100

    First audit · 444f412f74ad

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK FMODELSATLASBLOCK · F

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about Dbhub MCP server

What is the Dbhub MCP server?
Token conscious database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite.
What tools does Dbhub expose?
1 in total: 0 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Dbhub safe to connect to an agent?
No — not without reading the findings first. The audit graded it F (53/100) and found 6 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What credentials does Dbhub need?
It reads DBHUB_AUTH_TOKEN, DB_PASSWORD, DSN, SSH_KEY, SSH_PASSPHRASE, SSH_PASSWORD, TEST_DB_PASSWORD and TEST_SSH_PASSWORD from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Dbhub run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as dbhub at 1.3.1.
How current is this page?
The grade is for one exact copy of the source (c07ef8c455b2), read on 2026-09-22. The repository is watched and re-audited when it changes.
I already installed Dbhub. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • bytebase/dbhub on GitHub — the source we read, its licence, stars and activityObserved · 22 Sep 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit c07ef8c455b2Observed · 22 Sep 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.