Skills/PyPI/server-guardian-mcp

server-guardian-mcp@1.0.5

CAUTION· not started

Publisher claims: "MCP server to monitor and manage remote Linux servers via SSH. 63 tools: health checks, log search, APM, SLOs, anomaly detection, auto-remediation, live dashboard, CIS benchmarks, CVE scanning, database monitoring, compliance reports, team RBAC, PagerDuty/Telegram/OpsGenie." Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry PyPI (MCP server)Publisher md-nazish-arman · publishing for 233 daysInstalls 41Last 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
DEFAULT_SSH_PASSWORDGUARDIAN_API_KEYConfiguration, not credentials: DEFAULT_CMD_TIMEOUT, DEFAULT_SCRIPT_TIMEOUT, DEFAULT_SSH_KEY_PATH, GUARDIAN_ALLOW_DANGEROUS, GUARDIAN_ALLOW_SENSITIVE, GUARDIAN_MODE, GUARDIAN_PLAYBOOKS, GUARDIAN_RATE_LIMIT, GUARDIAN_SQL_WRITE, GUARDIAN_TEAM_MODE, SSH_CONNECT_TIMEOUT
Where it talks to
no vendor host named in the codeAlso jsdelivr.net, pagerduty.com, telegram.org, opsgenie.com, myapp.com — 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
server startup · the tool list · tool behavior

Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names jsdelivr.net, pagerduty.com, telegram.org, opsgenie.com, myapp.com as well as its own vendor. The guard injects DEFAULT_SSH_PASSWORD, GUARDIAN_API_KEY only into requests to the host you bind (and its subdomains) and refuses the rest.

