Skills/Glama/safety-mcp-server

safety-mcp-server@r1

CAUTION· install only

Publisher claims: "Enables AI agents to safely inspect remote servers and execute only pre-defined SSH commands, with optional HTTP checks and human-approved one-time codes required for changes." In our sandbox: Nothing executable in the bundle ran; the trace covers the install step only.

Registry GlamaPublisher trollimo · publishing for 9 daysInstalls 0Last detonated 9d ago

Coverage

Nothing executable in the bundle ran; the trace covers the install step only.
Tested
every file read, file written and host contacted by what ran
Not tested
use of the skill by an agent

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.

Behavior

In our sandbox run on 2026-11-16, safety-mcp-server@r1 read no files and called no hosts, and its code names 22 environment variables. Coverage: install only.

Files read

None recorded.

Hosts called

None recorded.

Environment variables its code names

APPROVER_ACCOUNT, APPROVER_ALLOWED_HOSTS, APPROVER_BIND, APPROVER_DATA, APPROVER_PORT, APPROVER_TOTP_SKEW, APPROVER_URL, DEPLOY_KEY_DIR, DEPLOY_SSH_KEY, MCP_APPROVE_WAIT, MCP_ENROLL_HINT, MCP_HTTP_BIND, MCP_HTTP_LISTEN_PORT, MCP_QUEUE_DIR, MCP_STATE_DIR, MCP_TRANSPORT, SAFETY_ALLOW_WRITABLE, SAFETY_CONF, SAFETY_KEYS_DST, SAFETY_KEYS_RW_DST, SAFETY_KEYS_RW_SRC, SAFETY_KEYS_SRC

Names only, read from the code. We never hold a value.

Tools offered

No tool list recorded.

Changes since the prior version

No prior version with a result to compare.

What we did not test

  • use of the skill by an agent
Run date2026-11-16
Coverageinstall only
Engine1.9.2, script@linux
Reproducenpx -y vet-skills try safety-mcp-server
This recordbehavior.json, behavior.md, signed attestation

This is a record of what one version did in the runs we made. It is evidence, not a certificate.

Before you give it your token

It will ask for
no credential variables read in the code
Where it talks to
no vendor host named in the code
What we saw when it ran
no credential files read · no network
What we could not test
use of the skill by an agent

Connect it under the guard. Nothing executable in the bundle ran; the trace covers the install step only. The code names no credential variable; the guard pins the network to what the honeypot saw and logs every call.

$vet-skills run --net declared -- <the server's command>

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

Is safety-mcp-server@r1 safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (1 scenario; nothing executable in the bundle ran; the trace covers the install step only) on 2026-11-16 and scored it 65/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; Reads credential paths from the home directory. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 0 s · 1 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.0sprocessscript backend runs setup only
0.0sprocessscript backend runs setup only
0.0sprocessno install scripts to re-run

Static findings

