zsnoop-mcp@0.4.3
CAUTION· not startedPublisher claims: "MCP server for ZFS snapshot exploration and recovery on remote hosts over SSH (read-only by default, opt-in restore; AI-assisted)" In our sandbox: Not started: dependency install failed; the server itself was not observed.
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.
Behavior
In our sandbox run on 2026-11-22, [email protected] read no files and called no hosts, and its code names 3 environment variables. Coverage: not started.
Files read
None recorded.
Hosts called
None recorded.
Environment variables its code names
SSH_AUTH_SOCK, ZSNOOP_CONFIG, ZSNOOP_LOG_LEVEL
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
- server startup
- the tool list
- tool behavior
| Run date | 2026-11-22 |
| Coverage | not started |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try zsnoop-mcp |
| 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
SSH_AUTH_SOCKConfiguration, not credentials: ZSNOOP_CONFIG, ZSNOOP_LOG_LEVEL- 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
- server startup · the tool list · tool behavior
Connect it with a scoped credential, under the guard. It asks for SSH_AUTH_SOCK 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.
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-22 and scored it 75/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; Access to sensitive file paths; Privileged sudo command. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 2 scenarios · 0 deviationsStatic findings
assert cfg.hosts["c3po"].sudo is TrueFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.assert host.sudo is FalseFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.For root-owned recoveries, run the agent under sudo mode on that host.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.result = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.assert host.sudo is TrueFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# /etc/passwd is typically >1 KB; if we'd followed the link, bytes wouldFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.f"exec(compile(base64.b64decode('{encoded}').decode(), '<zfs-snoop-agent>', 'exec'))\n"Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.agent.m_pool_status({"pool": "rpool;rm -rf /"})Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.check, so ``/srv/../etc/passwd`` or a symlinked escape is rejectedFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.sudo = trueFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.sudo = falseFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.agent.m_pool_status({"pool": "rpool;rm -rf /"})Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.host.sudo = True # type: ignore[misc]Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.- [ ] If the change only makes sense in sudo mode, the tradeoff isFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.escape -> /etc/passwd (escape attempt)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.sudo = trueFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.sudo = falseFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."sudo mode, local transport, ssh_options, etc.).\n"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.(snap_root / "escape").symlink_to("/etc/passwd")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."""The `escape` symlink points to /etc/passwd; we count the link only."""Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.recoveries, enable sudo mode on the host.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.{"snapshot": mock_mountpoint["snapshot_name"], "path": "../etc/passwd"},Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.snapshot of `rpool/ROOT/debian`). In sudo mode:Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.- [ ] If sudo mode is the only way the change makes sense, is theFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.files (e.g. `/etc/foo` from a snapshot of `rpool/ROOT/debian`). In sudoFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.## Sudo mode tradeoffFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.target_path="/etc/passwd",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.path="../etc/passwd",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- [ ] If the change only makes sense in sudo mode, the tradeoff isFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.prefixes (here: /srv/, /home/mch/). /etc/passwd is not."""Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.assert escape["bytes"] == len("/etc/passwd")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.In sudo mode, the SSH user must be able to run `sudo python3 …` (bootstrap mode)Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.In **sudo mode** the agent runs as root and this defence does not apply. TheFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.- Sudo mode is per-host and required to read files the SSH user doesn't ownFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.agent.resolve_under_snapshot(mock_mountpoint["snapshot_name"], "../../../etc/passwd")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.pools (user mode) or have passwordless `sudo` (sudo mode).Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.- New / updated tests - Manual smoke tests run (`uv run pytest`, `uv run mkdocs build --strict`, etc.) - E2E against a real ZFS host (if applicable; brief outpuFix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.See [docs/INSTALL.md](https://github.com/hamsolodev/zsnoop-mcp/blob/main/docs/INSTALL.md) for the full setup, including sudoFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.# ``escape`` symlinks to /etc/passwd. resolve() follows it; the boundaryFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- If sudo mode is the only way the change makes sense, is the tradeoffFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.Sudo mode exists to support legitimate reads from root-owned snapshotFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.{"snapshot": mock_mountpoint["snapshot_name"], "path": "../etc/passwd"},Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- [Installation](https://github.com/hamsolodev/zsnoop-mcp/blob/main/docs/INSTALL.md) — local setup, ZFS delegation, sudo modeFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.require **sudo mode** for that host — see [SECURITY.md](SECURITY.md).)Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.## Sudo mode tradeoffFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.`allow_restore = true` — restore inherits the sudo mode used by theFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.| | **User mode** (default) | **Sudo mode** |Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.Sudo mode is opt-in per host and exists to support the legitimate use caseFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct."etc/../../../etc/passwd",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.defence; mutation operations are still not in the dispatch table. See "SudoFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct."""`/srv/../etc/passwd` resolves to `/etc/passwd`, which is NOT underFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."../etc/passwd",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.### Passwordless sudo for sudo modeFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.`mount` / `send` through `zfs(8)`. In sudo mode this defence does notFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.- Sudo mode (opt-in per host) for reading root-owned snapshot files.Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.Cost to the agent
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 zsnoop-mcp@0.4.3 as of 3d ago. This is the package itself, not its dependencies.
What would make this Verified
5 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Unclaimed publisher≈ +8 on the totalClaim hamsolodev: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Privileged sudo command≈ +2 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- Python subprocess execution detected≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
- Access to sensitive file paths≈ +2 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Python exec or eval of computed code≈ +2 on the totalPut hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
- Destructive command against a filesystem root or device≈ +2 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.