Model Context Protocol implementation for TypeScript - Client package
Drift inferred · capture-to-capture
- HIGH code analysis flagged dynamic code execution in @modelcontextprotocol/client
transport streamable-http counts 0 tools · 0 res
· 0 prompts
permission surface via code analysis
no tools enumerated yet for this server.
prompt-surface
shipped agent-instruction files + hidden-content / dangerous-code findings —
quoted from the analyzed source
analyzed v2.0.0-alpha.2 · analyzer v18 · 7h ago
danger signals1
- dynamic code executionnew Function()package/dist/src-RIHfgPRm.mjs:5757
const validate = new Function(`${names_1.default.self}`, `${names_1.default.scope}`, sourceCode)(this, this.scope.get());
evidence-backed
findings quoted directly from the published source artifact — not inferred
shell / exec 1
- shell package/dist/index.mjs :2905
this._process = spawn(this._serverParams.command, this._serverParams.args ?? [], {
network 4
- net package/dist/index.mjs :660
* However, `fetch()` also throws `TypeError` for non-CORS failures (DNS resolution, connection - net package/dist/shimsBrowser.mjs :5
* Whether `fetch()` may throw `TypeError` due to CORS. Only true in browser contexts - net package/dist/shimsNode.mjs :5
* Whether `fetch()` may throw `TypeError` due to CORS. CORS is a browser-only concept — - net package/dist/shimsWorkerd.mjs :5
* Whether `fetch()` may throw `TypeError` due to CORS. CORS is a browser-only concept —
tool registrations 1
- greet package/dist/src-RIHfgPRm.mjs :9503
declared dependencies 26
- cross-spawn@^7.0.5
- eventsource@^3.0.2
- eventsource-parser@^3.0.0
- jose@^6.1.3
- pkce-challenge@^5.0.0
- zod@^4.0
- @cfworker/json-schema@^4.1.1
- @types/content-type@^1.1.8
- @types/cross-spawn@^6.0.6
- @types/eventsource@^1.1.15
- @typescript/native-preview@^7.0.0-dev.20251217.1
- @eslint/js@^9.39.2
- eslint@^9.39.2
- eslint-config-prettier@^10.1.8
- eslint-plugin-n@^17.23.1
- prettier@3.6.2
- tsx@^4.16.5
- typescript@^5.9.3
- typescript-eslint@^8.48.1
- vitest@^4.0.15
- tsdown@^0.18.0
- @modelcontextprotocol/core@^2.0.0-alpha.1
- @modelcontextprotocol/tsconfig@^2.0.0
- @modelcontextprotocol/vitest-config@^2.0.0
- @modelcontextprotocol/eslint-config@^2.0.0
- @modelcontextprotocol/test-helpers@^2.0.0-alpha.0