MCP server · Audited from source
@mcp-z/oauth
by mcp-z/oauthMIT licenceAudited 11 Oct 2026 · source c299dd3b51e8
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
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
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
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 2 findings |
L1 Static source | Secrets, path traversal, supply chain | WARN 15 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | PASS |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
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/oauthat 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
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
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/lib/account-server/loopback.ts:18
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
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
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
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
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
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
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
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
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
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
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
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
@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
| Tool | Risk | What it does |
|---|---|---|
points | read | Key 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]{
"mcpServers": {
"oauth": {
"command": "npx",
"args": [
"-y",
"@mcp-z/[email protected]"
],
"env": {
"GOOGLE_CLIENT_SECRET": "${GOOGLE_CLIENT_SECRET}",
"JWT_PUBLIC_KEY": "${JWT_PUBLIC_KEY}",
"JWT_SECRET": "${JWT_SECRET}",
"SESSION_SECRET": "${SESSION_SECRET}"
}
}
}
}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
- !CAUTION B 83 / 100
First audit ·
c299dd3b51e8
README badge
For maintainers · updates on every re-audit
[](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?
What tools does @mcp-z/oauth expose?
Is @mcp-z/oauth safe to connect to an agent?
What credentials does @mcp-z/oauth need?
How current is this page?
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.
- What is the @mcp-z/oauth MCP server?
- What tools does @mcp-z/oauth expose?
- Is @mcp-z/oauth safe to connect to an agent?