Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Org-owned · Audited from source

pgEdge Postgres MCP server

by pgedge/pgedge-postgres-mcpPostgreSQL licenceAudited 6 Oct 2026 · source dfe4c1200add

npm pgedge-nla-web 1.1.0★ 233
✕BLOCKGrade F · 49/100 · 6 Oct 2026 · dfe4c12

Is it safe? No — BLOCK, grade F (49/100). It exposes 1 tool: 1 read, 0 write and 0 destructive. The audit recorded 46 findings (0 critical, 5 high, 12 medium, 21 low). Maintainer's description: pgEdge MCP Server. A PostgreSQL MCP server with a Natural Language Agent CLI and Web UI.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “pgEdge Postgres MCP server (pgedge/pgedge-postgres-mcp)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/pgedge/pgedge-postgres

Why this is BLOCK. The audit found 0 critical and 5 high findings; the most severe is Filesystem / path at .trivy/nla-web.trivyignore.yaml:220. 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 6 Oct 2026

Trust score49/100✕BLOCK F
0 critical5 high12 medium21 low8 info

46 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

  • FilesystemDeclared12 observations
  • NetworkDeclared5 observations
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsFoundSee the findings

Findings (46)

Sorted by severity · the 25 most severe of 46 are listed

HIGHFilesystem / pathfs.credential_store · .trivy/nla-web.trivyignore.yaml:220
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
Information disclosure via incorrect .netrc password lookup. Not
Why
touches a credential store
Fix
—
HIGHFilesystem / pathfs.credential_store · .trivy/postgres-mcp.trivyignore.yaml:305
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
# auth scheme (Negotiate/Digest/.netrc), a cookie jar, LDAPS, SMB, or
Why
touches a credential store
Fix
—
HIGHFilesystem / pathfs.credential_store · .trivy/postgres-mcp.trivyignore.yaml:433
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
Information disclosure via incorrect .netrc password lookup. No
Why
touches a credential store
Fix
—
HIGHFilesystem / pathfs.credential_store · .trivy/postgres-mcp.trivyignore.yaml:435
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
--netrc, and no .netrc file exists in this minimal image.
Why
touches a credential store
Fix
—
HIGHFilesystem / pathfs.credential_store · .trivy/postgres-mcp.trivyignore.yaml:443
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
invocation does not use --netrc and no .netrc file is present.
Why
touches a credential store
Fix
—
MEDIUMInformation disclosuredisclose.log_secret · web/src/components/ChatInterface.jsx:238
F-12 Information disclosureCWE-209 · CWE-532Layer L1
console.log(`[Token Tracker] Recording: ${inputTokens} input, ${outputTokens} output tokens`);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMInformation disclosuredisclose.log_secret · web/src/components/ChatInterface.jsx:383
F-12 Information disclosureCWE-209 · CWE-532Layer L1
console.log(`[Compaction] Triggered by token count: ~${estimatedTokens} tokens (threshold: ${TOKEN_COMPACTION_THRESHOLD})`);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.anthropic · docs/guide/security_mgmt.md:137
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.anthropic · docs/guide/troubleshooting.md:634
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.anthropic · internal/redact/redact_test.go:23
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.db_uri · .claude/testing-expert/coverage-and-quality.md:162
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.db_uri · .claude/testing-expert/coverage-and-quality.md:534
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.db_uri · .claude/testing-expert/integration-testing.md:526
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.db_uri · .claude/testing-expert/integration-testing.md:788
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.db_uri · .github/workflows/ci-server.yml:107
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · docs/reference/config-examples/tokens.md:72
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · examples/helm/pgedge-nla/values.yaml:175
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.hidden_file · .coderabbit.yaml
F-13 Inventory / provenanceCWE-1104Layer L0
.coderabbit.yaml
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .golangci.yml
F-13 Inventory / provenanceCWE-1104Layer L0
.golangci.yml
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .goreleaser-amd64.yaml
F-13 Inventory / provenanceCWE-1104Layer L0
.goreleaser-amd64.yaml
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .goreleaser-arm64.yaml
F-13 Inventory / provenanceCWE-1104Layer L0
.goreleaser-arm64.yaml
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWCode injectioncode.eval_exec · internal/tools/query_database_test.go:130
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
expectsRows   bool // true = use Query(), false = use Exec()
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · internal/tools/query_database_test.go:319
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
map[bool]string{true: "Query()", false: "Exec()"}[tt.expectsRows])
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
LOWFilesystem / pathfs.traversal · examples/stdio-anthropic-chatbot/chatbot.py:237
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
server_path = os.getenv("PGEDGE_MCP_SERVER_PATH", "../../bin/pgedge-postgres-mcp")
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · internal/chat/config.go:85
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
ServerPath: "../../bin/pgedge-postgres-mcp",
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

1 declared in source · 0 destructive

1 read0 write0 destructive
ToolWhat it doesRisk
gpt-4No description in the sourceread

Safer alternatives

All databases servers →

Audit history

  1. ✕BLOCK F 49 / 100

    First audit · dfe4c1200add

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK FMODELSATLASBLOCK · F

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 pgEdge Postgres MCP server

What is the pgEdge Postgres MCP server?
pgEdge MCP Server. A PostgreSQL MCP server with a Natural Language Agent CLI and Web UI.
What tools does pgEdge Postgres expose?
1 in total: 1 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is pgEdge Postgres safe to connect to an agent?
No — not without reading the findings first. The audit graded it F (49/100) and found 5 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What credentials does pgEdge Postgres need?
It reads ANTHROPIC_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How current is this page?
The grade is for one exact copy of the source (dfe4c1200add), read on 2026-10-06. The repository is watched and re-audited when it changes.
I already installed pgEdge Postgres. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • pgedge/pgedge-postgres-mcp on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit dfe4c1200addObserved · 6 Oct 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.