← MCP server and skill grades

open-computer-use

QwenLM/open-computer-use

C
Type
MCP server
Scanned
Nov 17, 2026
Version
9b38187273f7
Files read
892

Open Computer Use lets AI agents view your screen, control your mouse and keyboard, automate web browsers, and run persistent code on your computer. A tricked AI agent can run arbitrary commands, alter your files, or use your signed-in browser accounts, while software flaws leave hidden tools callable and expose your browser and Windows Administrator privileges to other local programs.

What it can reach

System
Takes screenshots of your screen and open windows, reads window contents, moves and clicks the mouse, types keystrokes, opens or closes apps, and reads or changes your clipboard.
Browser
Controls open browser tabs, including signed-in profiles, to read page content, cookies, and browsing history, run scripts on websites, and upload or download files.
Shell commands
Runs unrestricted JavaScript code and system commands with your full user permissions, launches programs, and runs helper scripts or installers.
Files
Reads, edits, or deletes any file your user account can access, uploads local files to websites, and saves screenshots, recordings, settings, and helper apps to your computer.
Network
Makes unrestricted internet connections from running code, contacts GitHub for updates and downloads, opens local ports for browser and relay communication, and sends optional usage data if enabled.
Secrets
Reads API keys and tokens from environment variables, as well as passwords, cookies, or sensitive information visible on your screen, clipboard, or browser tabs.

Findings

