Skills/npm/desktop-commander

desktop-commander@0.3.1

VERIFIED· startup only

Publisher claims: "MCP server for terminal operations and file editing" Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry npm (MCP server)Publisher wonderwhy-er · publishing for 672 daysInstalls 2.7MLast detonated 4d ago
$claude mcp add desktop-commander -- npx -y @wonderwhy-er/desktop-commander
WatchReport an issue

Coverage

Startup only; authenticated tool behavior not tested.
Tested
second launch with the clock 45 days ahead · server startup over stdio (initialize sent) · every file read, file written and host contacted by what ran
Not tested
the tool list (the server exited before answering) · what the tools do when called with real credentials

What this means for the label: Verified here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.

Before you give it your token

It will ask for
no credential variables read in the code
Where it talks to
no vendor host named in the codeAlso tally.so, claude.ai, desktopcommander.app, run.app, openxmlformats.org — not the publisher's domain; check what for before connecting.
What the honeypot saw
no credential files read · no network
What we could not test
the tool list (the server exited before answering) · what the tools do when called with real credentials

Connect it under the guard. Startup only; authenticated tool behavior not tested. The code names no credential variable; the guard pins the network to what the honeypot saw and logs every call.

$vet-skills run --net declared -- npx -y @wonderwhy-er/desktop-commander

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (3 scenarios; startup only; authenticated tool behavior not tested) on 2026-11-08 and scored it 80/100 (Verified). In what ran, nothing we could detect went wrong: no undeclared network egress, no credential reads, no persistent instruction writes. What it does with a real credential was not observed; the static findings and the publisher carry the rest of the score. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 52 s · 3 scenarios · 0 deviations
t+CategoryObserved action
30sprocessdependency install exit 0
50sclaimedstartup only: exited (0) before answering · code: 'ERR_MODULE_NOT_FOUND', url: 'file:///tmp/ks-detonate-UcMQcR/task/home/work/acme-api/.claude/skills/desktop-commander/dist/utils/feature-flags.js' } Node.js v22.23.4
50sprocessscript backend runs setup only
50sprocesssecond launch, clock +45 days, CI unset

Static findings

LOW
Collapsed <details> block carrying instructionsREADME.md:144 · Collapsed <details> block carrying instructions · informational: not an instruction file<summary><b>Option 4: Add to claude_desktop_config manually ⭐ Auto-Updates (Requires Node.js)</b></summary> Add this entry to your claude_desktop_config.json: -Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
LOW
Collapsed <details> block carrying instructionsREADME.md:174 · Collapsed <details> block carrying instructions · informational: not an instruction file<summary><b>Option 5: Checkout locally ❌ Manual Updates (Requires Node.js)</b></summary> ```bash git clone https://github.com/wonderwhy-er/DesktopCommanderMCP.gFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
LOW
Collapsed <details> block carrying instructionsREADME.md:91 · Collapsed <details> block carrying instructions · informational: not an instruction file<summary><b>Option 1: Install through npx ⭐ Auto-Updates (Requires Node.js)</b></summary> Just run this in terminal: ``` npx @wonderwhy-er/desktop-commander@latFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
LOW
Collapsed <details> block carrying instructionsREADME.md:116 · Collapsed <details> block carrying instructions · informational: not an instruction file<summary><b>Option 2: Using bash script installer (macOS) ⭐ Auto-Updates (Installs Node.js if needed)</b></summary> ``` curl -fsSL https://raw.githubusercontentFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
HIGH
Privileged sudo commanddist/command-manager.js:205 · Privileged sudo command — agent may execute with elevated privileges// strip path prefix so /usr/bin/sudo gets caught as "sudo"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commanddist/terminal-manager.js:147 · Process kill command — agent can terminate processes// on Windows — used to kill the entire MCP server one tick AFTER thisFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathsdist/server.js:553 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files- Looking for configuration/setup files: ".env", "dockerfile", "tsconfig.json"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Process kill commanddist/terminal-manager.js:236 · Process kill command — agent can terminate processes// has exited: Node also emits 'error' when a kill fails or a message can'tFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commanddist/terminal-manager.js:435 · Process kill command — agent can terminate processes// can never throw "Invalid string length" and kill the server.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commanddist/tools/process.js:86 · Process kill command — agent can terminate processescontent: [{ type: "text", text: `Error: Failed to kill process: ${error instanceof Error ? error.message : String(error)}` }],Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
LOW
Collapsed <details> block carrying instructionsREADME.md:213 · Collapsed <details> block carrying instructions · informational: not an instruction file<summary>Manual Docker Configuration</summary> **Basic setup (no file access):** ```json { "mcpServers": { "desktop-commander-in-docker": { "command": "docker",Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
MEDIUM
File permission modification commandpackage.json:39 · File permission modification command — agent changes file ownership/permissions…-claude-server.js uninstall-claude-server.js track-installation.js dist/ && shx chmod +x dist/*.js && shx mkdir -p dist/data && shx cp src/data/onboarding-prompts.jso…Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
npx invocation of non-well-known packagedist/npm-scripts/remote.js:39 · npx invocation of non-well-known package — may execute untrusted codenpx @wonderwhy-er/desktop-commander@latest remoteFix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
npx invocation of non-well-known packagedist/npm-scripts/remote.js:41 · npx invocation of non-well-known package — may execute untrusted codenpx @wonderwhy-er/desktop-commander@latest remote --logoutFix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
File permission modification commanddist/tools/filesystem.js:83 · File permission modification command — agent changes file ownership/permissions` 4. File has restricted permissions (e.g. system file, locked by another process, or chmod 000).`,Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
npx invocation of non-well-known packagedist/npm-scripts/remote.js:40 · npx invocation of non-well-known package — may execute untrusted codenpx @wonderwhy-er/desktop-commander@latest remote --debugFix: Pin versions and sources; vendor anything fetched at install time.
AST06
LOW
Image alt text carrying instructionsREADME.md:1082 · Image alt text carrying instructions · informational: not an instruction fileGreat! I just used Windsurf, bought license a week ago, for upgrading old fullstack socket project and it works many times good or ok but also many times runs aFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
MEDIUM
Process kill commanddist/tools/schemas.js:44 · Process kill command — agent can terminate processes// process.kill reads 0 and negative PIDs as process groups: 0 is the server'sFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
npx invocation of non-well-known packagedist/npm-scripts/remote.js:42 · npx invocation of non-well-known package — may execute untrusted codenpx @wonderwhy-er/desktop-commander@latest remote --reportFix: Pin versions and sources; vendor anything fetched at install time.
AST06
LOW
Image alt text carrying instructionsREADME.md:1074 · Image alt text carrying instructions · informational: not an instruction fileIt's a life saver! I paid Claude + Cursor currently which I always feel it's kind of duplicated. This solves the problem ultimately. I am so happy. Thanks so muFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01

Cost to the agent

Instructions loaded
≈55 tok
1 file · 81 in bundle
Tool list per prompt
≈0 tok
0 tools · 0 per tool
Handshake
no reply
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 0

Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.

Known vulnerabilities

No advisories in OSV for @wonderwhy-er/desktop-commander@0.3.1 as of 7d ago. This is the package itself, not its dependencies.

desktop-commander@0.3.1 safety verdict: Verified (startup only) — KillerSkills