Skills/PyPI/mcpiranha

mcpiranha@0.4.1

CAUTION· not started

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

Registry PyPI (MCP server)Publisher ethanroubal · publishing for 30 daysInstalls 566Last detonated 31 min 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.

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.

$vet-skills run --net declared -- uvx MCPiranha

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

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

Static findings

HIGH
HTTP URL with a raw public IP addresssrc/mcpiranha/dynamic/invoke.py:18 · HTTP URL with a raw public IP address — a hard-coded destination that domain-based monitoring cannot name("ssrf", "http://192.0.2.1/mcpiranha"),Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
MEDIUM
Python exec or eval of computed codesrc/mcpiranha/rules/builtin/source_behavior.py:12 · Python exec or eval of computed code- 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.
AST05
HIGH
References a credential file in the home directorysrc/mcpiranha/core/models.py:175 · References a credential file in the home directory"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.
AST03
HIGH
References a credential file in the home directorysrc/mcpiranha/rules/builtin/source_behavior.py:9 · References a credential file in the home directory- 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.
AST03
CRITICAL
Pipe-to-shell patternsrc/mcpiranha/source/__init__.py:54 · Pipe-to-shell pattern — downloads and immediately executes remote code# `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.
AST06
MEDIUM
npx invocation of non-well-known packagesrc/mcpiranha/core/launch.py:184 · npx invocation of non-well-known package — may execute untrusted codeif 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.
AST06
HIGH
Access to sensitive file pathssrc/mcpiranha/dynamic/constants.py:4 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesHONEY_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.
AST05
HIGH
Access to sensitive file pathssrc/mcpiranha/source/javascript.py:171 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system fileselif 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.
AST05
CRITICAL
Reads credential paths from the home directorysrc/mcpiranha/rules/builtin/source_behavior.py:11 · Reads credential paths from the home directorytunnels 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.
AST03
MEDIUM
Remote installer piped to shellsrc/mcpiranha/rules/builtin/source_behavior.py:13 · Remote installer piped to 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.
AST07
HIGH
Access to sensitive file pathssrc/mcpiranha/source/javascript.py:32 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesr"""\(\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.
AST05
HIGH
Access to sensitive file pathssrc/mcpiranha/rules/builtin/sensitive_paths.py:3 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesA 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.
AST05
MEDIUM
URL using a raw public IP addresssrc/mcpiranha/dynamic/invoke.py:18 · URL using a raw public IP address — may bypass domain-based filtering("ssrf", "http://192.0.2.1/mcpiranha"),Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
HIGH
Destructive file system command detectedsrc/mcpiranha/dynamic/runtime.py:90 · Destructive file system command detected"&& rm -rf /var/lib/apt/lists/*\n"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathssrc/mcpiranha/source/javascript.py:217 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesor 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.
AST05
HIGH
Access to sensitive file pathssrc/mcpiranha/source/javascript.py:169 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesif 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.
AST05
MEDIUM
npx invocation of non-well-known packagesrc/mcpiranha/core/launch.py:3 · npx invocation of non-well-known package — may execute untrusted codeClients 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.
AST06
CRITICAL
Pipe to network utilitysrc/mcpiranha/source/__init__.py:328 · Pipe to network utility — potential reverse shellrb"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.
AST05
HIGH
Access to sensitive file pathssrc/mcpiranha/source/patterns.py:3 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesOnly 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.
AST05
CRITICAL
Reads credential paths from the home directorysrc/mcpiranha/rules/builtin/sensitive_paths.py:3 · Reads credential paths from the home directoryA 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.
AST03
HIGH
Collects environment variables by secret-like namessrc/mcpiranha/source/python.py:31 · Collects environment variables by secret-like names"""os.environ, os.environ.items()/keys()/values()/copy(), dict(os.environ)."""Fix: Never read or enumerate credential locations; accept a documented environment variable instead.
AST03
MEDIUM
Python exec or eval of computed codesrc/mcpiranha/source/taint_python.py:11 · Python exec or eval of computed code- 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.
AST05
HIGH
Host or code assembled from base64 fragmentssrc/mcpiranha/rules/builtin/source_behavior.py:12 · Host or code assembled from base64 fragments- 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.
AST07
HIGH
Access to sensitive file pathssrc/mcpiranha/source/patterns.py:22 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesr"|\.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.
AST05
HIGH
Access to sensitive file pathssrc/mcpiranha/rules/builtin/source_behavior.py:9 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files- 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.
AST05
MEDIUM
npx invocation of non-well-known packagesrc/mcpiranha/core/lockfile.py:37 · npx invocation of non-well-known package — may execute untrusted code# 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.
AST06
HIGH
Destructive file system command detectedsrc/mcpiranha/source/__init__.py:328 · Destructive file system command detectedrb"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.
AST05
HIGH
Destructive file system command detectedsrc/mcpiranha/source/patterns.py:90 · Destructive file system command detected# `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.
AST05
HIGH
Access to sensitive file pathssrc/mcpiranha/rules/builtin/sensitive_paths.py:34 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files(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.
AST05
HIGH
Destructive file system command detectedsrc/mcpiranha/acquire/sandbox.py:94 · Destructive file system command detected'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.
AST05
CRITICAL
Pipe-to-shell patternsrc/mcpiranha/rules/builtin/source_behavior.py:13 · Pipe-to-shell pattern — downloads and immediately executes remote code`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.
AST06
HIGH
References a credential file in the home directorysrc/mcpiranha/rules/builtin/source_behavior.py:11 · References a credential file in the home directorytunnels 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.
AST03
HIGH
References a credential file in the home directorysrc/mcpiranha/rules/builtin/sensitive_paths.py:3 · References a credential file in the home directoryA 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.
AST03
HIGH
Access to sensitive file pathssrc/mcpiranha/core/models.py:175 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"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.
AST05
MEDIUM
Python subprocess execution detectedsrc/mcpiranha/dynamic/collector.py:25 · Python subprocess execution detectedtrace = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Access to sensitive file pathssrc/mcpiranha/rules/builtin/source_behavior.py:11 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filestunnels 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.
AST05
HIGH
Access to sensitive file pathssrc/mcpiranha/source/patterns.py:28 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files".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.
AST05
HIGH
Access to sensitive file pathssrc/mcpiranha/rules/builtin/sensitive_paths.py:5 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesservers 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.
AST05
MEDIUM
npx invocation of non-well-known packagesrc/mcpiranha/core/launch.py:75 · npx invocation of non-well-known package — may execute untrusted codeentry: 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.
AST06
MEDIUM
npx invocation of non-well-known packagesrc/mcpiranha/rules/builtin/typosquat.py:4 · npx invocation of non-well-known package — may execute untrusted codePackage runners like `npx -y` fetch and run it with no prompt.Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
npx invocation of non-well-known packagesrc/mcpiranha/supply/registry.py:139 · npx invocation of non-well-known package — may execute untrusted code"""(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.
AST06
MEDIUM
Python subprocess execution detectedsrc/mcpiranha/source/taint_python.py:624 · Python subprocess execution detected# 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.
AST05
MEDIUM
npx invocation of non-well-known packagesrc/mcpiranha/rules/builtin/supply_chain.py:318 · npx invocation of non-well-known package — may execute untrusted code"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.
AST06
MEDIUM
Remote installer piped to shellsrc/mcpiranha/source/__init__.py:54 · Remote installer piped to shell# `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.
AST07
MEDIUM
Python subprocess execution detectedsrc/mcpiranha/rules/builtin/source_behavior.py:233 · Python subprocess execution detected"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.
AST05

Cost to the agent

Instructions loaded
≈54 tok
1 file · 81 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

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%
  1. Pipe-to-shell pattern≈ +9 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
  2. 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.
  3. Pipe to network utility≈ +9 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
  4. 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.
  5. 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.
  6. HTTP URL with a raw public IP address≈ +4 on the totalReplace encoded or assembled strings with plain literals and remove undeclared network calls.
Publish a new version to PyPI, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim ethanroubalPropose a patch to the maintainer