MCP ScannerCustom audit
All servers

wonderwhy-er/DesktopCommanderMCP

This is MCP server for Claude that gives it terminal control, file system search and diff file editing capabilities

Package@wonderwhy-er/desktop-commander
Version0.3.4 in package.json
Publisherwonderwhy-er community
MCP Registryio.github.wonderwhy-er/desktop-commander
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 10,319Forks 1,289Last push 2026-11-12
JavaScript 73.3%TypeScript 26.7%by source files the scanner reads
Code safetypartly tracedExposure9.2Promptsnot analysedSupply chain3.2Secretsnot analysedTransparencynot analysed
Analysis confidence85%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposure9.2/10Good

How much power the tools give an agent over the machine

Prompt Integritynot analysed—

Hidden instructions and poisoning in text for the model

Supply Chain3.2/10Poor

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnot analysed—

How the server reads credentials and where they can go

Behavior Transparencynot analysed—

Whether the tools do only what their descriptions say

How far the analysis went

Prompt Integrity, Secrets & Credentials and Behavior Transparency are not analysed and have no number.

The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.

  • Prompt Integrity and Secrets & Credentials: no tool description could be read from the code
  • Behavior Transparency: no tool description could be read to compare with the code
  • Some paths pass through more than 8 functions one inside another; the scanner stops there
  • In 327 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
  • 1 of 3 tools, prompts and resources could not be followed through the code
  • 3 places in the code register tools whose names are computed at run time; how many tools that makes cannot be read from the code

Top risks in plain words

  • HIGHTool with a name computed at run time reads or writes any file path by design: an agent steered by prompt injection can use it that way.
  • HIGH11 production dependencies have known vulnerabilities (worst: high).

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Give it only the folder it needs

    src/server.ts:1179 can read or write any file path. Mount a single project folder, read-only where you can.

  • Turn off the tools you do not use

    Most MCP clients let you disable single tools. If you do not need src/server.ts:1179, switch them off.

  • Update its vulnerable packages

    Use @hono/node-server 2.1.6 or later, body-parser 2.4.0 or later, fast-uri 3.1.9 or later, glob 14.0.2 or later and 7 more.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 1 resource, 1 prompt, 1 tool. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

None of the tools reaches any of these in the code the scanner could trace.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

Text it brings in from outside

No tool was seen returning text from outside the server to the model.

Tool annotations

No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.

Tools, prompts and resources (3: 1 resource, 1 prompt, 1 tool)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

(name computed at run time)prompt
No description.
(name computed at run time)resource
No description.
(name computed at run time)tool
No description.

Text the model reads (3)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

(name computed at run time) tool
(name computed at run time) prompt
(name computed at run time) resource

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposure9.2
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 2 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 2 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path
    4 findings the scanner could not decide; see the findings below
  • Requests any address
    No tool sends a request to an address the caller supplies — 2 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 2 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 3 capabilities; 2 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    Not seen in the traced code of 3 capabilities; 2 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    Not seen in the traced code of 3 capabilities; 2 more call code the scanner could not follow, where it may happen
Where the code is: 3 handlers in 1 file at commit 9a101b17e445
Prompt Integritynot analysed
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Not checked: no tool description could be read from the code
Supply Chain3.2
  • Dependency manifests
    1 manifest: package.json
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database
  • Known vulnerabilities in production dependencies HIGH
    11 production packages with known advisories
  • Known vulnerabilities in other dependencies
    20 packages with advisories used only for development, tests or examples; an install of the server leaves them out
  • MCP SDK version
    @modelcontextprotocol/ext-apps ^1.0.1 (dev), @modelcontextprotocol/sdk ^1.32.1
Secrets & Credentialsnot analysed
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Not checked: no tool description could be read from the code
  • Tools that read credentials
    Not seen in the traced code of 3 capabilities; 2 more call code the scanner could not follow, where it may happen
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparencynot analysed
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Not checked: no tool description could be read to compare with the code
  • Tool descriptions present
    Every tool has a description the model and the user can read (2 only in code no tool reaches)
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (11 in production)

