MCP server safety grade
PostgreSQL (hardened, read-only)
Read-only PostgreSQL over MCP. Writes refused at the parsed SQL, plus a READ ONLY transaction.
npx -y postgres-mcp-hardened · npm postgres-mcp-hardened 0.1.12 · score 80/100 · scanned 2026-12-05
What it can do
- Yes: Network access
- Yes: Writes or deletes files
- Yes: Runs programs or shell commands
- Not seen: Reads environment variables
- Not seen: Runs code built at runtime
These are normal for many MCP servers. They tell you what the server could do with the access you give it.
Risk signals
- Runs a script automatically when installed (postinstall)
package.jsonnode scripts/postinstall.js
Package facts
| Weekly downloads | — |
|---|---|
| First published | 2026-08-09 |
| This version published | 2026-11-24 |
| Versions | 12 |
| Maintainers | 1 |
| Licence | MIT |
| Source repository | github.com/Eszetael/postgres-mcp-hardened |
| Runs scripts on install | postinstall |
| Files in package | 7 (18 KB) |
| Web addresses in code | none besides common ones |
Where we saw each capability (6 examples)
- Runs shell commands or other programs
bin/cli.js:13const { spawn } = require('node:child_process'); - Runs shell commands or other programs
lib/install.js:16const { execFileSync } = require('node:child_process'); - Makes network requests
lib/install.js:72const res = await fetch(url, { redirect: 'follow' }); - Runs shell commands or other programs
lib/install.js:84execFileSync('tar', ['-xf', archivePath, '-C', into], { stdio: 'ignore' }); - Writes, moves or deletes files
lib/install.js:120fs.writeFileSync(archivePath, buf);
- Writes, moves or deletes files
lib/install.js:122fs.rmSync(tmp, { recursive: true, force: true });
Badge
Maintainer? Add it to your README:
[](https://nodekya.com/mcp/io-github-eszetael-postgres-mcp-hardened)
The badge updates when we re-grade a new release from the registry.
Automated scan of the published package, not a security audit. A good grade means we found none of the patterns we check for (method). Think we got it wrong? Email hello@primemoverindustries.com and we re-check within 2 days.
Need a package that isn't here checked, or a fresh check of an unreleased version? Check any npm or PyPI package (US$9).
This grade as JSON (free, for agents).