mcp-cage@0.4.2
CAUTION· not startedPublisher 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.
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.
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.2This 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 deviationsStatic findings
"MCP_SINK_UNSAFE_DESERIALIZATION_EVAL": "__import__('os').popen('id').read()",Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.`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.4. `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.# 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."MCP_SINK_UNSAFE_DESERIALIZATION_EVAL": "__import__('os').popen('id').read()",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.`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."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.DB 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.r2 = 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.3. `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.…` 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.(`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.Wraps ANY real stdio MCP server (e.g. `npx -y @modelcontextprotocol/server-filesystem`,Fix: Pin versions and sources; vendor anything fetched at install time.….[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.r3 = 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.parameter 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.SECRET = 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.-- npx -y @modelcontextprotocol/server-filesystem /path/to/workspaceFix: Pin versions and sources; vendor anything fetched at install time.proc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.r"(?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.# 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.r"(?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.- 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.self._proc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.4. `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.…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.f"-- npx -y @modelcontextprotocol/server-filesystem {workspace_path}"Fix: Pin versions and sources; vendor anything fetched at install time.res = 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.# 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.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
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%- Pipe-to-shell pattern≈ +9 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
- OS command execution function call detected≈ +9 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- 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.
- 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.
- 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.
- 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.