mcp-dbs@2.0.0
CAUTIONPublisher claims: "Lets MCP clients such as Claude and Kiro list, connect to, and query existing PostgreSQL, SQL Server, and DuckDB connections by reusing DBeaver and DBDelve profiles, including SSH and AWS SSM tunnels, without setting up profiles by hand. It exposes tools for listing profiles, running queries and DDL/DML, and managing connections and profile reloads." Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Server started and answered tools/list.- Tested
- MCP initialize and tools/list · every tool description, for hidden instructions · every file read, file written and host contacted by what ran
- Not tested
- what the tools do when called with real credentials
Behavior
In our sandbox run on 2026-11-22, [email protected] read no files and called no hosts, and its code names 12 environment variables. Coverage: full.
Files read
None recorded.
Hosts called
None recorded.
Environment variables its code names
DBDELVE_PROFILES, DBDELVE_VARIANT, DBEAVER_CREDENTIALS_CONFIG_JSON, DBEAVER_DATA_SOURCES_JSON, DBEAVER_WORKSPACE, DISPLAY, MCP_DBS_ASKPASS_SECRET, MCP_DBS_LOG, MCP_DBS_SSH_CONFIG, SSH_ASKPASS, SSH_ASKPASS_REQUIRE, SystemRoot
Names only, read from the code. We never hold a value.
Tools offered
connect, disconnect, execute, list_profiles, query, reload_profiles, status
Changes since the prior version
No prior version with a result to compare.
What we did not test
- what the tools do when called with real credentials
| Run date | 2026-11-22 |
| Coverage | full |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try mcp-dbs |
| This record | behavior.json, behavior.md, signed attestation |
This is a record of what one version did in the runs we made. It is evidence, not a certificate.
Before you give it your token
- It will ask for
DBEAVER_CREDENTIALS_CONFIG_JSONMCP_DBS_ASKPASS_SECRETConfiguration, not credentials: DBDELVE_PROFILES, DBDELVE_VARIANT, DBEAVER_DATA_SOURCES_JSON, DBEAVER_WORKSPACE, DISPLAY, MCP_DBS_LOG, MCP_DBS_SSH_CONFIG, SSH_ASKPASS, SSH_ASKPASS_REQUIRE, SystemRoot- Where it talks to
- no vendor host named in the code
- What we saw when it ran
- no credential files read · no network
- What we could not test
- what the tools do when called with real credentials
Connect it with a scoped credential, under the guard. It asks for DBEAVER_CREDENTIALS_CONFIG_JSON, MCP_DBS_ASKPASS_SECRET and talks to its vendor. Give the credential to the guard, not the server: the value never enters the server's environment and only travels to the host you bind.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios) on 2026-11-22 and scored it 75/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Access to sensitive file paths; Access to sensitive file paths; Access to sensitive file paths. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 34 s · 2 scenarios · 0 deviationsStatic findings
type: "ssh", host: "bastion", port: 2222, user: "me", identityFile: "~/.ssh/id_ed25519",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const [p] = withSsh({ host: "bastion.example.com", port: "2222", authType: "PUBLIC_KEY", keyPath: "~/.ssh/id_ed25519" }, { user: "deploy", password: "key-pass" }).profiles;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// Blank or absent defers to ~/.ssh/config, as DBDelve does.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.`index.js` only wires things up: it loads `.env`, builds the profile registry and the session, and starts the MCP server over stdio. The rest is in `src/` (layout in `ROADMAP.md` §4):Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.test(".env: CRLF, BOM, quotes, comments; never overrides the environment", (t) => {Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.type: "ssh", host: "bastion", port: 2222, user: "me", identityFile: "~/.ssh/id_ed25519",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// MCP_DBS_SSH_CONFIG: an ssh config file to use instead of ~/.ssh/config.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.loadEnvFile(path.join(path.dirname(fileURLToPath(import.meta.url)), ".env"));Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.chown -R tester /home/tester/.ssh && chmod 700 /home/tester/.ssh && chmod 600 /home/tester/.ssh/authorized_keys &&Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.// OS. A `.env` file next to index.js is optional: values already in theFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.**This is a public repo.** Never commit `.env`, real hostnames, connection or customer names, personal paths, or secrets (including in test fixtures).Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.assert.equal(one(pg('[profiles.ssh]\nhost = "bastion"\nidentity_file = "~/.ssh/id_ed25519"')).profiles[0].tunnel.type, "ssh");Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.assert.equal(one(pg('[profiles.ssh]\nhost = "bastion"\nidentity_file = "~/.ssh/id_ed25519"')).profiles[0].tunnel.type, "ssh");Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.adduser -D tester && sed -i "s/^tester:!/tester:*/" /etc/shadow &&Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.… - `profiles/sources/dbeaver.js`: for each project, decrypts `credentials-config.json` (AES-128-CBC, IV = first 16 bytes) and maps every `data-sources*.json`. Ids outside the `General` project start with `<project>:`. A broken file is repo…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.assert.equal(blank.tunnel.user, null, "blank defers to ~/.ssh/config");Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const file = path.join(tempDir(t), ".env");Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.assert.equal(p.tunnel.identityFile, "~/.ssh/id_ed25519");Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const [p] = withSsh({ host: "bastion.example.com", port: "2222", authType: "PUBLIC_KEY", keyPath: "~/.ssh/id_ed25519" }, { user: "deploy", password: "key-pass" }).profiles;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// ~/.ssh/config, the agent and hardware keys all work. Keys only (ADR-11).Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.for (const raw of fs.readFileSync(file, "utf8").replace(/^/, "").split(/\r?\n/)) {Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.…atpak and Snap on Linux) and reads every project in it. Optional overrides, in `.env` (see `.env.example`) or in the MCP client's `env` (the client does not read `.…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.chmod 600 "$DIR/id_encrypted" "$DIR/id_plain"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.// use their own ssh config (MCP_DBS_SSH_CONFIG), never ~/.ssh or the agent.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.assert.equal(p.tunnel.port, null, "no port: ssh's own default or ~/.ssh/config");Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.assert.equal(p.tunnel.identityFile, "~/.ssh/id_ed25519");Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const [ssh] = one(pg('[profiles.ssh]\nhost = "bastion"\nport = 2222\nuser = "me"\nidentity_file = "~/.ssh/id_ed25519"')).profiles;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const [ssh] = one(pg('[profiles.ssh]\nhost = "bastion"\nport = 2222\nuser = "me"\nidentity_file = "~/.ssh/id_ed25519"')).profiles;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.assert.deepEqual(args.slice(args.indexOf("-i"), args.indexOf("-i") + 2), ["-i", "~/.ssh/id"]);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.assert.equal(plain.at(-1), "alias", "no user: ~/.ssh/config decides");Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const args = sshArgs({ host: "bastion", port: 2222, user: "deploy", identityFile: "~/.ssh/id" }, { host: "db.internal", port: 5432 }, 40000, { withSecret: false });Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// is one on Windows. The real aws CLI is an .exe, and the tree kill isFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.Cost to the agent
Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.
Known vulnerabilities
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.
What would make this Verified
5 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Unclaimed publisher≈ +8 on the totalClaim onionhead0708: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Hidden zero-width characters detected≈ +4 on the totalKeep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
- Access to sensitive file paths≈ +2 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- References a credential file in the home directory≈ +2 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.
- File type combined with upload action≈ +2 on the totalRemove the call, or declare the host in frontmatter and explain in the README what is sent and why.