MCP server · Org-owned · Audited from source
Dbhub MCP server
by bytebase/dbhubMIT licenceAudited 22 Sep 2026 · source c07ef8c455b2
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.
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
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
connectionConfig.ssl = { rejectUnauthorized: false };- Why
- certificate verification is disabled
- Fix
- leave verification on
HIGHHard-coded secretssecret.db_uri · dbhub.toml.example:22
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
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
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
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
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
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
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
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
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWCode injectioncode.eval_exec · src/utils/__tests__/allowed-keywords.test.ts:269
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
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
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
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
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
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
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
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
privateKey: '/home/user/.ssh/id_rsa'
- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.traversal · frontend/src/components/Gutter/Gutter.tsx:6
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
import { cn } from '../../lib/utils';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · frontend/src/components/Gutter/GutterSourceItem.tsx:3
import { cn } from '../../lib/utils';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · frontend/src/components/Gutter/GutterSourceItem.tsx:4
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
import type { DataSource } from '../../types/datasource';- Why
- No further detail recorded for this rule.
- Fix
- —
Tools it exposes
1 declared in source · 0 destructive
| Tool | What it does | Risk |
|---|---|---|
update_status | Update user status | write |
Safer alternatives
All databases servers →Audit history
- ✕BLOCK F 53 / 100
Source changed, verdict held ·
c07ef8c455b2 - ✕BLOCK F 53 / 100
First audit ·
444f412f74ad
README badge
Badges show the current verdict, BLOCK included
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?
What tools does Dbhub expose?
Is Dbhub safe to connect to an agent?
What credentials does Dbhub need?
How does Dbhub run?
How current is this page?
I already installed Dbhub. What should I do?
Can the verdict change?
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.
- What is the Dbhub MCP server?
- What tools does Dbhub expose?
- Is Dbhub safe to connect to an agent?