PackageInstalledWorstAdvisoriesFixed in
node-forgenpm 1.4.0 HIGH 21 advisories 1.4.11.4.3
  • HIGHGHSA-rhr8-3pm8-cq29 CVE-2026-119191Forge: ASN.1 resource exhaustion via BIT STRING decoding in asn1.fromDer
  • HIGHGHSA-8hrf-8g6f-7xwp CVE-2026-119188Forge: Denial of service in TLS record processing via a record interleaved with a fragmented handshake message
  • HIGHGHSA-5x38-2vff-x55p CVE-2026-119190Forge: X.509 basicConstraints bypass in verifyCertificateChain() via deprecated extension OIDs 2.5.29.10 and 2.5.29.13
  • HIGHGHSA-6qrw-m8cv-hcxf CVE-2026-119192Forge: RSA PKCS#1 v1.5 signature forgery via non-canonical DigestInfo encoding
  • HIGHGHSA-7wch-p9px-956x CVE-2026-118779Forge: Regular expression denial of service in PEM decoding (pem.decode)
  • HIGHGHSA-hqq3-7jhf-c5jx CVE-2026-119187Forge: Denial of service in TLS record processing via call stack exhaustion
  • HIGHGHSA-jc66-7q78-782g CVE-2026-118782Forge: PKCS#12 MAC forgery and constant-key PBE via zero iteration count
  • HIGHGHSA-86w9-cpqp-85rv CVE-2026-85393node-forge RSA PKCS#1 v1.5 signature verification accepts extra nested DigestAlgorithm elements
  • MEDIUMGHSA-h46v-rmh6-fq4f CVE-2026-119189Forge: X.509 pathLenConstraint not enforced by verifyCertificateChain() for CA certificates without keyUsage
  • MEDIUMGHSA-5cwg-6vw7-rj6p CVE-2026-119186Forge: AES-GCM authentication bypass via unvalidated tagLength option
  • MEDIUMGHSA-6wvx-3r32-xmcg CVE-2026-118777Forge: Prototype Pollution in forge.http cookie handling via a malicious Set-Cookie
  • MEDIUMGHSA-w4xr-hqv8-ch44 CVE-2026-125332Forge: TLS client crash on an unsupported ServerHello compression method
  • MEDIUMGHSA-525v-9gp9-w22h CVE-2026-118778Forge: TLS client crash when the server sends no certificate
  • MEDIUMGHSA-j8rw-jp99-435v CVE-2026-125334Forge: TLS client crash on a handshake record received without a session
  • MEDIUMGHSA-6cv4-p8m7-4r25 CVE-2026-125333Forge: ReDoS in forge.http response header and cookie trimming
  • LOWGHSA-6889-vf6x-f3g5 CVE-2026-125335Forge: Ed25519 signature verification accepts small-order public keys
  • LOWGHSA-4642-5mcj-2rqw CVE-2026-118775Forge: ASN.1 OID first arc truncation in asn1.oidToDer
  • LOWGHSA-9wg5-mj3p-v49q CVE-2026-118774Forge: Certificate signature verified with the issuer's RSA signature scheme
  • LOWGHSA-h6cr-wjv9-3cpp CVE-2026-118781Forge: Denial of Service via infinite loop in BigInteger.modInverse() with negative input (incomplete fix of CVE-2026-33891)
  • LOWGHSA-2vgq-wchc-25w7 CVE-2026-118776Forge: Incomplete PKCS#7 padding validation in AES/DES CBC and ECB decryption
  • LOWGHSA-4487-j8r4-4g2f CVE-2026-118780Forge: verifyCertificateChain() removes trusted CA certificates with the same subject from the CA store
markdown-itnpm 14.3.2 HIGH 2 advisories 14.3.315.0.3
  • HIGHGHSA-gfr2-rv44-r23c CVE-2026-111758markdown-it: Quadratic-time rendering of a single multi-line link reference definition with default options (regression since 14.0)
  • LOWGHSA-vfgh-jcmw-g37q CVE-2026-111766markdown-it: Quadratic-time denial of service in inline HTML parsing with html enabled
body-parsernpm 2.3.0 HIGH 1 advisory 1.20.92.4.0
  • HIGHGHSA-27r3-jxmh-p828 CVE-2026-111181body-parser vulnerable to Denial of Service via trailing bytes after a compressed request body
