Skills/PyPI/zsnoop-mcp

zsnoop-mcp@0.4.3

CAUTION· not started

Publisher 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.

Registry PyPI (MCP server)Publisher hamsolodev · publishing for 185 daysInstalls 81Last detonated 3d 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.

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 date2026-11-22
Coveragenot started
Engine1.9.2, script@linux
Reproducenpx -y vet-skills try zsnoop-mcp
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
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.

$vet-skills run --net declared -- uvx zsnoop-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-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 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.2sprocessdependency install exit 1 ·
0.2sclaimednot started: dependency install failed (exit 1); the server itself was not observed
0.2sprocessscript backend runs setup only
0.2sprocessno install scripts to re-run

Static findings

MEDIUM
Privileged sudo commandtests/test_config.py:235 · Privileged sudo command — agent may execute with elevated privilegesassert cfg.hosts["c3po"].sudo is TrueFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Privileged sudo commandtests/test_config.py:25 · Privileged sudo command — agent may execute with elevated privilegesassert host.sudo is FalseFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandagent/zfs_snoop_agent.py:1917 · Privileged sudo command — agent may execute with elevated privilegesFor 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.
AST05
MEDIUM
Python subprocess execution detectedagent/zfs_snoop_agent.py:301 · Python subprocess execution detectedresult = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Privileged sudo commandtests/test_config.py:50 · Privileged sudo command — agent may execute with elevated privilegesassert host.sudo is TrueFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Access to sensitive file pathstests/test_methods.py:631 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# /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.
AST05
MEDIUM
Python exec or eval of computed codesrc/zsnoop_mcp/transport.py:84 · Python exec or eval of computed codef"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.
AST05
MEDIUM
Destructive command against a filesystem root or devicetests/test_methods.py:343 · Destructive command against a filesystem root or deviceagent.m_pool_status({"pool": "rpool;rm -rf /"})Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathssrc/zsnoop_mcp/server.py:946 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filescheck, 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.
AST05
MEDIUM
Privileged sudo commandtests/test_config.py:229 · Privileged sudo command — agent may execute with elevated privilegessudo = trueFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/zsnoop_mcp/config.py:10 · Privileged sudo command — agent may execute with elevated privilegessudo = falseFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Destructive file system command detectedtests/test_methods.py:343 · Destructive file system command detectedagent.m_pool_status({"pool": "rpool;rm -rf /"})Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Privileged sudo commandtests/test_config.py:287 · Privileged sudo command — agent may execute with elevated privilegeshost.sudo = True # type: ignore[misc]Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Privileged sudo command.github/pull_request_template.md:28 · Privileged sudo command — agent may execute with elevated privileges- [ ] 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.
AST05
MEDIUM
Access to sensitive file pathstests/conftest.py:72 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesescape -> /etc/passwd (escape attempt)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commandsrc/zsnoop_mcp/config.py:17 · Privileged sudo command — agent may execute with elevated privilegessudo = trueFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/zsnoop_mcp/config.py:62 · Privileged sudo command — agent may execute with elevated privilegessudo = falseFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandsrc/zsnoop_mcp/config.py:79 · Privileged sudo command — agent may execute with elevated privileges"sudo mode, local transport, ssh_options, etc.).\n"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Access to sensitive file pathstests/conftest.py:88 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files(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.
AST05
MEDIUM
Access to sensitive file pathstests/test_methods.py:625 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"""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.
AST05
HIGH
Privileged sudo commandsrc/zsnoop_mcp/server.py:963 · Privileged sudo command — agent may execute with elevated privilegesrecoveries, enable sudo mode on the host.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Access to sensitive file pathstests/test_methods.py:1492 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files{"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.
AST05
LOW
Authorization escalation languagedocs/SECURITY.md:221 · Authorization escalation language · informational: not an instruction filesnapshot of `rpool/ROOT/debian`). In sudo mode:Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
LOW
Authorization escalation languagedocs/onboarding/08-security.md:148 · Authorization escalation language · informational: not an instruction file- [ ] 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.
AST01
LOW
Authorization escalation languagedocs/onboarding/08-security.md:123 · Authorization escalation language · informational: not an instruction filefiles (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.
AST01
LOW
Authorization escalation languagedocs/SECURITY.md:217 · Authorization escalation language · informational: not an instruction file## Sudo mode tradeoffFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
MEDIUM
Access to sensitive file pathstests/test_server.py:793 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filestarget_path="/etc/passwd",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_server.py:551 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filespath="../etc/passwd",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
LOW
Authorization escalation language.github/pull_request_template.md:28 · Authorization escalation language · informational: not an instruction file- [ ] 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.
AST01
MEDIUM
Access to sensitive file pathstests/test_server.py:784 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesprefixes (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.
AST05
MEDIUM
Access to sensitive file pathstests/test_methods.py:633 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesassert escape["bytes"] == len("/etc/passwd")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
LOW
Authorization escalation languagedocs/INSTALL.md:50 · Authorization escalation language · informational: not an instruction fileIn 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.
AST01
LOW
Authorization escalation languagedocs/SECURITY.md:148 · Authorization escalation language · informational: not an instruction fileIn **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.
AST01
LOW
Authorization escalation languagedocs/USAGE.md:251 · Authorization escalation language · informational: not an instruction file- 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.
AST01
MEDIUM
Access to sensitive file pathstests/test_path_safety.py:28 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesagent.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.
AST05
LOW
Authorization escalation languagedocs/INSTALL.md:9 · Authorization escalation language · informational: not an instruction filepools (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.
AST01
LOW
HTML comment carrying imperative instructions to the agent.github/pull_request_template.md:12 · HTML comment carrying imperative instructions to the agent · informational: not an instruction file- 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.
AST01
LOW
Authorization escalation languageREADME.md:229 · Authorization escalation language · informational: not an instruction fileSee [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.
AST01
MEDIUM
Access to sensitive file pathstests/test_path_safety.py:32 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# ``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.
AST05
LOW
Authorization escalation languageCONTRIBUTING.md:71 · Authorization escalation language · informational: not an instruction file- 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.
AST01
LOW
Authorization escalation languagedocs/onboarding/08-security.md:122 · Authorization escalation language · informational: not an instruction fileSudo 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.
AST01
MEDIUM
Access to sensitive file pathstests/test_path_safety.py:66 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files{"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.
AST05
LOW
Authorization escalation languageREADME.md:273 · Authorization escalation language · informational: not an instruction file- [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.
AST01
LOW
Authorization escalation languagedocs/USAGE.md:24 · Authorization escalation language · informational: not an instruction filerequire **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.
AST01
LOW
Authorization escalation languagedocs/onboarding/08-security.md:120 · Authorization escalation language · informational: not an instruction file## Sudo mode tradeoffFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
LOW
Authorization escalation languagedocs/USAGE.md:97 · Authorization escalation language · informational: not an instruction file`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.
AST01
LOW
Authorization escalation languagedocs/INSTALL.md:36 · Authorization escalation language · informational: not an instruction file| | **User mode** (default) | **Sudo mode** |Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
LOW
Authorization escalation languagedocs/SECURITY.md:219 · Authorization escalation language · informational: not an instruction fileSudo 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.
AST01
MEDIUM
Access to sensitive file pathstests/test_validation.py:78 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"etc/../../../etc/passwd",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
LOW
Authorization escalation languagedocs/SECURITY.md:150 · Authorization escalation language · informational: not an instruction filedefence; 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.
AST01
MEDIUM
Access to sensitive file pathstests/test_server.py:801 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"""`/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.
AST05
MEDIUM
Access to sensitive file pathstests/test_validation.py:77 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"../etc/passwd",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
LOW
Authorization escalation languagedocs/INSTALL.md:48 · Authorization escalation language · informational: not an instruction file### Passwordless sudo for sudo modeFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
LOW
Authorization escalation languagedocs/onboarding/08-security.md:109 · Authorization escalation language · informational: not an instruction file`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.
AST01
LOW
Authorization escalation languageCHANGELOG.md:504 · Authorization escalation language · informational: not an instruction file- 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.
AST01

Cost to the agent

Instructions loaded
≈68 tok
1 file · 60 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 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%
  1. 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.
  2. Privileged sudo command≈ +2 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  3. Python subprocess execution detected≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
  4. 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.
  5. 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.
  6. Destructive command against a filesystem root or device≈ +2 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 hamsolodevPropose a patch to the maintainer