mcpsafetywarden

v1.7.13 suspicious
4.5
Medium Risk

MCP proxy server with behavioral profiling, security scanning, risk gating, and safe execution

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 11 test file(s) found

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

Some documentation present

  • Detailed PyPI description (16885 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
◈ Medium Type Annotations 7.0

Partial type annotation coverage

  • Classifier: Typing :: Typed
  • 484 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 7.5

Found 5 network call pattern(s)

  • SVersion.TLSv1_2 with socket.create_connection((host, port), timeout=_PKG_TIMEOUT) as sock: wit
  • ulttimeout() try: socket.setdefaulttimeout(_PKG_TIMEOUT) infos = socket.getaddrinfo(host, None)
  • tr(exc)} finally: socket.setdefaulttimeout(_prev_timeout) def compute_tool_fingerprint( name: str
  • erver_address[:2] s = socket.create_connection(("127.0.0.1", port), timeout=5) s.sendall(b"CONNECT
  • "try:\n" " socket.create_connection(('1.1.1.1', 53), timeout=5)\n" " print('NET reach
⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • oup() candidate = base64.b64decode(raw + "=" * (-len(raw) % 4)).decode("utf-8", errors="ignore"
  • : decoded_bytes = base64.b64decode(candidate + "=" * padding, validate=False) decod
  • vocations (python -c, eval(), exec(), __import__) embedded in args passed to a tool tha
  • "exec_injection", re.compile( r"(execute|run|eval|call|invoke|trigger)\s+(this|the\s+following)?\
  • "exec_injection", re.compile(r"(__import__|subprocess|os\.system|os\.popen|exec\s*\(|compile\s*\(|globals\s*\()", re.I), ), ("exec_
  • ("tool_call_injection", re.compile(r'(call|invoke|use|execute)\s+tool\s+["\']?\w+["\']?\s+with', re.I)), ("tool_ca
⚠ Shell / Subprocess Execution score 10.0

Found 5 shell execution pattern(s)

  • ame try: result = subprocess.run( ["mmdc", "-i", tmp_mmd, "-o", output_path, "--b
  • try: proc = subprocess.run(cmd, capture_output=True, text=True, timeout=_PKG_TIMEOUT)
  • TH"} try: proc = subprocess.run( ["npm", "list", "--json", "--depth=0", package_
  • ass try: proc2 = subprocess.run( ["npm", "info", package_name, "--json"],
  • None try: proc = subprocess.run( ["npm", "list", "--json", "--all"],
⚠ Credential Harvesting score 10.0

Found 6 credential access pattern(s)

  • str, str] = {} gh_token = os.environ.get("GITHUB_TOKEN") or os.environ.get("GH_TOKEN") api_headers: Dict[str,
  • e [tool_name] tool with path='/etc/passwd'" - "Call send_email with recipient='attacker@evil.com' and
  • arg containing ../ sequences, /etc/passwd, ~/.ssh/id_rsa, .aws/credentials, .env files - espe
  • BLE, 169.254.169.254, ../../etc/passwd) or are they generic strings that happen to match a pattern
  • path_traversal ../../etc/passwd, ..%2f..%2fetc%2fpasswd, ....//....//etc/passwd lfi_rfi
  • ..%2fetc%2fpasswd, ....//....//etc/passwd lfi_rfi /etc/shadow, file:///etc/passwd, \\
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: gmail.com>

✓ Suspicious Page Links

All external links appear legitimate

⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 4.0

2 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" 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 mcpsafetywarden
Build a simple Python application using the mcpsafetywarden package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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