safety-mcp-server@r1
CAUTION· install onlyPublisher 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.
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 date | 2026-11-16 |
| Coverage | install only |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try safety-mcp-server |
| This record | behavior.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.
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 deviationsStatic findings
v=$(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.# Создаёт каталог данных (по умолчанию local/) из шаблонов conf.example/ и .env.example.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.<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.AK=$(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.if [ -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.if [ -f "$DIR/.env" ]; thenFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."cmd": "sudo -n docker node ls"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.if [ "$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.v=$(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.AK=$(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.<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.(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.lambda 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.&& rm -rf /var/lib/apt/lists/* \Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# --no-chown не менять владельца каталогов approver (без Docker; для тестов)Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.ssh -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.chmod 700 "$DIR/keys-ro" 2>/dev/null || trueFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.return 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.&& 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.tr -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.assert 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.chmod 600 "$dst/$n"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.chmod 600 "$KD"/*Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.r = 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.MCP 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.# Ключи — обычные папки (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.RUN chmod 755 /app/docker/*.sh /app/wrapper/* \Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.assert 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.subprocess.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.ssh "${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.assert "ОШИБКА" 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.for 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.assert (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.assert "ОШИБКА" 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.[ -O "$DIR/keys-rw" ] && chmod 700 "$DIR/keys-rw"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.r = 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."cmd": "sudo -n docker node ls"},Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.return 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.@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.{ [ ! -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."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.r = 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.Cost to the agent
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%- 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.
- 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.
- 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.
- Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- 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.
- 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.