mitmcp

v0.4.0 suspicious
5.2
Medium Risk

Man-in-the-middle proxy for the Model Context Protocol: intercept, inspect, and tamper with MCP traffic (and its OAuth flows) through Burp Suite.

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 9 test file(s) found

  • Test runner config found: conftest.py
  • Test runner config found: pyproject.toml
  • 9 test file(s) detected (e.g. __init__.py)
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (46252 chars)
○ Low Contributing Guide 2.0

No contributing guide or governance files found

  • No CONTRIBUTING, CODE_OF_CONDUCT, or governance files found
◈ Medium Type Annotations 5.0

Partial type annotation coverage

  • 388 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Could not retrieve contributor data from GitHub

  • GitHub API error: 401

🔬 Heuristic Checks

⚠ Outbound Network Calls score 9.0

Found 6 network call pattern(s)

  • "exec(\"import urllib.request;urllib.request.urlopen('{oast_http}')\")", f";python -c \"impo
  • on -c \"import urllib.request;urllib.request.urlopen('{oast_http}')\"", ]) if high_risk:
  • ient": self._client = httpx.AsyncClient( proxy=self._proxy, verify=self._ver
  • x.AsyncClient: return httpx.AsyncClient( proxy=self.config.httpx_proxy, veri
  • of mitmcp.""" return httpx.AsyncClient( proxy=self.config.httpx_proxy, veri
  • logger self._client = httpx.AsyncClient( proxy=config.httpx_proxy, verify=co
⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • private_key.decrypt( base64.b64decode(aes_key_b64), padding.OAEP( mgf=padding.
  • , ), ) blob = base64.b64decode(data_b64) iv = blob[:16] cipher = Cipher(algorithms.
  • (re.compile(r"\b49\b"), "ssti eval (7*7=49)")], "cmdi": [ ( re.compile(r
  • .system(\"id\")')", "eval('__import__(\"os\").system(\"id\")')", "eval(compil
  • .system(\"id\")')", "eval(compile('import os;os.system(\"id\")', '', 'exec'))",
  • nd output changed", "ssti eval (7*7=49)", "/etc/passwd content", "win.ini content",
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • )", "exec('import os;os.system(\"id\")')", "eval('__import__(\"os\").system(\"id\"
  • "eval(compile('import os;os.system(\"id\")', '', 'exec'))", "import os;os.system('id')
  • exec'))", "import os;os.system('id')", "__import__('subprocess').check_output('id'
  • ";python -c \"import os;os.system('id')\"", "|python3 -c '__import__(\"os\").system(\
  • "$(python -c 'import os;os.system(\"id\")')", "[c for c in [].__class__.__base__.__su
  • try: result = subprocess.run( ["pbpaste"], capture_output
⚠ Credential Harvesting score 10.0

Found 6 credential access pattern(s)

  • (re.compile(r"(\.ssh/|id_rsa|/etc/passwd|\.aws/credentials|\.env\b)", re.I), "reference to a se
  • pile(r"root:.*:0:0:", re.I), "/etc/passwd content"), (re.compile(r"\[fonts\]", re.I), "win.in
  • "windows/system32/drivers/etc/hosts", "boot.ini", ) def list_classes() -> list[tuple
  • for absolute in ( "/etc/passwd", "C:\\Windows\\win.ini", "file:///etc/pa
  • s\\win.ini", "file:///etc/passwd", ): add(absolute) for depth in range(
  • .internal/", "file:///etc/passwd", "gopher://127.0.0.1:25/", ] if oast_ur
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

No author email provided

⚠ Suspicious Page Links score 8.0

Found 4 suspicious link(s) on the package page

  • Non-HTTPS external link: http://127.0.0.1:6277/mcp`
  • Non-HTTPS external link: http://`
  • Non-HTTPS external link: http://external.test/callback`,
  • Non-HTTPS external link: http://127.0.0.1:6278/callback`.
⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 2.0

1 maintainer concern(s) found

  • Author "mitmcp contributors" appears to have only 1 package on PyPI (new or inactive account)
✓ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with mitmcp
Build a simple Python application using the mitmcp package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

No discussion yet. Be the first to share your thoughts!