Skills/npm/postgres-mcp

postgres-mcp@0.14.2

VERIFIED· startup only

Publisher claims: "PostgreSQL MCP server, read-only by default: query, schema introspection, EXPLAIN plans, index advisor, and DBA health checks." Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry npm (MCP server)Publisher yawlabs · publishing for 233 daysInstalls 9,849Last detonated 2 h ago
$claude mcp add postgres-mcp -- npx -y @yawlabs/postgres-mcp
WatchReport an issue

Coverage

Startup only; authenticated tool behavior not tested.
Tested
server startup over stdio (initialize sent) · every file read, file written and host contacted by what ran
Not tested
the tool list (the server exited before answering) · what the tools do when called with real credentials

What this means for the label: Verified here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.

Before you give it your token

It will ask for
no credential variables read in the code
Where it talks to
no vendor host named in the codeAlso oamjs.org — not the publisher's domain; check what for before connecting.
What we saw when it ran
no credential files read · no network
What we could not test
the tool list (the server exited before answering) · what the tools do when called with real credentials

Connect it under the guard. Startup only; authenticated tool behavior not tested. The code names no credential variable; the guard pins the network to what the honeypot saw and logs every call.

$vet-skills run --net declared -- npx -y @yawlabs/postgres-mcp

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

What changed since 0.13.9

vet-skills diff postgres-mcp 0.13.9 0.14.2

In the sandbox, this version reached for nothing 0.13.9 did not. Compared from the two recorded runs, not from source.

The guard can hold an update like this until someone approves it (runtime.on_change: hold). A change that only shows with a real credential, or on a path the run did not reach, is not in a trace and so not in this comparison.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; startup only; authenticated tool behavior not tested) on 2026-11-24 and scored it 92/100 (Verified). In what ran, nothing we could detect went wrong: no undeclared network egress, no credential reads, no persistent instruction writes. What it does with a real credential was not observed; the static findings and the publisher carry the rest of the score. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 20 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
20sclaimedstartup only: exited (0) before answering · (node:10562) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time. (Use `node --trace-warnings ...` to show where the warning was created) postgres-mcp: fallback failed (Cannot find module '/tmp/ks-detonate-UtXYYS/task/home/work/acme-api/.claude/skills/postgres-mcp/dist/index.js' imported from /tmp/ks-detonate-UtXYYS/task/home/work/acme-api/.claude/skills/pos
20sprocessscript backend runs setup only
20sprocessno install scripts to re-run

Static findings

MEDIUM
Process kill commandbin/postgres-mcp.mjs:964 · Process kill command — agent can terminate processes// child, so on Windows the timer below is the only kill we issue.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandbin/postgres-mcp.mjs:1020 · Process kill command — agent can terminate processes* grandparent -- would kill a Node handoff the same way.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandbin/postgres-mcp.mjs:959 · Process kill command — agent can terminate processes// signals: child.kill IGNORES the name and calls TerminateProcess -- anFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandbin/postgres-mcp.mjs:960 · Process kill command — agent can terminate processes// immediate hard kill (verified: a child with a SIGTERM handler never runsFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05

Cost to the agent

Instructions loaded
≈70 tok
1 file · 6 in bundle
Tool list per prompt
≈0 tok
0 tools · 0 per tool
Handshake
no reply
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 0

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

Not checked against OSV yet; the weekly check has not reached this version.