server-vault@r1
CAUTION· install onlyPublisher claims: "Enables AI agents to securely manage server credentials, execute commands, inspect and rotate passwords, discover websites and containers, and access GPU/NPU status through permission-scoped MCP tools and REST endpoints." 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-14, server-vault@r1 read no files and called no hosts, and its code names 9 environment variables. Coverage: install only.
Files read
None recorded.
Hosts called
None recorded.
Environment variables its code names
BT_PANEL, SV_DATA_DIR, SV_HOST, SV_KEYCHAIN, SV_MASTER_PASSWORD, SV_PORT, SV_SSH_DIR, SV_TOKEN, SV_URL
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-14 |
| Coverage | install only |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try server-vault |
| 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
SV_MASTER_PASSWORDSV_TOKENConfiguration, not credentials: BT_PANEL, SV_DATA_DIR, SV_HOST, SV_KEYCHAIN, SV_PORT, SV_SSH_DIR, SV_URL- Where it talks to
- no vendor host named in the codeAlso ip-api.com, apple.com, jsdelivr.net — not the publisher's domain; check what for before connecting.
- 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 with a scoped credential, under the guard, and read the third-party hosts first. The code names ip-api.com, apple.com, jsdelivr.net as well as its own vendor. The guard injects SV_MASTER_PASSWORD, SV_TOKEN only into requests to the host you bind (and its subdomains) and refuses the rest.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is server-vault@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-14 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: Privileged sudo command; Reads credential paths from 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 · 1 scenarios · 0 deviationsStatic findings
return ssh.run(client, f"sudo -n {wrapped}", 60, stdin)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."""从本机 OpenSSH 配置(~/.ssh/config)导入服务器。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.私钥在服务端读取后直接加密入库,主机指纹取自 ~/.ssh/known_hosts。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.面板文件属于 root,非 root 账号会自动通过 sudo 执行。Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."""按本机 ~/.ssh/config 规则(含 Match / 通配符)得到该地址应使用的 ProxyCommand。"""Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."""以 root 身份执行(root 直接执行;否则自动使用免密 sudo 或带密码 sudo)。"""Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.return ssh.run(client, f"sudo -S -p '' {wrapped}", 60, current + "\n" + stdin)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.S=""; if [ "$(id -u)" != 0 ] && sudo -n true 2>/dev/null; then S="sudo -n"; fiFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."""从本机 OpenSSH 配置(~/.ssh/config)导入服务器。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."notes": f"从本机 ~/.ssh/config 导入" + (f"(私钥 {item['key_path']})" if key_text else f"({item['key_note']},请补充密码)"),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.SSH_DIR = Path(os.environ.get("SV_SSH_DIR") or os.path.expanduser("~/.ssh"))Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.if sudo and row["username"] != "root":Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.mkdir -p ~/.sshFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…te="new-password" placeholder="${s?.has_password ? '••••••••' : '服务器密码(私钥认证时也用于 sudo / 轮换)'}"> <button type="button" class="btn" id="genPw">生成</button><butto…Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.: '密码:自动选择方式 —— 免密 sudo / 带密码 sudo → chpasswd;无 sudo → 交互式 passwd(需当前密码,只需提供一次)'}<br>Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."""在 PTY 中驱动交互式 passwd(无 root / sudo 权限的账号用),返回 (exit_code, 输出)。"""Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.r = httpx.post(BASE + "/api/agent/servers/web-01/exec", headers=H(t_ops), json={"command": "rm -rf / "})Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."""探测非 root 账号的 sudo 能力:'nopasswd' 免密 / 'password' 需密码且可用 / None 不可用。"""Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.… Host 的最终配置(含 ProxyCommand / Match)。私钥在本机服务端读取后直接加密入库;主机指纹取自 <span class="mono">~/.ssh/known_hosts</span>,首次连接即校验。</div> <div class="import-list"><table class="tb…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.steps.append("未找到可用的本机密钥(~/.ssh/id_ed25519 或 id_rsa),仅使用密码登录")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.<div class="hint" style="margin-top:10px">Agent 执行的命令会经过「设置 → Agent 命令拦截规则」检查(如 rm -rf /、mkfs、shutdown 等),所有调用写入审计日志。</div></div>`;Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.<label class="check" style="margin-left:18px"><input type="checkbox" name="write_config" checked>写入 ~/.ssh/config 与 known_hosts(终端可直接 ssh 名称)</label></div>Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.p = subprocess.run(args, capture_output=True, text=True, timeout=10, stdin=subprocess.DEVNULL)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.f=~/.ssh/authorized_keysFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."""快速添加:只填 IP + 账号密码,自动完成命名、安装本机 SSH 公钥、写入 ~/.ssh/config 与 known_hosts、检测与采集。"""Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.<option value="auto">自动(按 ~/.ssh/config 规则,内网自动走代理)</option><option value="socks">经 SOCKS5 代理</option>Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.body: '<div class="empty">正在解析 ~/.ssh/config …</div>',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.${s.username !== 'root' ? '<label class="check"><input type="checkbox" id="sudo">sudo 执行</label>' : ''}Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.audit(actor, "exec", row, ("[sudo] " if sudo else "") + command[:1000], ok=(code == 0))Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.p = subprocess.run(["security", "-i"], input=cmd, capture_output=True, text=True, timeout=10)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."sudo": {"type": "boolean", "description": "非 root 账号以 sudo 执行"}}, "required": ["server", "command"]}},Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.subprocess.run(["security", "delete-generic-password", "-s", SERVICE, "-a", ACCOUNT], capture_output=True, timeout=10)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.p = subprocess.run(["security", "find-generic-password", "-s", SERVICE, "-a", ACCOUNT, "-w"],Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.return cmd, False, (f"按 ~/.ssh/config 规则经代理:{cmd}" if cmd else "直连(~/.ssh/config 无代理规则)")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.clean = f"""f=~/.ssh/authorized_keysFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.mkdir -p ~/.sshFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const r = await api(`/servers/${s.id}/exec`, { method: 'POST', body: { command: `kill ${+b.dataset.kill}`, sudo: s.username !== 'root' } });Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.raise ServiceError("sudo 需要账号密码,但该服务器未保存密码")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.f=~/.ssh/authorized_keysFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.p = subprocess.run(["ssh-keygen", "-F", name, "-f", str(SSH_DIR / "known_hosts")], capture_output=True, text=True, timeout=10)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.return f"sudo -S -p '' sh -c {shlex.quote(command)}", pw + "\n"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.wrap.innerHTML = `<div class="card empty">${ICON.server}${S.servers.length ? '没有匹配的服务器' : '还没有服务器 —— 点击右上角「从本机 SSH 导入」一键导入 ~/.ssh/config,或手动新增'}</div>`;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.cmd, timeout, sudo = payload.get("command"), payload.get("timeout"), payload.get("sudo", False)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.p = subprocess.run([sys.executable, str(ROOT / "mcp_stdio.py")], input=msgs.encode(), capture_output=True,Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.sudo_prefix = "sudo -S -p '' "Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.- 用户密码保存在内存 USERS 中,模拟 chpasswd / sudo 修改密码Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.ok(r["stdout"].strip() == "via-sudo" and r["exit_code"] == 0, "sudo 执行")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.NOPASSWD = {"ops"} # 免密 sudoFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.- 普通命令在本机 sh 中执行,PATH 前置 fake bin(nginx / ss / docker / sudo 假实现)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.ok(r["method"] == "sudo -n chpasswd" and r["verified"] and mock_sshd.USERS["ops"] != "OpsPass#1", "免密 sudo → sudo -n chpasswd")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.p = subprocess.run(["sh", "-c", cmd], input=stdin.encode(), capture_output=True, env=env(user), timeout=60)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.r = httpx.post(BASE + "/api/agent/servers/web-01/exec", headers=H(t_ops), json={"command": "rm -rf / "})Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.ok(f"# >>> server-vault: {q['name']} >>>" in cfg and "HostName 127.0.0.1" in cfg and "Port 2222" in cfg and "Host existing" in cfg, "写入 ~/.ssh/config 且保留原有内容")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.ok(r["verified"] and mock_sshd.USERS["deploy"] == "Custom#Pass99", "非 root + sudo 自定义密码轮换")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.srv = subprocess.Popen([sys.executable, "-m", "uvicorn", "app.main:app", "--host", "127.0.0.1", "--port", str(PORT)],Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.SUDOERS = {"root", "deploy"} # sudo 需要密码Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.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 sikefix: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- 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.
- 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.
- Destructive file system command detected≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.