mcpwatch

v0.1.0 safe
3.0
Low Risk

Security scanner for MCP (Model Context Protocol) servers — locally, no phone-home

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 20 test file(s) found

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

Some documentation present

  • Detailed PyPI description (4914 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

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

Unable to verify contributor count: no GitHub repository found

  • No GitHub repository linked — contributor count unavailable

🔬 Heuristic Checks

⚠ Outbound Network Calls score 3.0

Found 2 network call pattern(s)

  • ct) -> dict | list: req = urllib.request.Request(url, headers=headers) for attempt in range(6):
  • try: with urllib.request.urlopen(req, timeout=15) as resp: return jso
⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • r"shell\s*=\s*True"), ("eval(", r"\beval\s*\("), ("exec(",
  • t json Rules: AEGIS-001: eval()/exec() in tool handlers (CRITICAL) AEGIS-002: shell in
  • : ... """ AEGIS-001: eval() or exec() called with a non-literal argument inside an MCP
  • decorated function that calls eval()/exec() with any argument that is not a hardcoded string co
  • ings """Tests for AEGIS-001: eval()/exec() in MCP tool handlers.""" from pathlib import Path
  • ): """@mcp.tool() calling eval(code) — direct parameter, must fire.""" findings = _scan
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • ble_os_system_fires(): """os.system(variable) must fire — shell is always invoked.""" findin
  • dout # FIXTURE: vulnerable — os.system() with a variable command (always uses shell). # os.system/o
  • {filename} output.{fmt}" os.system(cmd) return f"output.{fmt}" # FIXTURE: vulnerable — sub
  • …") try: result = subprocess.run( ["git", "clone", "--depth", "1", "--single-bran
  • if dest.exists(): subprocess.run(["rmdir", "/s", "/q", str(dest)], shell=True, capture_output
  • ai hexstrike_server.py:6876 subprocess.Popen(self.command, shell=True, ...) where self.command is built
⚠ Credential Harvesting score 2.5

Found 1 credential access pattern(s)

  • b import Path GITHUB_TOKEN = os.environ.get("GITHUB_TOKEN", "") OUTPUT = Path(__file__).parent.parent / "data" / "ser
✓ 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

No GitHub repository linked

  • No GitHub repository link found
⚠ 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 mcpwatch
Build a simple Python application using the mcpwatch package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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