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

MCP server · Audited from source

Desktop Commander MCP

by wonderwhy-er/DesktopCommanderMCPMIT licenceAudited 12 Oct 2026 · source 1bae3949bca1

npm @desktop-commander/telemetry-contract 0.1.1stdio★ 10,003
✕BLOCKGrade F · 53/100 · 12 Oct 2026 · 1bae394

Is it safe? No — BLOCK, grade F (53/100). It exposes 11 tools: 6 read, 3 write and 2 destructive. The audit recorded 33 findings (0 critical, 6 high, 3 medium, 14 low). Maintainer's description: This is MCP server for Claude that gives it terminal control, file system search and diff file editing capabilities

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Desktop Commander MCP (wonderwhy-er/DesktopCommanderMCP)”. Retrieved 12 Oct 2026. https://modelsatlas.com/mcp/wonderwhy-er/desktopcommandermcp

Why this is BLOCK. The audit found 0 critical and 6 high findings; the most severe is Inventory / provenance at src/ui/file-preview/src/payload-utils.ts. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

Trust audit

Audit 0.4.1 · full source read 12 Oct 2026

Trust score53/100✕BLOCK F
0 critical6 high3 medium14 low10 info

33 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

  • FilesystemDeclared16 observations
  • NetworkDeclared5 observations
  • ShellDeclared10 observations
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

Findings (33)

Sorted by severity · the 25 most severe of 33 are listed

