mockserver-client

v9.4.0 safe
3.3
Low Risk

Official Python client for MockServer — create expectations, verify requests, and register dynamic callbacks via WebSocket

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 27 test file(s) found

  • Test runner config found: pyproject.toml
  • 27 test file(s) detected (e.g. test_a2a.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://www.mock-server.com/mock_server/getting_started.html
  • Detailed PyPI description (23430 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

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

Partial type annotation coverage

  • 382 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)

  • data = None req = urllib.request.Request(url, data=data, method=method) req.add_heade
  • try: with urllib.request.urlopen( req, context=self._ssl_context,
  • ss:`ssl.SSLContext` to :func:`urllib.request.urlopen`, or use ``MOCKSERVER_BINARY_BASE_URL`` to point
  • 3) would be needed. req = urllib.request.Request(url) with urllib.request.urlopen(req, timeout=_H
  • request.Request(url) with urllib.request.urlopen(req, timeout=_HTTP_READ_TIMEOUT) as resp: wi
  • try: req = urllib.request.Request(url, method="PUT") with urllib.request.u
⚠ Code Obfuscation score 6.0

Found 3 obfuscation pattern(s)

  • "] == "MODIFY" assert base64.b64decode(inner["body"]) == b"modified-data" @pytest.mark.asyncio
  • "] is True assert base64.b64decode(sent["content"]) == b"\x00\x01\x02" def test_retrieve_f
  • h upgrade.""" FIXTURES = __import__("pathlib").Path(__file__).parent / "fixtures" / "mtls" @classmeth
⚠ Shell / Subprocess Execution score 8.0

Found 4 shell execution pattern(s)

  • path below). result = subprocess.run( ["tar", "-xf", str(archive), "-C", str(version_
  • == "win32": process = subprocess.Popen( _windows_command_line(args[0], args[1:]),
  • ) else: process = subprocess.Popen(args, stdout=None, stderr=None, shell=False) return Mock
  • found as subprocess does for shell=True.""" comspec = os.environ.get("ComSpec") if not coms
⚠ Credential Harvesting score 2.5

Found 1 credential access pattern(s)

  • ensure_binary("../../etc/passwd", log=False) # No directory should have been create
✓ 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 mockserver-client
Build a simple Python application using the mockserver-client package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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