1 high8 medium17 low
  1. HighHidden advanced tools remain callable over MCP without CUA_DRIVER_EXTRA_TOOLS=1

    packages/cua-driver/rust/crates/cua-driver-core/src/tool.rs:236

    The documentation states that the default MCP server exposes only 20 Computer Use tools and that advanced tools require setting CUA_DRIVER_EXTRA_TOOLS=1. However, CUA_DRIVER_EXTRA_TOOLS only filters the tools/list response. On the default direct MCP path on Windows and Linux (as well as macOS mcp --direct and HTTP MCP), tools/call dispatches through SdkAdapter::invoke_raw and ToolRegistry::invoke_authorized straight to all registered tools without checking that flag. If an AI agent is tricked by prompt injection, it can invoke unadvertised tools in standard mode with no user prompt—including install_ffmpeg (with confirm: true to run system package managers), browser_set_input_files (to upload arbitrary local files), browser_download, start_recording, and get_desktop_state with screenshot_out_file (to write files to arbitrary local paths).

    Fix: Enforce the CUA_DRIVER_EXTRA_TOOLS gate inside ToolRegistry::invoke_authorized and SdkAdapter::invoke_raw so non-Computer-Use tools and raw native tool schemas are rejected at dispatch time unless CUA_DRIVER_EXTRA_TOOLS=1 is enabled.

  2. MediumChrome extension automatically grants unauthenticated localhost port 4170 full browser debugger access

    packages/chrome-extension/src/background/service-worker.ts:127

    On startup and every 30 seconds via a background alarm, the Chrome extension probes http://127.0.0.1:4170/health and opens ws://127.0.0.1:4170/acp with no authentication token required by default. Once connected, any inbound cdp_attach and cdp_command frames are forwarded straight to chrome.debugger with no CDP method allowlist and no tab URL restriction. Whenever qwen serve is not running, such as when a user installs the extension only for Browser Use, any other unprivileged user account or sandboxed process sharing loopback can bind port 4170 and silently dump all cookies across every domain in Chrome or run scripts in the active tab.

    Fix: Do not auto-connect the background CDP tunnel without an explicit user-configured bearer token, and require explicit user opt-in before polling 127.0.0.1:4170.

  3. MediumWindows installer registers an Administrator scheduled task executing a user-writable binary by default

    packages/cua-driver/scripts/install.ps1:1664

    On Windows, install.ps1 enables AutoStart by default and elevates via UAC to register the qwen-cua-driver-serve Scheduled Task at RunLevel=Highest (Administrator), pointing to %LOCALAPPDATA%\Programs\Qwen\qwen-cua-driver\bin\qwen-cua-driver.exe. Because both that NTFS directory junction and its target under %USERPROFILE%\.cua-driver are writable without elevation, any non-elevated local process or compromised agent tool can replace the binary or retarget the junction to gain persistent Administrator code execution without UAC, and MCP clients talking to that daemon can drive elevated Administrator windows.

    Fix: Install executables run by a RunLevel=Highest task under an Administrator-protected directory such as Program Files, or run the daemon at Medium integrity unless elevation is explicitly requested.

  4. MediumElevated Windows daemon named pipe accepts Low-Integrity and unelevated local connections

    packages/cua-driver/rust/crates/cua-driver/src/serve.rs:1307

    On Windows, the installer and autostart command register the qwen-cua-driver serve daemon as a Scheduled Task running with Administrator privileges (RunLevel=Highest). However, build_pipe_security_attrs sets the named pipe mandatory integrity label to Low (LW), and client verification only checks that the caller process shares the same user SID without checking Integrity Level or AppContainer status. Any Low-Integrity sandboxed process or unelevated Medium-Integrity process running as that user can connect to the named pipe and instruct the High-Integrity daemon to type into or click elevated Administrator windows (bypassing Windows UIPI) or write files with Administrator privileges.

    Fix: Raise the named pipe mandatory integrity label from Low (LW) to at least Medium (ME) (or High unless cross-integrity access is explicitly configured), reject Low-Integrity and AppContainer client tokens on connect, or require a secret per-user token stored in a Medium/High-IL directory.

  5. MediumWindows isolated browser launch inherits elevated Administrator privileges and allows UAC bypass

    packages/cua-driver/rust/crates/cua-driver-core/src/browser/prepare.rs:123

    On Windows, the default autostart daemon runs elevated as Administrator (RunLevel=Highest). Although platform-windows includes token-downgrade helpers so launch_app runs targets as a standard user, WindowsBrowserPlatform::prepare_endpoint delegates isolated browser creation back to BrowserEngine::prepare_browser, which spawns the executable of any running process matching a Chromium name directly via std::process::Command::spawn() without dropping privileges or verifying a vendor signature. As a result, isolated browsers browse untrusted websites with full Administrator rights, and any standard-user process or tricked agent can run a custom binary named chrome.exe or electron.exe and call browser_prepare(allow_launch: true) to execute it as Administrator without a UAC prompt.

    Fix: Route isolated browser launches on Windows through browser_launch_context() with CreateProcessAsUserW using the verified Medium-integrity standard-user token, and verify that the browser executable resides in a protected, vendor-signed installation path.

  6. MediummacOS page tool bypasses existing-profile grant and permanently enables Apple Events JavaScript across all browser profiles

    packages/cua-driver/rust/crates/platform-macos/src/browser/browser_js.rs:112

    Although the driver documents that attaching to an existing logged-in browser profile requires an explicit --grant existing-profile flag, the macOS page tool (available via SDK/CLI or when CUA_DRIVER_EXTRA_TOOLS=1 is set) does not check that grant. Calling enable_javascript_apple_events quits Chrome, Brave, or Edge, rewrites the Preferences file of every user profile on disk to set allow_javascript_apple_events to true, and never restores it, leaving all logged-in browser profiles permanently exposed to JavaScript injection from any local process or prompt-injected agent.

    Fix: Require the explicit existing-profile authorization grant before executing BrowserJs actions, and remove automatic patching of user browser Preferences files on disk.

  7. MediumTools marked read-only can overwrite arbitrary user files via screenshot_out_file

    packages/cua-driver/rust/crates/platform-macos/src/tools/get_desktop_state.rs:87

    Both get_desktop_state and get_window_state (on macOS and Linux, and in contract/manifest.json) advertise read_only: true and destructive: false, which MCP clients and policies use to auto-approve calls without user confirmation. However, both accept screenshot_out_file (expanding ~/) and call std::fs::write directly on that path, allowing a prompt-injected agent to truncate and overwrite arbitrary writable files on disk with PNG bytes.

    Fix: Remove screenshot_out_file from read-only tools, or restrict output paths to a dedicated driver-owned temporary directory opened with create_new(true) so existing files cannot be overwritten.

  8. MediumWindows launch_app bypasses standard-user de-elevation when aumid and urls are combined

    packages/cua-driver/rust/crates/platform-windows/src/tools/impl_.rs:2930

    On Windows, the autostart cua-driver daemon commonly runs at High Integrity Level (Administrator), so LaunchAppTool normally drops privileges via standard_user_launch::app_launch_token before spawning processes or opening URLs. However, when a packaged app target (aumid, a bundle_id containing '!', or a Start Menu app name resolving to a packaged AUMID) is passed alongside a urls array, the secondary loop calls ShellExecuteExW directly inside the daemon process without de-elevating and without checking that entries are HTTP(S) URLs. A prompt-injected agent can pass a local executable, script, or UNC path in urls together with a benign AUMID like Calculator to execute arbitrary binaries with Administrator privileges.

    Fix: Validate that urls entries use only allowed http/https schemes, and route the AUMID secondary URL loop through standard_user_launch::shell_execute with SEE_MASK_FLAG_NO_UI and a bounded timeout just like the desktop launch branch.

  9. MediumCross-process CB_GETLBTEXT race and unbounded length in Windows ComboBox set_value

    packages/cua-driver/rust/crates/platform-windows/src/win32/combo.rs:161

    When set_value targets a Win32 ComboBox, option_text queries CB_GETLBTEXTLEN across processes, allocates vec![0u16; len as usize + 1] without an upper bound, and then sends CB_GETLBTEXT with a raw mutable pointer in a second SendMessageTimeoutW call. Because CB_GETLBTEXT has no buffer-length parameter, if the target application or a lower-integrity local window with 'combobox' in its class name lengthens the item between the two messages, Windows writes past the end of the heap buffer in cua-driver; returning an excessively large length also aborts the daemon on allocation.

    Fix: Enforce a strict maximum character cap before allocating buffers for WM_GETTEXTLENGTH and CB_GETLBTEXTLEN, and read ComboBox item labels via UI Automation patterns instead of cross-process CB_GETLBTEXT.

  10. LowDesktop relay grants all websites CORS and Private Network Access to trigger native RCE approval dialogs

    packages/node-repl/src/desktop-relay/agent.ts:85

    When the optional macOS desktop-relay is installed on 127.0.0.1:47821, handleHttpRequest reflects every Origin header into Access-Control-Allow-Origin alongside Access-Control-Allow-Private-Network: true, with no origin allowlist or pairing secret. Any untrusted website the user visits can fingerprint the relay via GET /status and repeatedly call POST /connect, which runs osascript with activate to pop a focus-stealing native dialog over the user's work; a single accidental click on Allow connects node-repl to the attacker's server and grants full code execution and screen control on the Mac.

    Fix: Require an explicit origin allowlist or a locally generated pairing token before accepting POST /connect requests or invoking osascript dialogs.

  11. LowDesktop relay permits cleartext ws:// connections to remote daemons for RCE and bearer tokens

    packages/node-repl/src/desktop-relay/acp-relay.ts:92

    The desktop relay accepts http:// URLs in daemonUrl even for remote non-loopback hosts and converts them into unencrypted ws:// WebSocket connections. If a user connects desktop-relay to a remote qwen serve instance over http://, the session bearer token is sent in cleartext and any network attacker on the local Wi-Fi or path can inject an mcp_message frame calling the js tool to execute arbitrary Node.js code on the user's computer.

    Fix: Require https:// (wss://) for all non-loopback daemonUrl hosts in parseConnectBody and buildAcpUrl.

  12. LowStandalone driver installers execute unpinned helper scripts from main and skip archive checksum verification

    packages/cua-driver/scripts/_install-rust.sh:88

    Even when a user pins CUA_DRIVER_RS_VERSION to a specific release, install.sh, _install-rust.sh, and install.ps1 fetch and source secondary scripts (_install-rust.sh, _install-common.sh, _install-common.psm1) directly from the mutable main branch on GitHub without commit pinning or hash checks. In addition, unlike the TypeScript and Python SDK installers, _install-rust.sh and install.ps1 extract and install downloaded release archives without verifying SHA-256 hashes against checksums.txt.

    Fix: Pin helper script URLs to release tags or embed the helpers inline, and verify downloaded archives against checksums.txt before extracting binaries.

  13. LowCapability manifests do not enforce app or window restrictions on launch_app and invoke_menu

    packages/cua-driver/rust/crates/cua-driver-core/src/session_manifest.rs:1096

    Capability manifests (--capability-manifest and bounded permission mode) let an operator confine an agent to specific applications, windows, or browser origins, including a per-app launch boolean. However, ApplicationGrant.launch is dead code that is never checked, and neither launch_app nor invoke_menu is wired into enforcement_adapters_for_call or SessionManifest::authorize_call (invoke_menu is also omitted from ORIGIN_BYPASS_TOOLS and self-PID protection). In a manifest-restricted session that allows launch_app, get_app, or invoke_menu, a prompt-injected agent can launch undeclared applications and invoke menu items on any running window on the desktop.

    Fix: Enforce ApplicationGrant.launch and allowed app identities on launch_app calls, and add invoke_menu to DESKTOP_INPUT_OPERATIONS, ORIGIN_BYPASS_TOOLS, and enforce_hard_invariants so capability manifests restrict it to approved windows.

  14. LowUnverified tarball extraction in skills install allows path traversal

    packages/cua-driver/rust/crates/cua-driver/src/skills.rs:645

    When a user runs qwen-cua-driver skills install or skills update, the CLI downloads the skills.tar.gz archive from GitHub without verifying a SHA-256 checksum, strips the leading path component, joins the remaining path onto the destination folder, and calls entry.unpack(&out). Unlike entry.unpack_in, entry.unpack in the Rust tar crate does not block parent-directory (..) components, absolute paths, or symlink escapes, allowing a compromised release archive to overwrite arbitrary files outside the skills directory.

    Fix: Verify the downloaded archive against a pinned SHA-256 checksum, reject symlink and hardlink tar entries, verify that every remaining path component is Component::Normal, and unpack using entry.unpack_in on the canonicalized destination directory.

  15. LowBrowser download approval check can be bypassed via an in-band JSON argument

    packages/cua-driver/rust/crates/cua-driver-core/src/browser/download.rs:27

    The browser_download tool states that it requires MCP-host destructive-tool approval before saving a file into destination_root. However, it enforces this by checking whether the incoming tool arguments JSON contains "_cua_browser_download_mcp_host_approved": true while setting "additionalProperties": true on its schema. In MCP clients such as Claude Code, Cursor, or Codex that do not strip this proprietary field, a prompt-injected agent can supply "_cua_browser_download_mcp_host_approved": true in its tool call arguments and bypass the consent check.

    Fix: Enforce download authorization out-of-band through the runtime ApprovalBroker or host callback interface rather than trusting a boolean field inside tool call arguments, and set additionalProperties to false.

  16. LowPredictable Windows UIAccess worker named pipe allows squatting and token impersonation

    packages/cua-driver/rust/crates/platform-windows/src/uia_worker.rs:212

    When CUA_DRIVER_USE_UIACCESS=1 is enabled on Windows, the driver connects to a predictable named pipe (\\.\pipe\qwen-cua-driver-uia-<pid>) before launching the worker, using ClientOptions::new().open(path) without SECURITY_IDENTIFICATION or SECURITY_ANONYMOUS flags, and never checks that the pipe server process is the signed UIAccess worker binary. Another lower-privileged process in the user's session can pre-create that pipe to intercept tool inputs, return spoofed UI state, and impersonate the elevated driver's token via ImpersonateNamedPipeClient.

    Fix: Set SECURITY_SQOS_PRESENT | SECURITY_IDENTIFICATION on ClientOptions before opening the named pipe, and verify the server PID's executable path and signature before sending requests.

  17. LowSelf-updater downloads and executes unpinned install scripts from the mutable main branch

    packages/cua-driver/rust/crates/cua-driver/src/updater.rs:73

    When a user runs qwen-cua-driver update --apply, run_install_script fetches install.sh or install.ps1 live from raw.githubusercontent.com/QwenLM/open-computer-use/main/ and pipes it directly into bash or PowerShell (with -ExecutionPolicy Bypass) without pinning to a release tag/commit or verifying a checksum. Even though the target binary version is passed in an environment variable, a compromise of the repository's main branch would execute arbitrary commands during an update.

    Fix: Fetch the installer script from the immutable release tag matching the target version and verify its SHA-256 digest against signed release metadata before executing it.

  18. LowUndocumented automatic GitHub version check runs on MCP and daemon startup

    packages/cua-driver/rust/crates/cua-driver/src/version_check.rs:70

    Although the README states that telemetry is disabled by default, starting the driver via mcp, serve, or doctor automatically spawns a background request roughly once every 20 hours to api.github.com to check for new releases. This sends the user's IP address and driver version to GitHub without being mentioned in the documentation.

    Fix: Document the automatic update check and its CUA_DRIVER_RS_UPDATE_CHECK=false / update_check_enabled: false opt-out settings in the README, or disable background network checks by default in stdio MCP mode.

  19. LowSafari page JavaScript execution falls back to the frontmost tab when window title is empty or changes

    packages/cua-driver/rust/crates/platform-macos/src/browser/browser_js.rs:61

    Unlike the Chromium AppleScript path, which fails closed if no window matches, BrowserJs::execute for Safari matches tabs with 'contains' without rejecting an empty title and falls back to 'document 1' whenever no tab matches. If a user asks the agent to read or interact with an untrusted Safari window that has an empty <title> or changes its title dynamically, Safari runs the JavaScript in document 1 instead, exposing or modifying an unrelated logged-in tab.

    Fix: Match Safari windows by exact bounds/index as done for Chromium, skip title matching when the title is empty, and return an error instead of falling back to document 1.

  20. LowPage tool connects to unverified cdp_port and webSocketDebuggerUrl values

    packages/cua-driver/rust/crates/platform-macos/src/browser/cdp_client.rs:329

    When cdp_port is passed to the page tool on macOS or Linux, resolve_cdp_port uses that port directly without verifying that the requested pid owns the listener. In addition, ws_url_for_page_target connects to whatever webSocketDebuggerUrl is returned by /json without verifying that it stays on loopback and the same port, allowing a tricked agent to hijack another local DevTools listener or trigger outbound WebSocket SSRF via a local HTTP server.

    Fix: Verify via socket ownership that cdp_port belongs to the target pid before connecting, and enforce that webSocketDebuggerUrl uses ws://127.0.0.1, localhost, or [::1] on the same port.

  21. LowElectron page inspection sends SIGUSR1 and leaves the Node.js V8 debugger open on loopback

    packages/cua-driver/rust/crates/platform-macos/src/browser/electron_js.rs:62

    When the macOS page tool (including read actions like get_text or query_dom) is called on an Electron app that has no open CDP port, ElectronJs::execute sends SIGUSR1 to the target process. In Electron and Node.js, SIGUSR1 starts an unauthenticated V8 inspector on 127.0.0.1 for the main process and leaves it listening for the rest of the app's lifetime, allowing any local process on the machine to connect and run arbitrary Node.js code inside that app.

    Fix: Do not send SIGUSR1 to running Electron applications; require an explicitly prepared isolated browser/app session instead.

  22. LowAppleScript helper writes predictable temporary files in /tmp without exclusive creation

    packages/cua-driver/rust/crates/platform-macos/src/browser/browser_js.rs:56

    run_osascript builds a predictable filename in /tmp from the current timestamp and thread ID length, writes the script with tokio::fs::write (using default world-readable permissions and without create_new/O_EXCL), and then executes /usr/bin/osascript on that path. Another local user or unprivileged process on the machine can read sensitive JavaScript payloads from /tmp or pre-create a writable file at the predicted path and swap its contents before osascript reads it, gaining code execution under the driver's macOS TCC permissions.

    Fix: Pipe the script to osascript via stdin ('osascript -') instead of writing to /tmp, or create the file with O_CREAT | O_EXCL and mode 0600 inside a 0700 user-owned directory.

  23. LowTools marked read_only can overwrite arbitrary files via screenshot_out_file

    packages/cua-driver/rust/crates/platform-windows/src/tools/impl_.rs:1511

    Both get_window_state and get_desktop_state advertise read_only: true and destructive: false in their MCP tool definitions and contract manifest, which causes MCP hosts to treat them as non-mutating and often auto-approve them without user confirmation. When screenshot_out_file is provided, both tools call std::fs::write directly on the caller-supplied path with no directory confinement, symlink check, or overwrite protection, letting a prompt-injected agent truncate and corrupt arbitrary user files with PNG data.

    Fix: Remove screenshot_out_file from read-only MCP tools or restrict output paths to a dedicated temporary/session directory with O_CREAT|O_EXCL semantics and reject symlinks.

  24. LowWindows launch_app remote-debugging flag filter misses single-dash and slash switches

    packages/cua-driver/rust/crates/platform-windows/src/tools/impl_.rs:2394

    LaunchAppTool blocks --remote-debugging-port and --remote-debugging-pipe so an agent cannot enable Chrome DevTools on an unproven browser profile without going through browser_prepare consent checks. However, contains_remote_debugging_flag only checks for double-hyphen '--' prefixes and also omits bundle_id from the inspected fields, whereas Chromium's base::CommandLine on Windows accepts single-hyphen ('-remote-debugging-port=...') and forward-slash ('/remote-debugging-port=...') switches.

    Fix: Normalize switch prefixes ('--', '-', and '/' on Windows) across all launch target and argument fields, including bundle_id, and block remote-debugging-port, remote-debugging-pipe, and remote-debugging-address.

  25. LowPercent-encoded CSS selector in Windows page click_element injects JavaScript via bookmarklet

    packages/cua-driver/rust/crates/platform-windows/src/tools/page.rs:66

    WindowsPageBackend::click_element escapes backslashes and single quotes in selector and passes a querySelector snippet to execute_javascript, which tries the bookmark-URL execution path first. Because page_bookmark::wrap_javascript builds a javascript: URL without percent-encoding '%' characters, Chromium URL-decodes sequences like '%27' into single quotes before V8 parses the bookmarklet, allowing a crafted selector in click_element to break out of the string literal and execute arbitrary JavaScript in the active browser tab.

    Fix: Percent-encode the final JavaScript payload when constructing the javascript: bookmark URL in wrap_javascript, and pass selectors as JSON-encoded data rather than string concatenation.

  26. LowWindows installer fetches and executes unpinned remote PowerShell code without checksum verification

    packages/cua-driver/scripts/_install-common.psm1:216

    The documented curl and irm|iex install commands in packages/cua-driver/README.md and WINDOWS.md fetch installer scripts from the mutable main branch even when CUA_DRIVER_RS_VERSION is pinned, and Import-CuaDriverInstallModule downloads a remote .psm1 script into $env:TEMP and executes it with Import-Module without verifying a cryptographic hash.

    Fix: Fetch installer scripts from the immutable release tag matching CUA_DRIVER_RS_VERSION and verify SHA-256 checksums before importing or executing downloaded scripts.