zodnpm 3.25.76 HIGH 1 advisory 4.6.6
  • HIGHGHSA-mrhx-c7xc-m3w5 CVE-2023-54404Zod can exhaust memory while validating oversized constrained collections
hononpm 4.13.13 MEDIUM 5 advisories 4.13.16
  • MEDIUMGHSA-4m76-xfj5-7975 CVE-2026-126357Hono: `mount()` and `app.mount()` can forward a path that bypasses middleware scoped inside the mount prefix
  • MEDIUMGHSA-4h7h-rv7c-7m2v CVE-2026-126356Hono: `validator('form')` skips validation for `multipart/form-data` requests with extra parameters
  • MEDIUMGHSA-h7mg-cq63-vhpq CVE-2026-126358Hono: RegExpRouter skips wildcard middleware for some route sets and for paths with an encoded line terminator
  • MEDIUMGHSA-46wx-v44x-9hh2 CVE-2026-126355Hono: `csrf()` does not check requests sent by hyperlink auditing (`text/ping`)
  • LOWGHSA-3gg2-335m-rxc6 CVE-2026-126359Hono: `css` helper does not escape a closing tag split between the template and an interpolated value, allowing HTML injection
fast-urinpm 3.1.8 MEDIUM 4 advisories 2.4.83.1.94.2.3
  • MEDIUMGHSA-w74x-v6f9-j3xg CVE-2026-110306fast-uri vulnerable to URI scheme spoofing via percent-encoded scheme decoding
  • MEDIUMGHSA-wjr9-j795-jxcr CVE-2026-110180fast-uri vulnerable to host confusion via unchecked WHATWG host canonicalization
  • LOWGHSA-333x-w4r6-6crp CVE-2026-110725fast-uri vulnerable to scheme injection via an unescaped first-segment colon in suffix references
  • LOWGHSA-xhq7-xmqj-769h CVE-2026-110095fast-uri vulnerable to improper path equivalence in relative reference normalization
@hono/node-servernpm 2.1.3 MEDIUM 2 advisories 1.19.182.1.6
  • MEDIUMGHSA-qv5m-9pm6-hqp3 CVE-2026-126343@hono/node-server: Unhandled `ECONNRESET` on the socket during an asynchronous WebSocket upgrade crashes the process
  • MEDIUMGHSA-jpvv-r467-5p4w CVE-2026-126210@hono/node-server: Backslash in the request path is parsed as a path separator, bypassing path-based access control at a reverse proxy
globnpm 10.5.0 MEDIUM 1 advisory 14.0.2
  • MEDIUMGHSA-3g3m-2fjr-6pw4 CVE-2026-118773Glob: AbortSignal cancellation bypass allows post-timeout filesystem traversal
ip-addressnpm 10.7.3 MEDIUM 1 advisory 10.7.4
  • MEDIUMGHSA-rxp7-6hxx-x8q5 CVE-2026-111997ip-address: Address6 matches a zone identifier in quadratic time ahead of its length limit, allowing a single long string to stall the process
minimatchnpm 9.0.9 MEDIUM 1 advisory 11.0.1
  • MEDIUMGHSA-g3hv-75wg-m249 CVE-2026-118764minimatch has potential denial of service via globparts amplification
qsnpm 6.16.0 MEDIUM 1 advisory 6.16.1
  • MEDIUMGHSA-6pq8-jhm2-2vcw CVE-2026-110816qs : qs.stringify with arrayFormat 'comma' throws an uncaught TypeError on array elements carrying a non-callable own toString (DoS)
20 vulnerable packages outside the server itself (used only for development, tests or examples, not shipped)
PackageInstalledWorstAdvisoriesFixed in
decompressnpm 4.2.1 CRITICAL 4 advisories no fix yet
  • CRITICALGHSA-mp2f-45pm-3cg9 CVE-2026-53486Decompress: Archive extraction can create files and links outside of the target directory
  • CRITICALGHSA-hrh2-vp3x-79xf CVE-2026-101894@xhmikosr/decompress: Path traversal via symlink chain
  • MEDIUMGHSA-jwp9-9v96-94mx CVE-2026-39243decompress allows arbitrary hardlink creation during archive extraction
  • MEDIUMGHSA-h39j-r5qq-r9mm CVE-2026-10732decompress: Arbitrary File Write via Archive Extraction (Zip Slip)
