Skills/PyPI/server-ops-mcp

server-ops-mcp@0.1.9

CAUTION· not started

Publisher claims: "MCP server for VPS management — SSH, Docker, services, GitHub, deployments, monitoring" Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry PyPI (MCP server)Publisher me-baran · publishing for 134 daysInstalls 49Last detonated 2 h ago

Coverage

Not started: dependency install failed; the server itself was not observed.
Tested
the dependency install step · every file read, file written and host contacted by what ran
Not tested
server startup · the tool list · tool behavior

What this means for the label: Caution 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
DEVOPS_MCP_GITHUB_TOKENDEVOPS_MCP_PASSWORDConfiguration, not credentials: DEVOPS_MCP_CONFIG, DEVOPS_MCP_HOST, DEVOPS_MCP_KEY, DEVOPS_MCP_KNOWN_HOSTS, DEVOPS_MCP_PORT, DEVOPS_MCP_USER
Where it talks to
no vendor host named in the code
What the honeypot saw
no credential files read · no network
What we could not test
server startup · the tool list · tool behavior

Connect it with a scoped credential, under the guard. It asks for DEVOPS_MCP_GITHUB_TOKEN, DEVOPS_MCP_PASSWORD and talks to its vendor. Give the credential to the guard, not the server: the value never enters the server's environment and only travels to the host you bind. What the tools do with a real credential was not observed.

$vet-skills run --net declared -- uvx server-ops-mcp

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 (2 scenarios; not started: dependency install failed; the server itself was not observed) on 2026-11-18 and scored it 68/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: Privileged sudo command; Privileged sudo command; Prompting user to enter sensitive credentials. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 0 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.1sprocessdependency install exit 1 ·
0.1sclaimednot started: dependency install failed (exit 1); the server itself was not observed
0.1sprocessscript backend runs setup only
0.1sprocessno install scripts to re-run

Static findings

