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

MCP server · Audited from source

Remote PostgreSQL Database MCP server

by coleam00/remote-mcp-server-with-authMIT licenceAudited 5 Oct 2026 · source 6422d048b680

npm remote-mcp-github-oauth 0.0.1★ 300
✕BLOCKGrade D · 60/100 · 5 Oct 2026 · 6422d04

Is it safe? No — BLOCK, grade D (60/100). It exposes 4 tools: 2 read, 2 write and 0 destructive. The audit recorded 18 findings (0 critical, 3 high, 3 medium, 12 low). Maintainer's description: Template for a remote MCP server with GitHub OAuth - following best practices for building MCP servers so you can take this as a starting point for any MCP server you want to build!

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Remote PostgreSQL Database MCP server (coleam00/remote-mcp-server-with-auth)”. Retrieved 5 Oct 2026. https://modelsatlas.com/mcp/coleam00/remote-postgresql-database

Why this is BLOCK. The audit found 0 critical and 3 high findings; the most severe is Code injection at worker-configuration.d.ts:2231. 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 5 Oct 2026

Trust score60/100✕BLOCK D
0 critical3 high3 medium12 low0 info

18 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

  • FilesystemNone observedNothing seen in the source
  • NetworkDeclared5 observations
  • ShellDeclared2 observations
  • DependenciesNot pinnedSome ranges float
  • SecretsFoundSee the findings

Findings (18)

Sorted by severity

HIGHCode injectioncode.eval_exec · worker-configuration.d.ts:2231
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(input?: (string | URLPatternInit), baseURL?: string): URLPatternResult | null;
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · worker-configuration.d.ts:6229
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(query: string): Promise<D1ExecResult>;
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHHard-coded secretssecret.db_uri · setup-database.sh:59
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 · README.md:145
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 · README.md:146
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 · tests/mocks/oauth.mock.ts:45
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 · .dev.vars.example
F-13 Inventory / provenanceCWE-1104Layer L0
.dev.vars.example
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · tests/fixtures/auth.fixtures.ts:1
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import type { Props } from '../../src/types'
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/fixtures/mcp.fixtures.ts:1
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import type { McpResponse } from '../../src/types'
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/mocks/database.mock.ts:18
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
vi.mock('../../src/database/connection', () => ({
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/mocks/database.mock.ts:24
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
vi.mock('../../src/database/utils', () => ({
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/unit/database/security.test.ts:2
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { validateSqlQuery, isWriteOperation, formatDatabaseError } from '../../../src/database/security'
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.decode_call · src/auth/github-handler.ts:80
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
const oauthReqInfo = JSON.parse(atob(c.req.query("state") as string)) as AuthRequest;
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.decode_call · src/auth/oauth-utils.ts:41
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
const jsonString = atob(encoded);
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.decode_call · src/auth/oauth-utils.ts:137
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
const payload = atob(base64Payload); // Assuming payload is base64 encoded JSON string
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.decode_call · worker-configuration.d.ts:215
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
atob(data: string): string;
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.decode_call · worker-configuration.d.ts:301
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
declare function atob(data: string): string;
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@cloudflare/workers-oauth-provider, @sentry/cloudflare, agents, hono, just-pick, octokit, postgres, workers-mcp
Why
17 dependency range(s) float
Fix
pin exact versions or ship a lockfile

Tools it exposes

4 declared in source · 0 destructive

2 read2 write0 destructive
ToolWhat it doesRisk
executeDatabaseExecute any SQL statement against the PostgreSQL database, including INSERT, UPDATE, DELETE, and DDL operations. This tool is restricted to specific GitHub users and can perform write transactions. **USE WITH CAUTION** - this can modify or delete data.write
queryDatabaseExecute a read-only SQL query against the PostgreSQL database. This tool only allows SELECT statements and other read operations. All authenticated users can use this tool.write
calculateNo description in the sourceread
listTablesGet a list of all tables in the database along with their column information. Use this first to understand the database structure before querying.read

Safer alternatives

We could not match this server to a job, so we cannot suggest a like-for-like alternative. Read-only servers are the least-privilege place to start.

Audit history

  1. ✕BLOCK D 60 / 100

    First audit · 6422d048b680

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK DMODELSATLASBLOCK · D

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 Remote PostgreSQL Database MCP server

What is the Remote PostgreSQL Database MCP server?
Template for a remote MCP server with GitHub OAuth - following best practices for building MCP servers so you can take this as a starting point for any MCP server you want to build!
What tools does Remote PostgreSQL Database expose?
4 in total: 2 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Remote PostgreSQL Database safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (60/100) and found 3 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 Remote PostgreSQL Database need?
No credential environment variables were found in its source, so it appears to need none.
How current is this page?
The grade is for one exact copy of the source (6422d048b680), read on 2026-10-05. The repository is watched and re-audited when it changes.
I already installed Remote PostgreSQL Database. 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

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.