brace-expansionnpm 1.1.12 HIGH 7 advisories 1.1.131.1.161.1.17+24 more
  • HIGHGHSA-rgw5-rvv9-x895 CVE-2026-69152brace-expansion: DoS via unbounded intermediate arrays, bypassing the CVE-2026-14257 mitigation
  • HIGHGHSA-3jxr-9vmj-r5cp CVE-2026-13149brace-expansion: DoS via exponential-time expansion of consecutive non-expanding {} groups
  • HIGHGHSA-mh99-v99m-4gvg CVE-2026-14257brace-expansion: DoS via unbounded expansion length causing an out-of-memory process crash
  • HIGHGHSA-6j4f-fj2g-mc7p CVE-2026-102276brace-expansion: DoS via uncontrolled recursion in parseCommaParts causing stack exhaustion
  • HIGHGHSA-qhr7-859c-m2p7 CVE-2026-102278brace-expansion: DoS via uncontrolled recursion on nested brace groups causing stack exhaustion
  • MEDIUMGHSA-q2hr-2g5m-vwhr CVE-2026-102277brace-expansion: Quadratic-time expansion of the `{a},b}` rewrite causes CPU denial of service
  • MEDIUMGHSA-f886-m6hf-6m8v CVE-2026-33750brace-expansion: Zero-step sequence causes process hang and memory exhaustion
minimatchnpm 3.1.2 HIGH 3 advisories 3.1.33.1.44.2.4+13 more
  • HIGHGHSA-7r86-cg39-jmmj CVE-2026-27903minimatch has ReDoS: matchOne() combinatorial backtracking via multiple non-adjacent GLOBSTAR segments
  • HIGHGHSA-23c5-xmqv-rm74 CVE-2026-27904minimatch ReDoS: nested *() extglobs generate catastrophically backtracking regular expressions
  • HIGHGHSA-3ppc-4f35-3m26 CVE-2026-26996minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern
serialize-javascriptnpm 6.0.2 HIGH 3 advisories 7.0.37.0.57.1.3
  • HIGHGHSA-5c6j-r48x-rmvqSerialize JavaScript is Vulnerable to RCE via RegExp.flags and Date.prototype.toISOString()
  • MEDIUMGHSA-qj8w-gfj5-8c6v CVE-2026-34043Serialize JavaScript has CPU Exhaustion Denial of Service via crafted array-like objects
  • LOWGHSA-m5mm-p8h7-m29v CVE-2026-115754 CVE-2026-115897Serialize JavaScript: Cross-site scripting (XSS) via unescaped </script at the end of a serialized function body
browserslistnpm 4.28.1 HIGH 2 advisories 4.28.7
  • HIGHGHSA-c83g-rgw3-j3cx CVE-2026-73089Browserslist: Unbounded memory growth (no cache eviction) via distinct query results, leading to eventual OOM
  • HIGHGHSA-73wf-gq98-2v4g CVE-2026-73088Browserslist: Uncaught crash / prototype write via untrusted browserslist-stats.json custom stats (normalizeStats)
decode-uri-componentnpm 0.2.2 HIGH 2 advisories 0.5.00.5.1
  • HIGHGHSA-qr28-fpjm-wq7f CVE-2026-118664decode-uri-component vulnerable to denial of service via quadratic replacement of percent-encoded runs
  • MEDIUMGHSA-vcc3-ghjq-m6fr CVE-2026-45822decode-uri-component: Denial of service via exponential decoding of malformed percent-encoded input
lodashnpm 4.17.21 HIGH 2 advisories 4.17.234.18.0
  • HIGHGHSA-r5fr-rjxr-66jc CVE-2026-4800lodash vulnerable to Code Injection via `_.template` imports key names
  • MEDIUMGHSA-xxjr-mmjv-4gpg CVE-2025-13465Lodash has Prototype Pollution Vulnerability in `_.unset`, `_.omit`, and `_.pullAt` functions
