Memkin MCP Server

memkin npm v0.4.7 Source verified

Published by andrelyl — publish provenance cryptographically ties this package to that repository. That is proof of origin, not an official vendor package.

Local-first personal memory system — extracts signals from Feishu/Lark chats and AI-agent sessions into a private knowledge graph, served to any agent via MCP

Trust grade
B
84/100
Last scanned get badge →
Trust
B · 84/100
Adoption risk for you: the threat score, then adjusted down for blast radius, publisher verification and how much the scan could see. Deterministic; every point is auditable.
Capability
Critical
Blast radius if it went rogue — what the server’s tools could reach. Independent of trust.
Coverage
Source
How much the scan could actually inspect. Shallow coverage is stated, never hidden.
Share this Trust Score
𝕏 Share LinkedIn Reddit
B Why this grade threat 94 − adoption risk = 84/100

The grade answers one question — how safe is this server for you to adopt — so it is computed in two auditable stages. Nothing below is an opinion or an LLM's guess; every line is a real term the deterministic engine applied, and the same input always yields the same number.

1. Threat score — 100 − 6.3 = 94. What the published surface and source actually contain:

PointsWhat was foundCategory
−6.3 Untrusted input concatenated into a command sink MTC-SRC-009 injection

2. Client adoption risk — 94 − 10 = 84. Three small, subtract-only factors that reflect your risk in adopting it — a clean scan proves less on a powerful, unverified or barely-inspectable package, so the grade says so plainly:

PointsAdoption-risk factor
−10 capability blast radius (critical) — client exposure if the model is manipulated

Capability observations and info notes are shown under Findings but never scored. Open any row's finding below for the file, line and evidence behind a deduction.

Findings 13

high Dynamic code execution in server code (web/dist/assets/index-Cru41MzT.js)MTC-SRC-001

In the server's implementation (`web/dist/assets/index-Cru41MzT.js:4562`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: i(e){let n=a(e);return Function(`bodies`,`settings`,`random`,n)}function a(e){let n=r(e);return` var boundingBox = {

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server web/dist/assets/index-Cru41MzT.js

high Shell/command execution in server code (bin/memkin.mjs)MTC-SRC-002

In the server's implementation (`bin/memkin.mjs:2`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: spawnSync } from "node:child_process"; import { existsSync } from "node:fs"; import { dirname, resolve } from "node:pat

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server bin/memkin.mjs

high Shell/command execution in server code (dist/cli.js)MTC-SRC-002

In the server's implementation (`dist/cli.js:1733`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: } = await import("node:child_process"); const result = spawnSync(managedState.pgCtlPath, ["status", "-D", m

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/cli.js

high Shell/command execution in server code (dist/collectors/feishu/lark-cli-client.js)MTC-SRC-002

In the server's implementation (`dist/collectors/feishu/lark-cli-client.js:1`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: { execFile } from "node:child_process"; import { existsSync } from "node:fs"; import { dirname, join } from "node:path";

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/collectors/feishu/lark-cli-client.js

high Shell/command execution in server code (dist/daemon/autostart/runner.js)MTC-SRC-002

In the server's implementation (`dist/daemon/autostart/runner.js:1`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: rt { spawn } from "node:child_process"; export function makeFakeRunner(results) { const queue = [...results]; co

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/daemon/autostart/runner.js

high Shell/command execution in server code (dist/hooks/writeback.js)MTC-SRC-002

In the server's implementation (`dist/hooks/writeback.js:1`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: rt { spawn } from "node:child_process"; import { existsSync, readFileSync, writeFileSync } from "node:fs"; import { home

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/hooks/writeback.js

high Shell/command execution in server code (dist/install/index.js)MTC-SRC-002

In the server's implementation (`dist/install/index.js:1`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: spawnSync } from "node:child_process"; import { existsSync, mkdirSync, readFileSync, rmSync, writeFileSync } from "node

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/install/index.js

high Shell/command execution in server code (dist/server/open-browser.js)MTC-SRC-002

In the server's implementation (`dist/server/open-browser.js:1`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ort { exec } from "node:child_process"; export function resolveOpenCommand(url, platform = process.platform) { if (p

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/server/open-browser.js

high Shell/command execution in server code (dist/setup/assess-hardware.js)MTC-SRC-002

