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

MCP server · Audited from source

mcp-gateway

by harrisoncn/mcp-gatewayMIT licenceAudited 10 Oct 2026 · source ca6da521050a

npm @winstonsayno/mcp-gateway 13.6.0ssestreamable-http★ 1
✕BLOCKGrade F · 39/100 · 10 Oct 2026 · ca6da52

Is it safe? No — BLOCK, grade F (39/100). It exposes 39 tools: 32 read, 6 write and 1 destructive. The audit recorded 51 findings (0 critical, 9 high, 18 medium, 21 low). Maintainer's description: 🔀 A lightweight, open-source gateway for managing, routing, and monitoring multiple MCP (Model Context Protocol) servers. Auth · Rate-limit · Metrics · Tool discovery.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “mcp-gateway (HarrisonCN/mcp-gateway)”. Retrieved 10 Oct 2026. https://modelsatlas.com/mcp/harrisoncn/mcp-gateway

Why this is BLOCK. The audit found 0 critical and 9 high findings; the most severe is Code injection at bench/lib/upstreams.mjs:299. 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.

3 MCP servers are called mcp-gateway. You are viewing HarrisonCN/mcp-gateway. Compare all 3 →

Trust audit

Audit 0.4.1 · full source read 10 Oct 2026

Trust score39/100✕BLOCK F
0 critical9 high18 medium21 low3 info

51 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

  • FilesystemDeclared8 observations
  • NetworkDeclared13 observations
  • ShellDeclared6 observations
  • DependenciesNot pinnedSome ranges float
  • SecretsFoundSee the findings

Findings (51)

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

