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

MCP server · Audited from source

@mcp-z/oauth

by mcp-z/oauthMIT licenceAudited 11 Oct 2026 · source c299dd3b51e8

npm @mcp-z/oauth 2.1.2★ 0
!CAUTIONGrade B · 83/100 · 11 Oct 2026 · c299dd3
0GitHub stars

Is it safe? With care — CAUTION, grade B (83/100). It exposes 1 tool: 1 read, 0 write and 0 destructive. The audit recorded 17 findings (0 critical, 0 high, 2 medium, 15 low). Maintainer's description: Multi-account orchestration and secure token storage for OAuth-based MCP servers

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “@mcp-z/oauth (mcp-z/oauth)”. Retrieved 11 Oct 2026. https://modelsatlas.com/mcp/mcp-z/oauth

Trust audit

Audit 0.4.1 · full source read 11 Oct 2026

Trust score83/100!CAUTION B
0 critical0 high2 medium15 low0 info

17 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

  • FilesystemDeclared5 observations
  • NetworkDeclared1 observation
  • ShellDeclared1 observation
  • DependenciesNot pinnedSome ranges float
  • SecretsFoundSee the findings

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 2 findings
L1 Static sourceSecrets, path traversal, supply chainWARN 15 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner mcp-zOrganizationAccount type recorded when we read the repository.
  • PackagePublished on npm@mcp-z/oauth at version 2.1.2
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last pushTodayActivity of the repository when we read it.
  • Source commit readc299dd3b51e8The audit covers exactly this commit, read on 11 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory1 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (17)

Sorted by severity

MEDIUMHard-coded secretssecret.generic · test/unit/jwt-auth.test.ts:7
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/unit/jwt-auth.test.ts:117
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 · .depcheckrc
F-13 Inventory / provenanceCWE-1104Layer L0
.depcheckrc
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .ncurc.json
F-13 Inventory / provenanceCWE-1104Layer L0
.ncurc.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · src/lib/account-server/loopback.ts:18
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { addAccount, getAccountInfo, getActiveAccount, getLinkedAccounts, removeAccount, setAccountInfo, setActiveAccount } from '../../account-utils.ts';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/lib/account-server/loopback.ts:19
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import type { AccountInfo, McpPrompt, McpTool } from '../../types.ts';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/lib/account-server/me.ts:16
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { getAccountInfo, getActiveAccount, getToken } from '../../account-utils.ts';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/lib/account-server/me.ts:17
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import type { CachedToken, McpPrompt, McpTool } from '../../types.ts';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/lib/account-server/shared-utils.ts:2
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { getAccountInfo, getLinkedAccounts } from '../../account-utils.ts';
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.metadata_ip · test/unit/lib/cimd-resolver.test.ts:171
F-04 Network egressCWE-200 · CWE-319Layer L1
for (const address of ['10.0.0.1', '172.16.0.1', '192.168.0.1', '127.0.0.1', '169.254.169.254', '0.0.0.0', '100.64.0.1', '224.0.0.1', '::1', 'fc00::1', 'fe80::1', '::ffff:127.0.0.1']) {
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
LOWNetwork egressnet.metadata_ip · test/unit/lib/cimd-resolver.test.ts:192
F-04 Network egressCWE-200 · CWE-319Layer L1
callback(null, [{ address: lookups === 1 ? '127.0.0.1' : '169.254.169.254', family: 4 }]);
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
LOWNetwork egressnet.raw_ip · test/unit/jwt-auth.test.ts:294
F-04 Network egressCWE-200 · CWE-319Layer L1
jwksUrl = `http://127.0.0.1:${address.port}/jwks.json`;
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · test/unit/lib/cimd-resolver.test.ts:14
F-04 Network egressCWE-200 · CWE-319Layer L1
await test(`http://127.0.0.1:${address.port}`);
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · test/unit/lib/cimd-resolver.test.ts:30
F-04 Network egressCWE-200 · CWE-319Layer L1
const clientId = `http://127.0.0.1:${req.socket.localPort}/metadata`;
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · test/unit/lib/cimd-resolver.test.ts:63
F-04 Network egressCWE-200 · CWE-319Layer L1
res.writeHead(302, { location: 'http://127.0.0.1/private' });
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · test/unit/lib/cimd-resolver.test.ts:131
F-04 Network egressCWE-200 · CWE-319Layer L1
const clientId = `http://127.0.0.1:${req.socket.localPort}/metadata`;
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/server, ipaddr.js, keyv, zod, @types/mocha, @types/node, node-version-use, ts-dev-stack
Why
9 dependency range(s) float
Fix
pin exact versions or ship a lockfile

Tools it exposes

1 declared in source · 0 destructive

1 read0 write0 destructive
ToolRiskWhat it does
pointsreadKey points to include

Install

Package version 2.1.2 · audited commit c299dd3

Read the findings first. The most severe is Hard-coded secrets (medium) at test/unit/jwt-auth.test.ts.

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 2.1.2. The audit covers commit c299dd3 only.

claude mcp add oauth --env GOOGLE_CLIENT_SECRET=${GOOGLE_CLIENT_SECRET} --env JWT_PUBLIC_KEY=${JWT_PUBLIC_KEY} --env JWT_SECRET=${JWT_SECRET} --env SESSION_SECRET=${SESSION_SECRET} -- npx -y @mcp-z/[email protected]

The command pins the package version recorded in the source (2.1.2); the audit covers commit c299dd3b51e8. Transport: not declared. Reads these environment variables: GOOGLE_CLIENT_SECRET, JWT_PUBLIC_KEY, JWT_SECRET, SESSION_SECRET. Give it the narrowest token it needs.

Audit history

  1. !CAUTION B 83 / 100

    First audit · c299dd3b51e8

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/mcp-z/oauth/badge.svg)](https://modelsatlas.com/mcp/mcp-z/oauth/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about @mcp-z/oauth

What is the @mcp-z/oauth MCP server?
Multi-account orchestration and secure token storage for OAuth-based MCP servers
What tools does @mcp-z/oauth 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 @mcp-z/oauth safe to connect to an agent?
With care. The audit graded it B (83/100) and found 17 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does @mcp-z/oauth need?
It reads GOOGLE_CLIENT_SECRET, JWT_PUBLIC_KEY, JWT_SECRET and SESSION_SECRET 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 (c299dd3b51e8), read on 2026-10-11. The repository is watched and re-audited when it changes.

Sources

  • mcp-z/oauth on GitHub — the source we read, its licence, stars and activityObserved · 11 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit c299dd3b51e8Observed · 11 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.