MCP server · Audited from source
Remote PostgreSQL Database MCP server
by coleam00/remote-mcp-server-with-authMIT licenceAudited 5 Oct 2026 · source 6422d048b680
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!
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
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
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
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
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
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
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
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/fixtures/auth.fixtures.ts:1
import type { Props } from '../../src/types'- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/fixtures/mcp.fixtures.ts:1
import type { McpResponse } from '../../src/types'- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/mocks/database.mock.ts:18
vi.mock('../../src/database/connection', () => ({- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/mocks/database.mock.ts:24
vi.mock('../../src/database/utils', () => ({- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/unit/database/security.test.ts:2
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
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
const jsonString = atob(encoded);
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.decode_call · src/auth/oauth-utils.ts:137
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
atob(data: string): string;
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.decode_call · worker-configuration.d.ts:301
declare function atob(data: string): string;
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@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
| Tool | What it does | Risk |
|---|---|---|
executeDatabase | Execute 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 |
queryDatabase | Execute 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 |
calculate | No description in the source | read |
listTables | Get 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
- ✕BLOCK D 60 / 100
First audit ·
6422d048b680
README badge
Badges show the current verdict, BLOCK included
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?
What tools does Remote PostgreSQL Database expose?
Is Remote PostgreSQL Database safe to connect to an agent?
What credentials does Remote PostgreSQL Database need?
How current is this page?
I already installed Remote PostgreSQL Database. What should I do?
Can the verdict change?
Sources
- coleam00/remote-mcp-server-with-auth on GitHub — the source we read, its licence, stars and activityObserved · 5 Oct 2026
- ModelsAtlas trust audit — BLOCK verdict for commit 6422d048b680Observed · 5 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.
- What is the Remote PostgreSQL Database MCP server?
- What tools does Remote PostgreSQL Database expose?
- Is Remote PostgreSQL Database safe to connect to an agent?