HIGHCode injectioncode.eval_exec · bench/lib/upstreams.mjs:299
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
} else socket.write(exec(v));
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · src/features/task-graphs.ts:373
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
st.done = executeRun(run, exec(run), { checkpoint: (r) => taskRuns.save(r, dirOf(c)), cancelled: () => st.cancel }).finally(() => active.delete(run.id));
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · src/monitor/audit.ts:74
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(sql: string): void;
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · src/policy/cedar.ts:534
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
eval(e: Expr): CedarValue {
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHNetwork egressnet.tls_off · deploy/helm/mcp-gateway/values.yaml:40
F-04 Network egressCWE-200 · CWE-319Layer L1
# Opt out of the auth requirement: start the gateway with --insecure (NO authentication on the pod address).
Why
certificate verification is disabled
Fix
leave verification on
HIGHNetwork egressnet.tls_off · src/cli.ts:50
F-04 Network egressCWE-200 · CWE-319Layer L1
.option('--insecure', 'Allow starting without auth on a non-loopback address (trusted networks only)')
Why
certificate verification is disabled
Fix
leave verification on
HIGHNetwork egressnet.tls_off · src/features/pq-tls.ts:85
F-04 Network egressCWE-200 · CWE-319Layer L1
const s = connect({ host, port, servername: /^[\d.]+$|:/.test(servername) ? undefined : servername, ecdhCurve, rejectUnauthorized: false, minVersion: 'TLSv1.3' }, () => {
Why
certificate verification is disabled
Fix
leave verification on
HIGHNetwork egressnet.tls_off · src/gateway/index.ts:664
F-04 Network egressCWE-200 · CWE-319Layer L1
if (this.config.security?.insecure && (this.config.auth?.strategy ?? 'none') === 'none') logger.warn('Started with --insecure: authentication is off on a non-loopback address.');
Why
certificate verification is disabled
Fix
leave verification on
HIGHNetwork egressnet.tls_off · src/security/posture.ts:43
F-04 Network egressCWE-200 · CWE-319Layer L1
'127.0.0.1, or — only on a trusted network — start with --insecure (security.insecure: true).'
Why
certificate verification is disabled
Fix
leave verification on
MEDIUMInventory / provenanceinv.binary · clients/kotlin/gradle/wrapper/gradle-wrapper.jar
F-13 Inventory / provenanceCWE-1104Layer L0
gradle-wrapper.jar
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMInsecure cryptocrypto.weak_random · dashboard/demo/mock.js:836
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
const nr = { id: uuid(), timestamp: Date.now(), serverId: s.id, toolName: r.toolName, durationMs: Math.round(s.base * (0.5 + Math.random())), success: up, clientId: 'key:demo', via: 'rest', kind: 'too
Why
No further detail recorded for this rule.
Fix
—
MEDIUMInformation disclosuredisclose.log_secret · src/auth/oauth.ts:238
F-12 Information disclosureCWE-209 · CWE-532Layer L1
logger.warn(`OAuth token introspection failed: ${err instanceof Error ? err.message : String(err)}`);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMInformation disclosuredisclose.log_secret · src/auth/oauth.ts:362
F-12 Information disclosureCWE-209 · CWE-532Layer L1
logger.warn(`OAuth token rejected from ${req.ip}: ${te.message}`);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMInformation disclosuredisclose.log_secret · src/cli.ts:507
F-12 Information disclosureCWE-209 · CWE-532Layer L1
console.log(`Wrote ${options.out}.key (keep secret) and ${options.out}.pub (add to pluginTrust.keys)`);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMInformation disclosuredisclose.log_secret · src/cli.ts:559
F-12 Information disclosureCWE-209 · CWE-532Layer L1
console.log(`Wrote ${options.out}.hybrid.json (secret) and ${options.out}.pub.json (Ed25519 + ${options.alg}). Backend: ${pqBackend().note}`);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMInformation disclosuredisclose.log_secret · src/gateway/api.ts:1518
F-12 Information disclosureCWE-209 · CWE-532Layer L1
logger.info(`Secret rotation requested via API: ${rotated.length} server(s) reconnected`);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.beacon_words · dashboard/demo/mock.js:60
F-04 Network egressCWE-200 · CWE-319Layer L1
{ id: "sanitize", since: "7.3.0", summary: "Prompt-injection defence: tool-output sanitisation (hidden Unicode, ANSI, HTML, exfil images), spotlighting, inbound / outbound blocking" },
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.beacon_words · dashboard/demo/mock.js:622
F-04 Network egressCWE-200 · CWE-319Layer L1
{ timestamp: iso(Date.now() - 64e3), client: 'key:aura', kind: 'prompt-injection', detail: 'results: ignore-instructions, exfil-url', serverId: 'web', tool: 'fetch', score: 1 },
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.beacon_words · dashboard/demo/mock.js:625
F-04 Network egressCWE-200 · CWE-319Layer L1
if (p === '/admin/anomaly/score' && method === 'POST') return json({ score: 1, signals: ['ignore-instructions', 'prompt-exfiltration'], threshold: 0.6 });
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.beacon_words · src/features/anomaly.ts:47
F-04 Network egressCWE-200 · CWE-319Layer L1
'prompt-exfiltration': 0.5,
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.beacon_words · src/features/anomaly.ts:49
F-04 Network egressCWE-200 · CWE-319Layer L1
'exfil-url': 0.7,
Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.anthropic · test/security.test.ts:42
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.aws · test/security.test.ts:44
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 · test/federation.test.ts:12
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 · test/policy.test.ts:76
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
—

Tools it exposes

39 declared in source · 1 destructive

32 read6 write1 destructive

1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolWhat it doesRisk
write_fileCreate or overwrite a filedestructive
FilesystemRead and write files under /srv/projectswrite
SlackPost and read team messageswrite
add-toolNo description in the sourcewrite
create_issueOpen a new issuewrite
queryRun a read-only SQL querywrite
slack_post_messagePost a message to a channelwrite
Extradread
Faketestread
FetchFetch web pages and convert them to markdownread
GITHUB_TOKENGitHub personal access tokenread
GitRead, search and manipulate a Git repositoryread
GitHubRepositories, issues and pull requestsread
MemoryKnowledge-graph based persistent memoryread
PostgresRead-only SQL against the analytics replicaread
TimeCurrent time and time-zone conversionread
a__echoNo description in the sourceread
a__ndread
brave_local_searchSearch for local businesses and placesread
brave_web_searchSearch the webread
cachedCacheable echoread
directoryAllowed directoryread
echoEcho the argumentsread
failAlways a JSON-RPC errorread
get_issueGet an issue by numberread
lateNo description in the sourceread
list_directoryList files and folders in a directoryread
list_pull_requestsList pull requests in a repositoryread
list_tablesList tables in the public schemaread
pricedEcho with a usage block (budgets)read
readReadread
read_fileRead the complete contents of a fileread
repositoryPath of the repositoryread
search_filesRecursively search for files matching a patternread
search_repositoriesSearch GitHub repositoriesread
slack_get_channel_historyRecent messages in a channelread
slowSleepread
twiceecho twiceread
xNo description in the sourceread

Safer alternatives

Audit history

  1. ✕BLOCK F 39 / 100

    First audit · ca6da521050a

Questions about mcp-gateway

What is the mcp-gateway MCP server?
🔀 A lightweight, open-source gateway for managing, routing, and monitoring multiple MCP (Model Context Protocol) servers. Auth · Rate-limit · Metrics · Tool discovery.
What tools does mcp-gateway expose?
39 in total: 32 read-only, 6 that write, and 1 that can delete or overwrite (write_file). Every one is listed on this page with its risk.
Is mcp-gateway safe to connect to an agent?
No — not without reading the findings first. The audit graded it F (39/100) and found 9 critical or high issues in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does mcp-gateway need?
It reads AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, CI_KEY, GATEWAY_KEY, GH_TOKEN, GITHUB_TOKEN, GOOGLE_OAUTH_ACCESS_TOKEN, LLM_API_KEY, MCP_GATEWAY_ADMIN_KEY, MCP_GATEWAY_API_KEYS and MCP_GATEWAY_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 does mcp-gateway run?
It speaks sse and streamable-http, so it runs as a service you connect to over the network. It is published on npm as @winstonsayno/mcp-gateway at 13.6.0.
How current is this page?
The grade is for one exact copy of the source (ca6da521050a), read on 2026-10-10. The repository is watched and re-audited when it changes.
Which mcp-gateway MCP server is the right one?
3 unrelated servers share the name “mcp-gateway”; compare them side by side before you install.
I already installed mcp-gateway. 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

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