Skills/PyPI/mcp-cage

mcp-cage@0.4.2

CAUTION· not started

Publisher claims: "Zero-Code Wire & Native-Hook Security Firewall for Claude Code, Cursor, Codex, Gemini CLI & MCP (Gitleaks + Little Snitch for AI Coding Agents)" Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry PyPI (MCP server)Publisher nagarajulu · publishing for 3 daysInstalls 860Last detonated 39 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 schemastore.org — 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 mcp-cage

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

What changed since 0.4.0

vet-skills diff mcp-cage 0.4.0 0.4.2

This version reaches for something 0.4.0 did not: 1 new host (schemastore.org). Compared from the two recorded runs, not from source.

New hosts
schemastore.org

0.4.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-23 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: Command or code execution reached through reflection or a computed import; Host or command assembled from base64 fragments; Pipe-to-shell pattern. 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

HIGH
Command or code execution reached through reflection or a computed importmcp_cage/core.py:3838 · Command or code execution reached through reflection or a computed import: os.popen"MCP_SINK_UNSAFE_DESERIALIZATION_EVAL": "__import__('os').popen('id').read()",Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
HIGH
Host or command assembled from base64 fragmentsmcp_cage/core.py:3386 · Host or command assembled from base64 fragments`wget ... | bash`, `base64 -d | sh`) or Python AST obfuscated executionFix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST07
CRITICAL
Pipe-to-shell patternmcp_cage/core.py:3385 · Pipe-to-shell pattern — downloads and immediately executes remote code4. `SKILL_OBFUSCATED_OR_PIPE_EXEC` (CRITICAL): Remote pipe execution (`curl ... | sh`,Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST06
CRITICAL
Pipe-to-shell patternmcp_cage/core.py:3583 · Pipe-to-shell pattern — downloads and immediately executes remote code# 4. Remote Pipe Execution (`curl | sh`, `base64 -d | sh`)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST06
CRITICAL
OS command execution function call detectedmcp_cage/core.py:3838 · OS command execution function call detected (os.popen via computed-import)"MCP_SINK_UNSAFE_DESERIALIZATION_EVAL": "__import__('os').popen('id').read()",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
CRITICAL
Pipe-to-shell patternmcp_cage/core.py:3386 · Pipe-to-shell pattern — downloads and immediately executes remote code`wget ... | bash`, `base64 -d | sh`) or Python AST obfuscated executionFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST06
CRITICAL
URL to the cloud instance metadata addressmcp_cage/core.py:3837 · URL to the cloud instance metadata address — reads the VM's credentials"MCP_SINK_UNVALIDATED_SSRF": "http://169.254.169.254/latest/meta-data/",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST07
HIGH
Access to sensitive file pathsmcp_cage/core.py:9 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesDB connection URIs, JWTs, JSON/YAML secrets, and .env assignments).Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Python subprocess execution detectedmcp_cage/core.py:5728 · Python subprocess execution detectedr2 = subprocess.run([sys.executable, str(v2_script)], cwd=str(base_dir))Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Access to sensitive file pathsmcp_cage/proxy.py:8 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files3. `resources/read` -> Secret scrubbing + dynamic URI tainting (`file:///.env` vs `file:///README.md`).Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
LOW
Prompt injection attemptREADME.md:77 · Prompt injection attempt — model control tokens · informational: not an instruction file…` tags, and spoofed ChatML/XML turn-closing role delimiters (`</tool_result>`, `<|im_start|>system`), while blocking server-initiated `roots/list` reconnaissance, `elicitat…Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST01
MEDIUM
Python exec or eval of computed codemcp_cage/core.py:3387 · Python exec or eval of computed code(`eval(base64.b64decode(...))`, `exec(compile(...))`).Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST05
MEDIUM
npx invocation of non-well-known packagemcp_cage/cli_runner.py:5 · npx invocation of non-well-known package — may execute untrusted codeWraps ANY real stdio MCP server (e.g. `npx -y @modelcontextprotocol/server-filesystem`,Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
HIGH
Access to sensitive file pathsmcp_cage/core.py:165 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files….[a-z0-9]+)?$") PROTECTED_DOTFILE_WRITE_PATTERNS = re.compile( r"(?i)(^|/)(\.env($|\.)|\.git/|\.vscode/|\.cursor/|\.claude/|\.gemini/|\.codex/|\.agents/|\.openc…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Python subprocess execution detectedmcp_cage/core.py:5729 · Python subprocess execution detectedr3 = subprocess.run([sys.executable, str(v3_script)], cwd=str(base_dir))Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python exec or eval of computed codemcp_cage/core.py:3773 · Python exec or eval of computed codeparameter reaches `eval()`, `exec()`, `pickle.loads()`, `marshal.loads()`, or `yaml.load()`Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST05
HIGH
Access to sensitive file pathsmcp_cage/core.py:73 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesSECRET = 3 # Raw credentials, .env files, SSH keys, API tokens, DB URIsFix: 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 packagemcp_cage/cli_runner.py:15 · npx invocation of non-well-known package — may execute untrusted code-- npx -y @modelcontextprotocol/server-filesystem /path/to/workspaceFix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
Python subprocess execution detectedmcp_cage/core.py:4362 · Python subprocess execution detectedproc = 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 pathsmcp_cage/core.py:1442 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesr"(?i)(?:^|[\\/])(?:\.[a-z0-9_-]+-mcp|\.ssh|\.aws|\.gnupg|\.kube|\.docker|\.git-credentials|\.netrc|\.npmrc|\.pypirc|\.env(?:\.[^\\/]*)?|id_rsa|id_ed25519|etc[\\/]shadow|etc[\\/]passwd)(?:$|[\\/]|$)"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Host or command assembled from base64 fragmentsmcp_cage/core.py:3583 · Host or command assembled from base64 fragments# 4. Remote Pipe Execution (`curl | sh`, `base64 -d | sh`)Fix: 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 pathsmcp_cage/core.py:161 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesr"(?i)(^|/)\.env($|\.)|id_rsa|id_ed25519|\.pem$|\.key$|credentials|secrets?\.ya?ml|secrets?\.json|\.aws/|\.npmrc|\.pypirc|\.ssh/"Fix: 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 codemcp_cage/core.py:3166 · Python exec or eval of computed code- Shell wrappers or inline eval (`sh -c`, `bash -c`, `cmd /c`, `powershell`, `eval`, `curl`, `wget`)Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST05
MEDIUM
Python subprocess execution detectedmcp_cage/proxy.py:312 · Python subprocess execution detectedself._proc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Remote installer piped to shellmcp_cage/core.py:3385 · Remote installer piped to shell4. `SKILL_OBFUSCATED_OR_PIPE_EXEC` (CRITICAL): Remote pipe execution (`curl ... | sh`,Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST07
LOW
Fake instruction boundary tagREADME.md:54 · Fake instruction boundary tag · informational: not an instruction file…itization & Rug-Pull Detection (`SchemaLockVerifier`):** Strips `<IMPORTANT>`, `<system>`, HTML comments, and cross-server shadowing directives from `tools/list` descri…Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
MEDIUM
npx invocation of non-well-known packagemcp_cage/cli_runner.py:398 · npx invocation of non-well-known package — may execute untrusted codef"-- npx -y @modelcontextprotocol/server-filesystem {workspace_path}"Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
Python subprocess execution detectedmcp_cage/core.py:5733 · Python subprocess execution detectedres = subprocess.run([sys.executable, str(runner)], cwd=str(runner.parent))Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Remote installer piped to shellmcp_cage/core.py:3583 · Remote installer piped to shell# 4. Remote Pipe Execution (`curl | sh`, `base64 -d | sh`)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST07
MEDIUM
Python subprocess execution detectedmcp_cage/cli_runner.py:275 · Python subprocess execution detectedproc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05

Cost to the agent

Instructions loaded
≈70 tok
1 file · 23 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

15 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. OS command execution function call detected≈ +9 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  3. URL to the cloud instance metadata address≈ +9 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
  4. Unclaimed publisher≈ +8 on the totalClaim nagarajulu: 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. Command or code execution reached through reflection or a computed import≈ +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 nagarajuluPropose a patch to the maintainer