@beshkenadze/mcp-obsidian
npm
v1.2.0
Published by @beshkenadze — no publish provenance, so origin is unverified, but the source is public: the repository link below is self-declared yet readable, so you can inspect the code before adopting it.
MCP server for Obsidian API
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:
| Points | What was found | Category |
|---|---|---|
| −6.3 | Untrusted input concatenated into a command sink MTC-SRC-009 | injection |
2. Client adoption risk — 94 − 7 = 87. 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:
| Points | Adoption-risk factor |
|---|---|
| −6 | capability blast radius (high) — client exposure if the model is manipulated |
| −1 | publisher verification (public source) — no provenance, but the source is public and inspectable |
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.
Tools that read sensitive data ([obsidian_list_files]) and tools that can send data out ([obsidian_execute_command]) are exposed together. An agent can move private data to the sink.
Evidence: sources [obsidian_list_files] → sinks [obsidian_execute_command]
Fix: Keep secret-reading and egress capabilities on separate, separately-approved servers.
Location: flow obsidian_list_files → obsidian_execute_command
Tool "obsidian_execute_command" appears to run shell commands or evaluate code (keyword "execute command" in tool name). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.
Fix: Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.
Location: tool obsidian_execute_command
In the server's implementation (`dist/sse.js:436`): 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: hrow Error(); Function(` 'use strict' const o = new Proxy({}, { get: () => o, set: ()
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/sse.js
In the server's implementation (`dist/stdio.js:436`): 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: hrow Error(); Function(` 'use strict' const o = new Proxy({}, { get: () => o, set: ()
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/stdio.js
In the server's implementation (`dist/sse.js:4283`): 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: import { spawn } from "child_process"; // node_modules/zod/lib/index.mjs var util; (function(util2) { util2.assertEq
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/sse.js
In the server's implementation (`dist/stdio.js:4283`): 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: import { spawn } from "child_process"; // node_modules/zod/lib/index.mjs var util; (function(util2) { util2.assertEq
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/stdio.js
In the server's implementation (`src/bin/run-with-supergateway.ts: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: import { spawn } from "child_process"; import logger from "../lib/logger"; // Get the port from environment or use def
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 src/bin/run-with-supergateway.ts
In the server's implementation (`src/cmd/generate-types.ts:3`): 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: port { execSync } from "child_process"; import fs from "fs"; import path from "path"; // Ensure the output directory ex
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 src/cmd/generate-types.ts
In the server's implementation (`src/servers/mcp-sse-server.ts: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: import { spawn } from "child_process"; import type { McpServerConfig } from "../lib/common-server"; import { CommonMcpS
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 src/servers/mcp-sse-server.ts
In the server's implementation (`src/cmd/generate-types.ts:33`): 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: napi-typescript try { execSync(`bunx openapi-typescript ${inputPath} -o ${outputPath}`, { stdio: "inherit", });
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 src/cmd/generate-types.ts
Tool "obsidian_delete_file" can write, overwrite or delete files (keyword "delete_file" in tool name). Verify it is scoped to a safe directory.
Fix: Constrain file operations to an explicit, non-sensitive root; reject path traversal.
Location: tool obsidian_delete_file
Tool "obsidian_delete_file" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.
Fix: Declare accurate annotations, and gate destructive tools on user confirmation regardless.
Location: tool obsidian_delete_file
Tool "obsidian_execute_command" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.
Fix: Declare accurate annotations, and gate destructive tools on user confirmation regardless.
Location: tool obsidian_execute_command
Each tool and what it can reach — statically extracted from the published source.
obsidian_delete_filewrites filesobsidian_execute_commandruns code / shellobsidian_list_filesreads sensitive dataobsidian_advanced_searchno sensitive capabilityobsidian_append_to_active_fileno sensitive capabilityobsidian_append_to_fileno sensitive capabilityobsidian_append_to_periodic_noteno sensitive capabilityobsidian_create_or_update_fileno sensitive capabilityobsidian_delete_active_fileno sensitive capabilityobsidian_delete_periodic_noteno sensitive capabilityobsidian_get_active_fileno sensitive capabilityobsidian_get_fileno sensitive capabilityobsidian_get_periodic_noteno sensitive capabilityobsidian_get_statusno sensitive capabilityobsidian_list_commandsno sensitive capabilityobsidian_open_documentno sensitive capabilityobsidian_patch_active_fileno sensitive capabilityobsidian_patch_fileno sensitive capabilityobsidian_patch_periodic_noteno sensitive capabilityobsidian_searchno sensitive capabilityobsidian_update_active_fileno sensitive capabilityobsidian_update_periodic_noteno sensitive capabilitythread-streamno sensitive capabilityCross-tool combinations that form a data-exfiltration primitive (untrusted input → sensitive source → external sink).
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.
| Version | Score | Findings | Engine | Scanned |
|---|---|---|---|---|
v1.2.0 latest |
B 87/100 | 13 | 1.13.0 | 2026-09-07 |
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.
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 @beshkenadze/mcp-obsidian --online
Independent packages implementing the same tool, scanned with the same engine. Compare all 38 side by side →
A server for the Obsidian Model Context Protocol.
A Model Context Protocol (MCP) server for Obsidian vault management via SSE transport
Give Claude (and any MCP client) real agent access to your Obsidian vault — graph traversal, Dataview queries, daily-note awareness, and more.
MCP server for Obsidian vault semantic search
MCP server that lets AI assistants interact with Obsidian vaults.
MCP server for interacting with Obsidian knowledge bases through the Model Context Protocol
MCP AgentChat - 让 AI Agent 通过 Telegram 与用户实时交互:发送消息、图片,等待用户回复
A Model Context Protocol (MCP) server for Airthings Air Quality Monitor devices.
MCP server for Anki
TypeScript package for reading and searching Apple Notes on macOS via direct SQLite access. Includes markdown conversion, attachment support, and offers a local MCP server!
Verified biotech catalyst calendar (PDUFA/AdComm/trial readouts) anchored to official sources.
Appointment booking platform letting agents check provider availability and create bookings.