HIGH
Privileged sudo commandAGENTS.md:49 · Privileged sudo command — agent may execute with elevated privileges- **Sudo wrapping** — detect `sudo ` prefix, pipe password via `sudo -S -p ''`Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/devops_mcp/cli.py:81 · Privileged sudo command — agent may execute with elevated privilegesuseradd_cmd = f"sudo useradd -m -s /bin/bash {_MCP_USER} 2>/dev/null || id -u {_MCP_USER}"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
CRITICAL
Prompting user to enter sensitive credentialssrc/devops_mcp/ssh/admin.py:6 · Prompting user to enter sensitive credentials — social engineering`ttl_seconds` it locks again and the user must re-enter the password.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST03
HIGH
Privileged sudo commandAGENTS.md:34 · Privileged sudo command — agent may execute with elevated privileges│ ├── admin.py # In-memory sudo password cache with sliding TTLFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Destructive file system command detectedsrc/devops_mcp/cli.py:182 · Destructive file system command detectedprint(f" sudo rm /etc/sudoers.d/{_MCP_USER}")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/devops_mcp/deploy/rollback.py:61 · Privileged sudo command — agent may execute with elevated privilegesf"sudo systemctl restart {restart_service}",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/devops_mcp/server.py:161 · Privileged sudo command — agent may execute with elevated privileges"""Lock the admin session, clearing the cached sudo password."""Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/devops_mcp/ssh/admin.py:1 · Privileged sudo command — agent may execute with elevated privileges"""AdminSession — in-memory sudo password cache with sliding TTL.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File permission modification commandsrc/devops_mcp/cli.py:94 · File permission modification command — agent changes file ownership/permissionsf"chmod 440 {sudoers_file}'"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandsrc/devops_mcp/cli.py:115 · File permission modification command — agent changes file ownership/permissionsf"chown {_MCP_USER}:{_MCP_USER} {auth_path} && "Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Privileged sudo commandsrc/devops_mcp/services/systemd.py:41 · Privileged sudo command — agent may execute with elevated privilegesreturn await exec_command(conn, f"sudo systemctl start {service}", timeout=30)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathssrc/devops_mcp/ssh/__init__.py:6 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesfrom .credentials import CredentialVault, StoredKeyFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commandsrc/devops_mcp/ssh/provision.py:64 · Privileged sudo command — agent may execute with elevated privilegesf"sudo install -d -o {username} -g {username} -m 0700 /home/{username}/.ssh && "Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/devops_mcp/services/nginx.py:39 · Privileged sudo command — agent may execute with elevated privilegesreturn await exec_command(conn, "sudo systemctl reload nginx", timeout=15)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File permission modification commandsrc/devops_mcp/cli.py:116 · File permission modification command — agent changes file ownership/permissionsf"chmod 600 {auth_path}'"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Privileged sudo commandsrc/devops_mcp/deploy/strategies.py:48 · Privileged sudo command — agent may execute with elevated privilegesf"sudo systemctl restart {restart_service}",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathssrc/devops_mcp/cli.py:91 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filessudoers_file = f"/etc/sudoers.d/{_MCP_USER}"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commandsrc/devops_mcp/cli.py:112 · Privileged sudo command — agent may execute with elevated privilegesf"sudo bash -c '"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathssrc/devops_mcp/ssh/provision.py:16 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesfrom .credentials import CredentialVaultFix: 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/devops_mcp/cli.py:182 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesprint(f" sudo rm /etc/sudoers.d/{_MCP_USER}")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commandsrc/devops_mcp/services/nginx.py:17 · Privileged sudo command — agent may execute with elevated privilegesresult = await exec_command(conn, "sudo nginx -t", timeout=10)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/devops_mcp/cli.py:100 · Privileged sudo command — agent may execute with elevated privilegesprint(" NOPASSWD sudo configured.\n")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/devops_mcp/cli.py:93 · Privileged sudo command — agent may execute with elevated privilegesf"sudo bash -c 'echo \"{sudoers_line}\" > {sudoers_file} && "Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File permission modification commandsrc/devops_mcp/ssh/provision.py:67 · File permission modification command — agent changes file ownership/permissionsf"sudo chmod 600 /home/{username}/.ssh/authorized_keys"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandsrc/devops_mcp/ssh/provision.py:125 · File permission modification command — agent changes file ownership/permissionsf"sudo chown {username}:{username} /home/{username}/.ssh/authorized_keys && "Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Privileged sudo commandsrc/devops_mcp/server.py:102 · Privileged sudo command — agent may execute with elevated privilegeswrapped = command.replace("sudo ", "sudo -S -p '' ", 1)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/devops_mcp/services/systemd.py:63 · Privileged sudo command — agent may execute with elevated privilegesreturn await exec_command(conn, f"sudo systemctl restart {service}", timeout=30)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/devops_mcp/services/systemd.py:52 · Privileged sudo command — agent may execute with elevated privilegesreturn await exec_command(conn, f"sudo systemctl stop {service}", timeout=30)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/devops_mcp/ssh/provision.py:65 · Privileged sudo command — agent may execute with elevated privilegesf"echo {_q(public_openssh)} | sudo tee /home/{username}/.ssh/authorized_keys >/dev/null && "Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File permission modification commandsrc/devops_mcp/ssh/provision.py:66 · File permission modification command — agent changes file ownership/permissionsf"sudo chown {username}:{username} /home/{username}/.ssh/authorized_keys && "Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Privileged sudo commandsrc/devops_mcp/ssh/provision.py:66 · Privileged sudo command — agent may execute with elevated privilegesf"sudo chown {username}:{username} /home/{username}/.ssh/authorized_keys && "Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/devops_mcp/cli.py:88 · Privileged sudo command — agent may execute with elevated privileges# Step 3: NOPASSWD sudoFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/devops_mcp/ssh/provision.py:67 · Privileged sudo command — agent may execute with elevated privilegesf"sudo chmod 600 /home/{username}/.ssh/authorized_keys"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/devops_mcp/ssh/provision.py:47 · Privileged sudo command — agent may execute with elevated privilegesuseradd_cmd = f"sudo useradd -m -s /bin/bash {username} || id -u {username}"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/devops_mcp/server.py:155 · Privileged sudo command — agent may execute with elevated privileges"""Unlock the admin session for sudo commands (15-min TTL)."""Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/devops_mcp/server.py:99 · Privileged sudo command — agent may execute with elevated privilegesif command.lstrip().startswith("sudo ") and admin.is_unlocked():Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Privileged sudo commandtests/test_admin.py:1 · Privileged sudo command — agent may execute with elevated privileges"""Tests for admin session (sudo password cache)."""Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Privileged sudo commandtests/test_services.py:63 · Privileged sudo command — agent may execute with elevated privilegesassert "sudo systemctl stop nginx" in cmdFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Privileged sudo commandtests/test_services.py:57 · Privileged sudo command — agent may execute with elevated privilegesassert "sudo systemctl start nginx" in cmdFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File permission modification commandsrc/devops_mcp/ssh/provision.py:126 · File permission modification command — agent changes file ownership/permissionsf"sudo chmod 600 /home/{username}/.ssh/authorized_keys"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Privileged sudo commandtests/test_services.py:69 · Privileged sudo command — agent may execute with elevated privilegesassert "sudo systemctl restart nginx" in cmdFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
LOW
Authorization escalation languageEXPLORATION.md:17 · Authorization escalation language · informational: not an instruction file- **Admin mode** — admin user with sudo password caching via AdminSessionFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01

Cost to the agent

Instructions loaded
≈739 tok
2 files · 58 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 server-ops-mcp@0.1.9 as of 1 h ago. This is the package itself, not its dependencies.

What would make this Verified

12 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Prompting user to enter sensitive credentials≈ +9 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
  2. Unclaimed publisher≈ +8 on the totalClaim me-baran: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  3. Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  4. Destructive file system command detected≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  5. 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.
  6. File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.
Publish a new version to PyPI, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim me-baranPropose a patch to the maintainer