mcpiranha@0.4.1
CAUTION· not startedPublisher claims: "MCP security scanner for Model Context Protocol servers, configs and packages" 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
- It will ask for
- no credential variables read in the code
- Where it talks to
- no vendor host named in the codeAlso huggingface.co, osv.dev, schemastore.org, koi.ai, mitre.org, simonwillison.net, webhook.site — 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
- server startup · the tool list · tool behavior
Connect it under the guard. Not started: dependency install failed; the server itself was not observed. 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.
What changed since 0.3.0
vet-skills diff mcpiranha 0.3.0 0.4.1This version reaches for something 0.3.0 did not: 7 new hosts (huggingface.co, koi.ai, mitre.org, osv.dev, …) · 2 new credential files (~/.aws/credentials, ~/.ssh/id_rsa). Compared from the two recorded runs, not from source.
- New hosts
- huggingface.co, koi.ai, mitre.org, osv.dev, schemastore.org, simonwillison.net, webhook.site
- New credential files
- ~/.aws/credentials, ~/.ssh/id_rsa
0.3.0 was not run in the sandbox (install failed); the comparison covers what static analysis recorded only.
The guard can hold an update like this until someone approves it (runtime.on_change: hold). A change that only shows with a real credential, or on a path the run did not reach, is not in a trace and so not in this comparison.
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 68/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: HTTP URL with a raw public IP address; References a credential file in the home directory; References a credential file in the home directory. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 2 scenarios · 0 deviationsStatic findings
("ssrf", "http://192.0.2.1/mcpiranha"),Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.- SRC-004: running decoded or downloaded code (eval(atob(...)), exec(b64decode(...))). NotFix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own."sensitive_file", # a literal path to credentials (~/.ssh, ~/.aws/credentials, ...)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- SRC-003: literal paths to credential stores (~/.ssh, ~/.aws/credentials, browser logins), inFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# `curl ... | sh` in an install script: the download runs at install timeFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.if flagged is not None: # npx -p pkg cmd args: the positional is the command to runFix: Pin versions and sources; vendor anything fetched at install time.HONEY_PATHS = (".ssh/id_rsa", ".aws/credentials", ".env", ".config/chromium/Default/Cookies")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.elif callee in _ENUMERATE and re.match(r"\(\s*process\.env\s*\)", arg_text):Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.tunnels read ~/.ssh/id_rsa, security tools list these paths to block them.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.`curl | sh` strings: calibration found them only in install instructions and deny-lists.Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.r"""\(\s*(os\.homedir\(\)|homedir\(\)|process\.env\.HOME|['"`]/['"`]|['"`]~['"`])\s*[,)]"""Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.A calculator or weather tool has no reason to tell the model to read `~/.ssh/id_rsa`, `.env` or theFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.("ssrf", "http://192.0.2.1/mcpiranha"),Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls."&& rm -rf /var/lib/apt/lists/*\n"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.or re.search(r"process\.env\s*\[", context)): # fmt: skipFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.if callee == "JSON.stringify" and re.match(r"\(\s*process\.env\s*[,)]", arg_text):Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.Clients launch most servers through a package runner (`npx -y pkg`, `uvx pkg`, `docker run image`),Fix: Pin versions and sources; vendor anything fetched at install time.rb"vssadmin|del /|format [a-z]:|Net\.Sockets|socat|mkfifo|nc -e|"Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.Only strings that look like a path or URL count: tool descriptions mention `~/.ssh` andFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.A calculator or weather tool has no reason to tell the model to read `~/.ssh/id_rsa`, `.env` or theFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."""os.environ, os.environ.items()/keys()/values()/copy(), dict(os.environ)."""Fix: Never read or enumerate credential locations; accept a documented environment variable instead.- whole: the argument itself (`exec(command)` in a shell tool, `fetch(url)` in a fetch tool) isFix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.- SRC-004: running decoded or downloaded code (eval(atob(...)), exec(b64decode(...))). NotFix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.r"|\.pypirc$|\.netrc$|\.git-credentials$|\.docker[/\\]config\.json|\.kube[/\\]config"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- SRC-003: literal paths to credential stores (~/.ssh, ~/.aws/credentials, browser logins), inFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# What --connect actually installed: catches `npx -y pkg` silently moving to a new release.Fix: Pin versions and sources; vendor anything fetched at install time.rb"vssadmin|del /|format [a-z]:|Net\.Sockets|socat|mkfifo|nc -e|"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# `rm -rf /` and `bash -i >& /dev/tcp/...` (calibration: 5 of 84 packages, all benign).Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.(re.compile(_B + r"\.env(\.[a-z]+)?\b|\bdotenv\s+(file|document)\b", _I), "dotenv file"),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.'req="$1"; name="$2"; shift 2; rm -rf /work/venv && uv venv -q /work/venv && 'Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.`curl | sh` strings: calibration found them only in install instructions and deny-lists.Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.tunnels read ~/.ssh/id_rsa, security tools list these paths to block them.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.A calculator or weather tool has no reason to tell the model to read `~/.ssh/id_rsa`, `.env` or theFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."sensitive_file", # a literal path to credentials (~/.ssh, ~/.aws/credentials, ...)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.trace = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.tunnels read ~/.ssh/id_rsa, security tools list these paths to block them.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.".netrc", ".pypirc", ".git-credentials", ".kube"}) # fmt: skipFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.servers that search for `.env` files, warn against committing secrets, or store keys in theFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.entry: str | None = None # executable to run when named explicitly (uvx cmd, npx -p pkg cmd)Fix: Pin versions and sources; vendor anything fetched at install time.Package runners like `npx -y` fetch and run it with no prompt.Fix: Pin versions and sources; vendor anything fetched at install time."""(version, how) the way npx picks it: a dist-tag, an exact version, or the highest match."""Fix: Pin versions and sources; vendor anything fetched at install time.# helper(x) or self.helper(x); not subprocess.run(...) that shares a local nameFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."npx and uvx run these scripts as soon as they install the server. Many are builds of "Fix: Pin versions and sources; vendor anything fetched at install time.# `curl ... | sh` in an install script: the download runs at install timeFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."Pass arguments as a list without a shell (subprocess.run([...]), execFile), or quote "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
Not checked against OSV yet; the weekly check has not reached this version.
What would make this Verified
12 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Pipe-to-shell pattern≈ +9 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
- 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.
- Pipe to network utility≈ +9 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
- Unclaimed publisher≈ +8 on the totalClaim ethanroubal: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Obfuscated code≈ +5 on the totalRemove base64-assembled strings, eval of decoded text and minified blobs. Reviewers and scanners both treat unreadable code as hostile.
- HTTP URL with a raw public IP address≈ +4 on the totalReplace encoded or assembled strings with plain literals and remove undeclared network calls.