tmpnpm 0.0.33 HIGH 2 advisories 0.2.40.2.6
  • HIGHGHSA-ph9p-34f9-6g65 CVE-2026-44705tmp has Path Traversal via unsanitized prefix/postfix that enables directory escape
  • LOWGHSA-52f5-9888-hmc6 CVE-2025-54798tmp allows arbitrary temporary file / directory write via symbolic link `dir` parameter
aedesnpm 0.51.3 HIGH 1 advisory 1.1.1
  • HIGHGHSA-xxqp-5qx8-gj5q CVE-2026-63341Aedes has Uncaught Exception and Uncontrolled Resource Consumption
form-datanpm 4.0.5 HIGH 1 advisory 2.5.63.0.54.0.6
  • HIGHGHSA-hmw2-7cc7-3qxx CVE-2026-12143form-data: CRLF injection in form-data via unescaped multipart field names and filenames
http-cache-semanticsnpm 3.8.1 HIGH 1 advisory 4.1.1
  • HIGHGHSA-rc47-6667-2j5j CVE-2022-25881http-cache-semantics vulnerable to Regular Expression Denial of Service
source-map-jsnpm 1.2.1 HIGH 1 advisory 1.2.2
  • HIGHGHSA-68fv-2mgg-jv7q CVE-2026-93749source-map-js allows event-loop denial of service through indexed source-map section offsets
baseline-browser-mappingnpm 2.9.11 MEDIUM 1 advisory 2.11.0
  • MEDIUMGHSA-w5vr-8v7q-w6rv CVE-2026-45819baseline-browser-mapping process termination on invalid input causes denial of service
fflatenpm 0.8.2 MEDIUM 1 advisory 0.4.90.5.40.6.11+2 more
  • MEDIUMGHSA-px8p-9vwx-vf98 CVE-2026-45820fflate unzipSync can enter an infinite loop when parsing malformed ZIP64 archives
globnpm 13.0.6 MEDIUM 1 advisory 14.0.2
  • MEDIUMGHSA-3g3m-2fjr-6pw4 CVE-2026-118773Glob: AbortSignal cancellation bypass allows post-timeout filesystem traversal
gotnpm 8.3.2 MEDIUM 1 advisory 11.8.512.1.0
minimatchnpm 10.2.6 MEDIUM 1 advisory 11.0.1
  • MEDIUMGHSA-g3hv-75wg-m249 CVE-2026-118764minimatch has potential denial of service via globparts amplification
uuidnpm 8.3.2 MEDIUM 1 advisory 11.1.112.0.113.0.1
  • MEDIUMGHSA-w5hq-g745-h8pq CVE-2026-41907 CVE-2026-41988uuid: Missing buffer bounds check in v3/v5/v6 when buf is provided
uuidnpm 10.0.0 MEDIUM 1 advisory 11.1.112.0.113.0.1
  • MEDIUMGHSA-w5hq-g745-h8pq CVE-2026-41907 CVE-2026-41988uuid: Missing buffer bounds check in v3/v5/v6 when buf is provided
diffnpm 4.0.2 LOW 1 advisory 3.5.14.0.45.2.2+1 more
  • LOWGHSA-73rr-hh4g-fpgx CVE-2026-24001jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
Transportnot stated in the code the scanner read; most local servers talk over stdio
Sign-innot checked needs the live server
MCP SDK@modelcontextprotocol/ext-apps ^1.0.1 (dev), @modelcontextprotocol/sdk ^1.32.1
Servers in the code1 (desktop-commander)

The project's own security

Security policyyes SECURITY.md
Private reportingthe policy does not name a private channel
Past advisoriesnone in the GitHub Advisory Database
Last push2026-11-12
Signed releasesnot checked yet

Where it is published

Other npm packages
2 packages by other publishers point to this repository

Not published by the repository's owner; check who publishes a package before you install it.

MCP Registryio.github.wonderwhy-er/desktop-commander
Listed in9 catalogs (anthropic_plugin_directory, awesome_punkpeye, awesome_rohitg00, awesome_tensorblock, docker_catalog, github_search, glama, mcp_registry, npm)
LicenseMIT
Created2024-12-04
Topicsagent ai code-analysis code-generation gemini-cli-extension mcp terminal-ai terminal-automation vibe-coding

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.