$vet-skills run --net declared -- uvx server-guardian-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: References a credential file in the home directory; References a credential file in the home directory; Access to sensitive file paths. 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
References a credential file in the home directorysrc/server_guardian_mcp/server.py:330 · References a credential file in the home directoryDEFAULT_SSH_KEY_PATH = _env("DEFAULT_SSH_KEY_PATH", "~/.ssh/id_rsa")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST03
HIGH
References a credential file in the home directorysrc/server_guardian_mcp/adapters.py:32 · References a credential file in the home directory_DEFAULT_SSH_KEY_PATH = os.environ.get("DEFAULT_SSH_KEY_PATH", "~/.ssh/id_rsa")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST03
MEDIUM
Python subprocess execution detectedsrc/server_guardian_mcp/adapters.py:482 · Python subprocess execution detectedreturn 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/server_guardian_mcp/adapters.py:225 · Python subprocess execution detectedproc = 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/server_guardian_mcp/adapters.py:249 · Python subprocess execution detectedproc = 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/server_guardian_mcp/security_advanced.py:166 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesecho "CHECK|10.1|Root is only UID 0|$(awk -F: '($3 == 0) { print $1 }' /etc/passwd | wc -l)"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/server_guardian_mcp/adapters.py:329 · Python subprocess execution detectedproc = 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/server_guardian_mcp/adapters.py:636 · Python subprocess execution detectedget_proc = subprocess.run(get_cmd, capture_output=True, timeout=10)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Privileged sudo commandsrc/server_guardian_mcp/dbmon.py:164 · Privileged sudo command — agent may execute with elevated privileges"replication": "sudo -u postgres psql -c \"SELECT client_addr, state, sent_lsn, write_lsn, replay_lsn, replay_lag FROM pg_stat_replication\" 2>/dev/null || echo 'no replication'",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/server_guardian_mcp/server.py:2590 · Privileged sudo command — agent may execute with elevated privilegessudo -l -U {_shell_quote(username)} 2>/dev/null | tail -5Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedsrc/server_guardian_mcp/adapters.py:514 · Python subprocess execution detectedproc = 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/server_guardian_mcp/security_advanced.py:16 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"/etc/passwd", "/etc/shadow", "/etc/group", "/etc/sudoers",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
CRITICAL
Destructive command against a filesystem root or devicesrc/server_guardian_mcp/server.py:64 · Destructive command against a filesystem root or devicer"\brm\s+(-[a-zA-Z]*f[a-zA-Z]*\s+)?/\s*$", # rm -rf / at endFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedsrc/server_guardian_mcp/adapters.py:533 · Python subprocess execution detectedproc = 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/server_guardian_mcp/adapters.py:796 · Python subprocess execution detectedproc = subprocess.run(cmd, capture_output=True, timeout=120)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/server_guardian_mcp/adapters.py:693 · Python subprocess execution detectedproc = subprocess.run(cmd, capture_output=True, timeout=10)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedsrc/server_guardian_mcp/adapters.py:743 · Python subprocess execution detectedproc = subprocess.run(gcloud_cmd, capture_output=True, timeout=per_cmd_timeout)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Destructive file system command detectedsrc/server_guardian_mcp/server.py:64 · Destructive file system command detectedr"\brm\s+(-[a-zA-Z]*f[a-zA-Z]*\s+)?/\s*$", # rm -rf / at endFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedsrc/server_guardian_mcp/adapters.py:380 · Python subprocess execution detectedproc = 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/server_guardian_mcp/adapters.py:772 · Python subprocess execution detectedproc = subprocess.run(gcloud_cmd, input=script.encode("utf-8"),Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Privileged sudo commandsrc/server_guardian_mcp/server.py:1967 · Privileged sudo command — agent may execute with elevated privilegesgetent group sudo 2>/dev/null || getent group wheel 2>/dev/null || echo "No sudo group info"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedsrc/server_guardian_mcp/adapters.py:614 · Python subprocess execution detectedproc = subprocess.run(aws_cmd, capture_output=True, timeout=15)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Access to sensitive file pathssrc/server_guardian_mcp/server.py:147 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"/etc/shadow",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commandsrc/server_guardian_mcp/dbmon.py:166 · Privileged sudo command — agent may execute with elevated privileges…C LIMIT 20\" 2>/dev/null || echo 'postgresql not available'", "locks": "sudo -u postgres psql -c \"SELECT pid, usename, query, state, wait_event_type, wait_e…Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Telegram Bot API URLsrc/server_guardian_mcp/integrations.py:124 · Telegram Bot API URL — data will be sent to Telegramurl = f"https://api.telegram.org/bot{TELEGRAM_BOT_TOKEN}/sendMessage"Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
HIGH
Privileged sudo commandsrc/server_guardian_mcp/dbmon.py:163 · Privileged sudo command — agent may execute with elevated privileges"connections": "sudo -u postgres psql -c \"SELECT state, count(*) FROM pg_stat_activity GROUP BY state\" 2>/dev/null || echo 'postgresql not available'",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathssrc/server_guardian_mcp/adapters.py:32 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files_DEFAULT_SSH_KEY_PATH = os.environ.get("DEFAULT_SSH_KEY_PATH", "~/.ssh/id_rsa")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/server_guardian_mcp/adapters.py:561 · Python subprocess execution detectedproc = 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/server_guardian_mcp/watchdog.py:56 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# Watchdog configuration from .envFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commandsrc/server_guardian_mcp/dbmon.py:165 · Privileged sudo command — agent may execute with elevated privileges…at_replication\" 2>/dev/null || echo 'no replication'", "table_sizes": "sudo -u postgres psql -c \"SELECT schemaname||'.'||relname AS table, pg_size_pretty(p…Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
References a credential file in the home directorysrc/server_guardian_mcp/server.py:2389 · References a credential file in the home directoryf"{entry['identity_file'] or '~/.ssh/id_rsa'},{entry['host']}"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST03
MEDIUM
Python subprocess execution detectedsrc/server_guardian_mcp/adapters.py:305 · Python subprocess execution detectedproc = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Privileged sudo commandsrc/server_guardian_mcp/dbmon.py:162 · Privileged sudo command — agent may execute with elevated privileges…SH commands for PostgreSQL monitoring.""" return { "slow_queries": "sudo -u postgres psql -c \"SELECT query, calls, total_exec_time, mean_exec_time, rows…Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedsrc/server_guardian_mcp/adapters.py:813 · Python subprocess execution detectedproc = subprocess.run(cmd, capture_output=True, timeout=120)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
CRITICAL
Destructive command against a filesystem root or devicesrc/server_guardian_mcp/server.py:63 · Destructive command against a filesystem root or devicer"\brm\s+(-[a-zA-Z]*f[a-zA-Z]*\s+)?/\s", # rm -rf /Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedsrc/server_guardian_mcp/adapters.py:363 · Python subprocess execution detectedproc = 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/server_guardian_mcp/watchdog.py:581 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system fileslog.error("No servers configured in .env. Add SERVER_<NAME>=... entries.")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/server_guardian_mcp/watchdog.py:329 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files<li>Wrong IP address or credentials in .env</li>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/server_guardian_mcp/adapters.py:348 · Python subprocess execution detectedproc = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Destructive file system command detectedsrc/server_guardian_mcp/server.py:63 · Destructive file system command detectedr"\brm\s+(-[a-zA-Z]*f[a-zA-Z]*\s+)?/\s", # rm -rf /Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathssrc/server_guardian_mcp/server.py:6 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesAll config is loaded from .env — see .env.example for setup.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/server_guardian_mcp/server.py:139 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files".env", ".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/server_guardian_mcp/security_advanced.py:167 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesecho "CHECK|10.2|No empty password fields|$(awk -F: '($2 == \"\") { print $1 }' /etc/shadow 2>/dev/null | wc -l)"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/server_guardian_mcp/adapters.py:546 · Python subprocess execution detectedproc = 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/server_guardian_mcp/adapters.py:831 · Python subprocess execution detectedproc = subprocess.run(cmd, capture_output=True, timeout=10)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
File permission modification commandsrc/server_guardian_mcp/server.py:2608 · File permission modification command — agent changes file ownership/permissionschmod 600 "$USER_HOME/.ssh/authorized_keys"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Python subprocess execution detectedsrc/server_guardian_mcp/adapters.py:945 · Python subprocess execution detectedproc = subprocess.run(cmd, capture_output=True, timeout=15)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
File permission modification commandsrc/server_guardian_mcp/server.py:79 · File permission modification command — agent changes file ownership/permissionsr"\bchmod\s+777\s+/", # chmod 777 rootFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Process kill commandsrc/server_guardian_mcp/server.py:77 · Process kill command — agent can terminate processesr"\bkill\s+-9\s+-1\b", # kill all processesFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedsrc/server_guardian_mcp/adapters.py:879 · Python subprocess execution detectedproc = subprocess.run(az_cmd, capture_output=True, timeout=per_cmd_timeout + 30)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
File permission modification commandsrc/server_guardian_mcp/server.py:2609 · File permission modification command — agent changes file ownership/permissionschown -R {_shell_quote(username)}: "$USER_HOME/.ssh"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandsrc/server_guardian_mcp/server.py:2607 · File permission modification command — agent changes file ownership/permissionschmod 700 "$USER_HOME/.ssh"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05

Cost to the agent

Instructions loaded
≈108 tok
1 file · 29 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-guardian-mcp@1.0.5 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. Destructive command against a filesystem root or device≈ +9 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  2. Unclaimed publisher≈ +8 on the totalClaim md-nazish-arman: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  3. References a credential file in the home directory≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
  4. 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.
  5. Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  6. Destructive file system command detected≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
Publish a new version to PyPI, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim md-nazish-armanPropose a patch to the maintainer