Grades are a hygiene check, not a security guarantee.

MCP, MCP server

dbhub

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

Compatibility: Not stated.

Grade B

Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.

Graded by PlugVetRubric v2

Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.

Rescanned at commit 2dbf01af53e3, unchanged since the check below.

NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ OBFUSCATION_FILE_OVER_READ_CAP

Why this grade

  • NETWORK_NO_FIXED_HOST Low

    Makes a network call whose host is not written as a fixed address.

    frontend/src/api/requests.ts, line 12 const response = await fetch(url);

  • SECRETS_PATH_DOTENV Low

    Mentions a .env file.

    src/server.ts, line 107 5. .env file: DSN=your-connection-string

  • SECRETS_ENV_READ Note

    Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.

    src/config/env.ts, line 174 const dbPassword = process.env.DB_PASSWORD;

  • OBFUSCATION_FILE_OVER_READ_CAP Note

    A file was over the read cap and was not fully read.

    pnpm-lock.yaml, line 1 lockfileVersion: '9.0'

Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.

Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.

What was checked

Plain notes from the hygiene checks.

  • Permissions

    Pass

    No shell or command execution found, and no extra permission was declared.

  • Install and update

    Pass

    No install-time script found, and dependencies are pinned or absent.

  • Network

    Concern

    can reach a host that is not written as a fixed address.

    NETWORK_NO_FIXED_HOST

    frontend/src/api/requests.ts, line 12

    const response = await fetch(url);

    frontend/src/api/sources.ts, line 18

    const response = await fetch(`${API_BASE}/sources`);

    frontend/src/api/sources.ts, line 48

    const response = await fetch(`${API_BASE}/sources/${encodeURIComponent(sourceId)}`);

    Show more

    frontend/src/api/tools.ts, line 58

    const response = await fetch('/mcp', {

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_DOTENV

    src/server.ts, line 107

    5. .env file: DSN=your-connection-string

    src/config/env.ts, line 86

    ? [".env.local", ".env"] // In development, try .env.local first, then .env

    src/config/env.ts, line 174

    const dbPassword = process.env.DB_PASSWORD;

    Show more

    src/config/env.ts, line 87

    : [".env"]; // In production, only look for .env

    src/config/env.ts, line 90

    // checked before the package root, so a project's own .env wins over one

    src/config/env.ts, line 244

    * Resolve DSN from command line args, environment variables, or .env files

    src/config/env.ts, line 266

    // 2. Check environment variables before loading .env

    src/config/env.ts, line 277

    // 4. Try loading from .env files

    src/config/env.ts, line 280

    // 5. Check for DSN in .env file

    src/config/env.ts, line 492

    const envValue = process.env.DBHUB_AUTH_TOKEN?.trim();

    src/config/env.ts, line 612

    } else if (process.env.SSH_PASSWORD) {

    src/config/env.ts, line 613

    config.password = process.env.SSH_PASSWORD;

    src/config/env.ts, line 626

    } else if (process.env.SSH_KEY) {

    src/config/env.ts, line 627

    config.privateKey = process.env.SSH_KEY;

  • Agent instructions

    Pass

    No instruction to ignore earlier instructions or to hide a step.

  • Obfuscation

    Note

    a file was over the read cap and was not fully read.

    OBFUSCATION_FILE_OVER_READ_CAP

    pnpm-lock.yaml, line 1

    lockfileVersion: '9.0'

    demo/employee-sqlite/load_salary1.sql, line 1

    INSERT INTO salary VALUES (10001,60117,'1986-06-26','1987-06-26'),

  • Licence

    Pass

    A licence file is present (LICENSE).

  • Maintainer activity

    Pass

    The latest commit is within the last 365 days.

Note

Hygiene check of commit 2dbf01af53e3. can reach a host that is not written as a fixed address. reads a credential or environment file. a file was over the read cap and was not fully read.

Date and source

Date checked:

View source

github.com

Commit graded: 2dbf01af53e34784eafc00d777394ec844b98eca

This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.

Read how this letter is chosen