Skills/PyPI/onshape-mcp

onshape-mcp@0.1.0

CAUTION· static only

Publisher claims: "MCP server that drives the Onshape web UI — sketch, dimension, constrain and extrude from any MCP client." Observed in sandbox: static analysis only — behavior not yet observed.

Registry PyPI (MCP server)Publisher williamsamson · publishing for 64 daysInstalls 75Last detonated 22 h ago

Coverage

Static only; nothing was run yet.

The label rests on the code, the instruction files and the publisher. The honeypot run replaces this verdict when it completes.

Before you give it your token

It will ask for
MCP_TOKENConfiguration, not credentials: GEMINI_MODEL, MCP_HOST, MCP_PORT, MCP_TRANSPORT, ONSHAPE_BROWSER_CHANNEL, ONSHAPE_CDP_URL, ONSHAPE_COOKIES_B64, ONSHAPE_COOKIES_JSON, ONSHAPE_DEFAULT_DOC, ONSHAPE_DIR, ONSHAPE_HOME, ONSHAPE_NGROK_DOMAIN, ONSHAPE_PX_PER_MM, ONSHAPE_TAB_URL, ONSHAPE_TUNNEL_SUBDOMAIN
Where it talks to
onshape.com (its own)Also trycloudflare.com — not the publisher's domain; check what for before connecting.
What the honeypot saw
nothing has run yet
What we could not test
everything: the server has not run yet

Run it before you trust it. Nothing has run yet: the code was read, the server was not. `vet-skills try` runs this exact version in the honeypot in about a minute.

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 analysed it statically (a sandbox run is pending) on 2026-11-13 and scored it 45/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Access to sensitive file paths; Access to sensitive file paths; Access to sensitive file paths. Summary: static analysis only — behavior not yet observed.

Behavior trace

Queued for honeypot run · static analysis only
t+CategoryObserved action

This version has not been detonated yet. The score above counts behavior as unknown (50/100), so it cannot read Verified until the honeypot run completes and replaces this verdict.

Static findings

HIGH
Access to sensitive file pathssrc/onshape_mcp/config.py:37 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesif (_BASE_DIR / ".env").is_file():Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathssrc/onshape_mcp/tunnel.py:283 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesprint("Token: pinned from MCP_TOKEN in .env (stable across restarts).")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathssrc/onshape_mcp/server.py:1018 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"Set MCP_TOKEN in your .env (any random string), or bind --host 127.0.0.1,\n"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Python subprocess execution detectedsrc/onshape_mcp/selfupdate.py:28 · Python subprocess execution detectedp = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/onshape_mcp/tunnel.py:233 · Python subprocess execution detectedtunnel_proc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/onshape_mcp/driver.py:159 · Python subprocess execution detectedsubprocess.run([sys.executable, "-m", "playwright", "install", "chromium"], check=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
document.cookie accesssrc/onshape_mcp/onshape_api.py:42 · document.cookie access — can steal session cookiesconst cookie = document.cookie.match(/(?:^|; )XSRF-TOKEN=([^;]+)/);Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
MEDIUM
npx invocation of non-well-known packagesrc/onshape_mcp/tunnel.py:155 · npx invocation of non-well-known package — may execute untrusted codenpx = shutil.which("npx")Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
HIGH
Access to sensitive file pathssrc/onshape_mcp/config.py:36 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# Load env from base directory (.env in repo or ~/.onshape-mcp/.env)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathssrc/onshape_mcp/tunnel.py:285 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesprint("Token: freshly minted — set MCP_TOKEN in .env to keep it stable.")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Tunneling service URLsrc/onshape_mcp/tunnel.py:257 · Tunneling service URL — may route traffic to attacker infrastructurem_ng = re.search(r"https://[a-zA-Z0-9.-]+\.ngrok(?:-free)?\.(?:app|dev|io)", line)Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
HIGH
Access to sensitive file pathssrc/onshape_mcp/tunnel.py:304 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesprint("in .env for a permanent one.\n")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Python subprocess execution detectedsrc/onshape_mcp/setup.py:42 · Python subprocess execution detectedres = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Access to sensitive file pathssrc/onshape_mcp/setup.py:296 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesenv_file = _BASE_DIR / ".env"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commandsrc/onshape_mcp/tunnel.py:208 · Privileged sudo command — agent may execute with elevated privilegesprint(" • Linux: sudo apt install cloudflared (or download binary)")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Tunneling service URLsrc/onshape_mcp/tunnel.py:252 · Tunneling service URL — may route traffic to attacker infrastructurem_cf = re.search(r"https://[a-zA-Z0-9-]+\.trycloudflare\.com", line)Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
MEDIUM
Python subprocess execution detectedsrc/onshape_mcp/up.py:37 · Python subprocess execution detectedout = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
npx invocation of non-well-known packagesrc/onshape_mcp/setup.py:353 · npx invocation of non-well-known package — may execute untrusted codeprint(" # Or: npx localtunnel --port 8000")Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
HIGH
Tunneling service URLsrc/onshape_mcp/setup.py:354 · Tunneling service URL — may route traffic to attacker infrastructureprint("3. Paste the resulting URL (e.g. https://xxxx.trycloudflare.com/sse)")Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
HIGH
Access to sensitive file pathssrc/onshape_mcp/config.py:1 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"""Configuration loaded from .env. The .env file is gitignored (see SECURITY.md)."""Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Python subprocess execution detectedsrc/onshape_mcp/driver.py:135 · Python subprocess execution detectedsubprocess.run([sys.executable, "-m", "playwright", "install", "chromium"], check=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05

Cost to the agent

Instructions loaded
≈62 tok
1 file · 42 in bundle

Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.

Known vulnerabilities

No advisories in OSV for onshape-mcp@0.1.0 as of 21 h ago. This is the package itself, not its dependencies.

What would make this Verified

35 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Unclaimed publisher≈ +8 on the totalClaim williamsamson: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  2. Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
  3. document.cookie access≈ +4 on the totalReplace encoded or assembled strings with plain literals and remove undeclared network calls.
  4. Tunneling service URL≈ +4 on the totalReplace encoded or assembled strings with plain literals and remove undeclared network calls.
  5. Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  6. Python subprocess execution detected≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
Publish a new version to PyPI, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim williamsamsonPropose a patch to the maintainer