HIGHInventory / provenanceinv.suspicious_name · src/ui/file-preview/src/payload-utils.ts
F-13 Inventory / provenanceCWE-1104Layer L0
payload-utils.ts
Why
member named after an attack tool
Fix
remove or justify
HIGHCode injectioncode.eval_exec · scripts/publish-release.cjs:70
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
return exec(command, { silent: true, ...options });
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · scripts/publish-release.cjs:291
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(command);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · scripts/publish-release.cjs:329
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(`git tag -f ${tag}`);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · scripts/publish-release.cjs:330
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(`git push -f origin ${tag}`);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · scripts/publish-release.cjs:413
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(options.skipTests ? 'npm run build' : 'npm test');
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
MEDIUMInformation disclosuredisclose.log_secret · scripts/count-tokens.js:104
F-12 Information disclosureCWE-209 · CWE-532Layer L1
console.log(`${colors.cyan}🔢 Desktop Commander MCP — Token Counter${colors.reset}`);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMObfuscation / stealthobf.zero_width · src/remote-device/diagnostics/device-log.ts:86
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
const LEADING = /^(?:\s|\[DEBUG\]|[-–•→✓✗]|\p{Extended_Pictographic}|️|)+/u;
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
force_terminate, kill_process
Why
2 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.hidden_file · .codespellrc
F-13 Inventory / provenanceCWE-1104Layer L0
.codespellrc
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInformation disclosuredisclose.log_secret · test/test-remote-token-rotation-persisted.js:285
F-12 Information disclosureCWE-209 · CWE-532Layer L1
console.log(`\n${failures ? '🔴' : '✅'} remote token rotation persistence: ${failures} failing test(s).`);
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/remote-device/desktop-commander-integration.ts:260
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const devPath = path.resolve(__dirname, '../../dist/index.js');
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/remote-device/diagnostics/device-log.ts:5
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { VERSION } from '../../version.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/remote-device/diagnostics/report.ts:11
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { parseConfig } from '../../config-manager.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/remote-device/diagnostics/report.ts:12
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { VERSION } from '../../version.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/remote-device/scripts/blocking-offline-update.js:27
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const { exitProcess, EXIT_GRACE_MS } = await import('../../utils/exit-process.js')
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · plugins/claude/skills/ai-tools-setup/references/openclaw.md:26
F-04 Network egressCWE-200 · CWE-319Layer L1
The Control UI default is `http://127.0.0.1:18789/`. (Some versions/setups use a
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · plugins/cursor/skills/ai-tools-setup/references/openclaw.md:26
F-04 Network egressCWE-200 · CWE-319Layer L1
The Control UI default is `http://127.0.0.1:18789/`. (Some versions/setups use a
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · skills/ai-tools-setup/references/openclaw.md:26
F-04 Network egressCWE-200 · CWE-319Layer L1
The Control UI default is `http://127.0.0.1:18789/`. (Some versions/setups use a
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · test/helpers/remote-stand-in.js:366
F-04 Network egressCWE-200 · CWE-319Layer L1
standIn.url = `http://127.0.0.1:${server.address().port}`;
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · test/helpers/test-env.js:27
F-04 Network egressCWE-200 · CWE-319Layer L1
DC_FLAG_URL: process.env.DC_FLAG_URL ?? 'http://127.0.0.1:9/',
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.base64_blob · test/large_test_file.txt:1
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, @opendocsg/pdf2md, @supabase/supabase-js, @tiptap/core, @tiptap/extension-image, @tiptap/extension-table, @tiptap/extension-table-cell, @tiptap/extension-table-header
Why
49 dependency range(s) float
Fix
pin exact versions or ship a lockfile
INFOInventory / provenanceinv.oversize · 1080_60.mp4
F-13 Inventory / provenanceCWE-1104Layer L0
1080_60.mp4
Why
52231190 bytes not read
Fix
—
INFOPrompt injectionprompt.authority_framing · plugins/claude/skills/terminal/SKILL.md:39
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- `allowedDirectories` — `[]` means full access; otherwise commands/paths are
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

11 declared in source · 2 destructive

6 read3 write2 destructive

2 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolWhat it doesRisk
force_terminateForce terminate a running terminal session. ${CMD_PREFIX_DESCRIPTION}destructive
kill_processTerminate a running process by PID. Use with caution as this will forcefully terminate the specified process. ${CMD_PREFIX_DESCRIPTION}destructive
stop_searchStop an active search. Stops the background search process gracefully. Use this when youwrite
write_fileWrite or append to file contents. IMPORTANT: DO NOT use this tool to create PDF files. Usewrite
write_pdfCreate a new PDF file or modify an existing one. THIS IS THE ONLY TOOL FOR CREATING AND MODIFYING PDF FILES. RULES ABOUT FILENAMES: - When creating a new PDF,write
get_more_search_resultsGet more results from an active search with offset-based pagination. Supports partial result reading with: -read
get_usage_statsGet usage statistics for debugging and analysis. Returns summary of tool usage, success/failure rates, and performance metrics. ${CMD_PREFIX_DESCRIPTION}read
list_directoryGet a detailed listing of all files and directories in a specified path. Use this instead ofread
list_processesList all running processes. Returns process information including PID, command name, CPU usage, and memory usage. ${CMD_PREFIX_DESCRIPTION}read
read_multiple_filesRead the contents of multiple files simultaneously. Each fileread
read_process_outputRead output from a running process with file-like pagination support. Supports partial output reading with offset and length parameters (like read_file): -read

Audit history

  1. ✕BLOCK F 53 / 100

    First audit · 1bae3949bca1

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK FMODELSATLASBLOCK · F

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about Desktop Commander MCP

What is the Desktop Commander MCP MCP server?
This is MCP server for Claude that gives it terminal control, file system search and diff file editing capabilities
What tools does Desktop Commander MCP expose?
11 in total: 6 read-only, 3 that write, and 2 that can delete or overwrite (force_terminate, kill_process). Every one is listed on this page with its risk.
Is Desktop Commander MCP safe to connect to an agent?
No — not without reading the findings first. The audit graded it F (53/100) and found 6 critical or high issues in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 2 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Desktop Commander MCP need?
No credential environment variables were found in its source, so it appears to need none.
How does Desktop Commander MCP run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as @desktop-commander/telemetry-contract at 0.1.1.
How current is this page?
The grade is for one exact copy of the source (1bae3949bca1), read on 2026-10-12. The repository is watched and re-audited when it changes.
I already installed Desktop Commander MCP. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

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.