HIGH
Access to sensitive file pathsinit-local.sh:34 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesv=$(sed -n 's/^APPROVER_GID=\([0-9]\+\)$/\1/p' "$DIR/.env"); [ -n "$v" ] && APPROVER_GID=$vFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsinit-local.sh:2 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# Создаёт каталог данных (по умолчанию local/) из шаблонов conf.example/ и .env.example.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
LOW
Collapsed <details> block carrying instructionsREADME.md:123 · Collapsed <details> block carrying instructions · informational: not an instruction file · informational: not an instruction file<summary>То же вручную</summary> ```bash ssh-keygen -t ed25519 -N "" -f ~/.ssh/safety_<стенд>_ro ssh-keygen -t ed25519 -N "" -f ~/.ssh/safety_<стенд>_rw mkdir -Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
CRITICAL
Reads credential paths from the home directorywrapper/deploy.sh:42 · Reads credential paths from the home directoryAK=$(ssh -n "${SSHO[@]}" "$U@$ADDR" 'cat ~/.ssh/authorized_keys 2>/dev/null' || true)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST03
HIGH
Access to sensitive file pathsinit-local.sh:67 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesif [ -e "$DIR/.env" ]; then note_old ".env"; else cp "$HERE/.env.example" "$DIR/.env"; note_new ".env"; fiFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsinit-local.sh:32 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesif [ -f "$DIR/.env" ]; thenFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commandconf.example/commands.json:90 · Privileged sudo command — agent may execute with elevated privileges"cmd": "sudo -n docker node ls"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathswrapper/deploy.sh:44 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesif [ "$INSTALL" != 1 ]; then echo "$NAME $ROLE: добавьте в ~/.ssh/authorized_keys строку: $LINE"; continue; fiFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsinit-local.sh:33 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesv=$(sed -n 's/^APPROVER_UID=\([0-9]\+\)$/\1/p' "$DIR/.env"); [ -n "$v" ] && APPROVER_UID=$vFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathswrapper/deploy.sh:42 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesAK=$(ssh -n "${SSHO[@]}" "$U@$ADDR" 'cat ~/.ssh/authorized_keys 2>/dev/null' || true)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
LOW
Collapsed <details> block carrying instructionsREADME.md:236 · Collapsed <details> block carrying instructions · informational: not an instruction file · informational: not an instruction file<summary>Claude Code</summary> ```bash claude mcp add --transport http safety-mcp-server http://127.0.0.1:8766/mcp \ --header "Authorization: Bearer $(cat localFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
MEDIUM
URL with embedded credentialstests/test_http.py:177 · URL with embedded credentials — may be phishing or credential leaking(lambda i, c: i["stands"]["prod"]["endpoints"]["app"].update(base_url="https://u:[email protected]"), "base_url"),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST07
MEDIUM
Access to sensitive file pathstests/test_approver.py:176 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system fileslambda r: r.update(cmd="touch -- /etc/passwd"), # хэш не совпадётFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Destructive file system command detectedDockerfile:10 · Destructive file system command detected&& rm -rf /var/lib/apt/lists/* \Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File permission modification commandinit-local.sh:8 · File permission modification command — agent changes file ownership/permissions# --no-chown не менять владельца каталогов approver (без Docker; для тестов)Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandwrapper/deploy.sh:33 · File permission modification command — agent changes file ownership/permissionsssh -n "${SSHO[@]}" "$U@$ADDR" "chmod 700 $D $D/safety-wrapper; chmod 600 $D/rules.*; $RM $D/safety-wrapper --version"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandinit-local.sh:55 · File permission modification command — agent changes file ownership/permissionschmod 700 "$DIR/keys-ro" 2>/dev/null || trueFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Python subprocess execution detectedtests/test_entry.py:13 · Python subprocess execution detectedreturn subprocess.run(["sh", ENTRY, *cmd], env=env, capture_output=True, text=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 commandDockerfile:21 · File permission modification command — agent changes file ownership/permissions&& mkdir -p /data && chown approver:approver /data && chmod 700 /data # владелец нового тома approver-stateFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commanddocker/deploy-in-container.sh:13 · File permission modification command — agent changes file ownership/permissionstr -d '\r' < /in/deploy_key > "$KD/.deploy_key"; chmod 600 "$KD/.deploy_key"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Access to sensitive file pathstests/test_approver.py:305 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesassert req(port, "GET", "/r/../../etc/passwd")[0] == 404Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File permission modification commanddocker/entry.sh:16 · File permission modification command — agent changes file ownership/permissionschmod 600 "$dst/$n"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commanddocker/deploy-in-container.sh:12 · File permission modification command — agent changes file ownership/permissionschmod 600 "$KD"/*Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Python subprocess execution detectedtests/test_wrapper.py:23 · Python subprocess execution detectedr = subprocess.run(["bash", WRAPPER, role], env=env, capture_output=True, text=True, timeout=10)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
MCP server using network transport (SSE/HTTP)SKILL.md:5 · MCP server using network transport (SSE/HTTP) — data sent over networkMCP server trollimo/safety-mcp-server on Glama, built from https://github.com/trollimo/safety-mcp-server.Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.
AST04
MEDIUM
Access to sensitive file pathsdocker-compose.windows.yml:2 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# Ключи — обычные папки (local\keys-ro, local\keys-rw или SAFETY_KEYS_RO_DIR / SAFETY_KEYS_RW_DIR в local\.env):Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File permission modification commandDockerfile:20 · File permission modification command — agent changes file ownership/permissionsRUN chmod 755 /app/docker/*.sh /app/wrapper/* \Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Privileged sudo commandtests/test_core_rules.py:101 · Privileged sudo command — agent may execute with elevated privilegesassert r"sudo -n docker node ls" in ro_m and r"sudo -n docker node ls" not in ro_wFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedtests/test_http.py:198 · Python subprocess execution detectedsubprocess.run(["openssl", "req", "-x509", "-newkey", "rsa:2048", "-nodes", "-days", "1", "-subj", "/CN=selfsigned",Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Access to sensitive file pathswrapper/deploy.sh:48 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesssh "${SSHO[@]}" "$U@$ADDR" "umask 077; mkdir -p ~/.ssh $D/backup; \Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Access to sensitive file pathstests/test_exec_tools.py:168 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesassert "ОШИБКА" in t["rw_result"].fn(id="../../etc/passwd")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File permission modification commandinit-local.sh:57 · File permission modification command — agent changes file ownership/permissionsfor d in conf state queue queue/requests; do [ -O "$DIR/$d" ] && chmod 755 "$DIR/$d"; doneFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Access to sensitive file pathstests/test_init_local.py:29 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesassert (d / ".env").read_text() == open(os.path.join(ROOT, ".env.example")).read()Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Access to sensitive file pathstests/test_exec_tools.py:169 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesassert "ОШИБКА" in t["dev_rw_file_create"].fn(host="dev-w1", path="/etc/passwd")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File permission modification commandinit-local.sh:56 · File permission modification command — agent changes file ownership/permissions[ -O "$DIR/keys-rw" ] && chmod 700 "$DIR/keys-rw"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Python subprocess execution detectedtests/test_wrapper.py:63 · Python subprocess execution detectedr = subprocess.run(["bash", WRAPPER, "--version"], capture_output=True, text=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Privileged sudo commandtests/conftest.py:48 · Privileged sudo command — agent may execute with elevated privileges"cmd": "sudo -n docker node ls"},Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedtests/test_init_local.py:14 · Python subprocess execution detectedreturn subprocess.run(["bash", SCRIPT, "--dir", str(tmp_path / "data"), "--no-chown", *args],Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Access to sensitive file pathstests/test_core_rules.py:73 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files@pytest.mark.parametrize("path", ["safety-sandbox", "safety-sandbox/../etc/passwd", "/etc/passwd", "safety-sandbox/.ssh",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 pathswrapper/deploy.sh:49 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files{ [ ! -e ~/.ssh/authorized_keys ] || cp -p ~/.ssh/authorized_keys $BAK; }; \Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File permission modification commandinit-local.sh:98 · File permission modification command — agent changes file ownership/permissions"test ! -e /w/keys-rw/$rw && cp /t/$rw /t/$rw.pub /w/keys-rw/ && chmod 600 /w/keys-rw/$rw"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Python subprocess execution detectedsafety_mcp/sshexec.py:64 · Python subprocess execution detectedr = subprocess.run(ssh_argv(stand, host, role, remote_cmd), capture_output=True, text=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
≈39 tok
1 file · 46 in bundle

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

Known vulnerabilities

Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.

What would make this Verified

15 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Reads credential paths from the home directory≈ +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 trollimo: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  3. 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.
  4. Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  5. New publisher≈ +3 on the totalTime clears this on its own after 14 and 30 days. Claiming the handle (+50) is the fastest way past it.
  6. URL with embedded credentials≈ +2 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
Publish a new version to Glama, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim trollimoPropose a patch to the maintainer