mcp-leash@0.7.0
CAUTION· not startedPublisher claims: "Runtime permission firewall for MCP servers (stdio proxy)" Observed in sandbox: no network, touches nothing outside the project, writes no memory.
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.
Before you give it your token
Code inventory arrives with this version's next honeypot run.- It will ask for
- unknown until the next run
- Where it talks to
- unknown until the next run
- What the honeypot saw
- no credential files read · no network
- What we could not test
- server startup · the tool list · tool behavior
Not enough was observed to say yet. Not started: dependency install failed; the server itself was not observed. This version's code has not been inventoried for credentials and hosts either; both arrive with its next honeypot run (popular servers first). `vet-skills try mcp-leash` runs it now and prints the full answer.
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-08 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; Destructive file system command detected; Destructive command against a filesystem root or device. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 2 scenarios · 0 deviationsStatic findings
"params": {"name": "run_cmd", "arguments": {"cmd": "rm -rf /"}}}Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.allowlist on paths must not be a door to `/srv/data/../../etc/passwd`.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.ok, reason = jail_mod.tool_allowed(pol, "run_cmd", {"cmd": "rm -rf /"})Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.proc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.["rm", "-rf", "/"] is also seen as "rm -rf /"."""Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.mcp-leash --policy policy.json -- npx -y some-mcp-serverFix: Pin versions and sources; vendor anything fetched at install time.["rm", "-rf", "/"] is also seen as "rm -rf /"."""Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# /srv/data/../../etc/passwd -- or, with a Windows prefix,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."args": {"cmd": "rm -rf /"}, "at": 1700000000}Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."mcp-leash --policy p.json -- npx -y srv")Fix: Pin versions and sources; vendor anything fetched at install time.pol, "run_cmd", {"cmd": "rm -rf /"})[0])Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.pol, "run_cmd", {"cmd": "rm -rf /", "count": 3})Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."""While active, the signals of _stop_signals() do not kill the jail: theFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.pol, "read_file", {"path": {"$ref": "/etc/passwd"}})Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."\uff4d\uff45\uff54\uff48\uff4f\uff44", "method\u200b", " method",Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own."params": {"name": "run_cmd", "arguments": {"cmd": "rm -rf /"}}}Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.ok, reason = jail_mod.tool_allowed(pol, "run_cmd", {"cmd": "rm -rf /"})Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."files": [{"path": "/tmp/a"}, {"path": "/etc/shadow"}]})[0])Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.pol, "run_cmd", {"cmd": "rm -rf /"})[0])Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.pol, "read_file", {"path": "/etc/passwd", "x": {"path": "/tmp/a"}})Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."args": {"cmd": "rm -rf /"}, "at": 1700000000}Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.pol, "run_cmd", {"cmd": "rm -rf /", "count": 3})Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."""Round-3 panel findings: response handling must never kill the proxy."""Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.stops it: SIGTERM, then a kill (terminate() on Windows). It used to stopFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.proc = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.{"path": "/etc/passwd"})Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.pol, "read_file", {"path": "/etc/passwd"})[0])Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.proc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.proc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.proc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.proc = subprocess.Popen(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. 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 mcp-leash@0.7.0 as of 6d ago. This is the package itself, not its dependencies.
What would make this Verified
15 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Unclaimed publisher≈ +8 on the totalClaim calasdan-sketch: 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.
- Destructive file system command detected≈ +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.
- Destructive command against a filesystem root or device≈ +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.