In the server's implementation (`dist/setup/assess-hardware.js:6`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: { execSync } from "node:child_process"; import { readdirSync, statSync } from "node:fs"; import { cpus, totalmem } from

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/setup/assess-hardware.js

high Shell/command execution in server code (dist/setup/detect-runtime.js)MTC-SRC-002

In the server's implementation (`dist/setup/detect-runtime.js:1`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ecFileSync } from "node:child_process"; function normalizeVersion(raw) { return String(raw).trim().split(/\r?\n/)[0]

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/setup/detect-runtime.js

high Shell/command execution in server code (dist/setup/doctor.js)MTC-SRC-002

In the server's implementation (`dist/setup/doctor.js:74`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: }, async exec(sql) { await pool.query(sql); }, }); } catch {

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/setup/doctor.js

medium Untrusted input concatenated into a command sink (dist/setup/init-wizard.js)MTC-SRC-009

In the server's implementation (`dist/setup/init-wizard.js:183`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: try { execSync(`ollama pull ${MODEL}`, { stdio: "inherit" }); write(output, ` [ok] ${

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/setup/init-wizard.js

medium Dynamic module load from a non-literal (web/dist/assets/index-Cru41MzT.js)MTC-SRC-005

In the server's implementation (`web/dist/assets/index-Cru41MzT.js:12`): Loading a module chosen at runtime (from a variable) can pull in and run attacker-influenced code paths. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ];try{let r=await S(()=>import(e.module),[]);return n[e.id]=r,r}catch(n){return console.error(`Error loading route modul

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server web/dist/assets/index-Cru41MzT.js

Tools 36

Each tool and what it can reach — statically extracted from the published source.

  • get_pageingests untrusted input
  • get_page_contextingests untrusted input
  • add_linkno sensitive capability
  • add_tagno sensitive capability
  • add_timeline_entryno sensitive capability
  • daily_reportno sensitive capability
  • explore_graphno sensitive capability
  • get_backlinksno sensitive capability
  • get_chunksno sensitive capability
  • get_entity_profileno sensitive capability
Show 26 more tools ↓
  • get_healthno sensitive capability
  • get_linksno sensitive capability
  • get_session_contextno sensitive capability
  • get_tagsno sensitive capability
  • get_timelineno sensitive capability
  • ingest_feishu_docno sensitive capability
  • link_person_aliasno sensitive capability
  • list_pagesno sensitive capability
  • list_person_handlesno sensitive capability
  • list_signals_by_entityno sensitive capability
  • manage_linksno sensitive capability
  • manage_tagsno sensitive capability
  • merge_personsno sensitive capability
  • prep_for_personno sensitive capability
  • put_pageno sensitive capability
  • queryno sensitive capability
  • recallno sensitive capability
  • recanonicalize_personno sensitive capability
  • remove_linkno sensitive capability
  • remove_person_aliasno sensitive capability
  • remove_tagno sensitive capability
  • searchno sensitive capability
  • synthesizeno sensitive capability
  • timeline_feedno sensitive capability
  • traverse_graphno sensitive capability
  • troubleshootno sensitive capability

What this scan could not see

Versions 2

Scan history per published version. The engine is deterministic — the same version always yields the same score, so a changed score means the package itself changed.

VersionScoreFindingsEngineScanned
v0.4.7 latest B 84/100 13 1.13.0 2026-09-07
v0.4.6 B 84/100 13 1.12.1 2026-07-28

Embed this score

Show this server's live Trust Score in your README, docs or website. The badge is served straight from the registry and updates automatically after every rescan — no API key needed. It links back to this page, so anyone who sees the grade can also read the findings behind it instead of taking a number on faith.

MCP Trust Score: B · 84/100
Markdown (GitHub README)
[![MCP Trust Score](https://mcptrustchecker.com/registry/memkin/badge.svg)](https://mcptrustchecker.com/registry/memkin)
HTML
<a href="https://mcptrustchecker.com/registry/memkin"><img src="https://mcptrustchecker.com/registry/memkin/badge.svg" alt="MCP Trust Score" height="20"></a>
Prefer shields.io styling? Point it at https://mcptrustchecker.com/registry/memkin/badge.json via https://img.shields.io/endpoint?url=…

Verify this score yourself

The score above is reproducible: the same package version always yields the same result. Run it locally or over the free API — no account, no LLM, fully deterministic.

npx mcptrustchecker scan memkin --online

Use the free API → How scoring works

More in AI, Memory & Reasoning