mockstack

v0.17.0 safe
3.1
Low Risk

An API mocking workhorse

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 33 test file(s) found

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

Some documentation present

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

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

  • {"X-Test-Run": "ci"} with httpx.Client(base_url=MOCKSTACK_URL, headers=headers) as client:
  • """ async with httpx.AsyncClient(timeout=self.reverse_proxy_timeout, verify=self.verify_ssl_c
  • t run. """ async with httpx.AsyncClient(transport=httpx.ASGITransport(app=app), base_url="http://tes
  • connection(exports): with httpx.Client(base_url=exports.base_url, timeout=10) as client: ex
  • e_assertions() untagged = httpx.get(f"{recipe6}/projects/api/v1/project/proj-123") with pyte
  • e user-2 is a 404.""" r = httpx.get(f"{recipe6}/users/api/v1/users/user-1") assert_result(r,
✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • the tests control. return subprocess.run( # noqa: S603 [str(MOCKSTACK), *args], cwd=
  • pped snippet. completed = subprocess.run( # noqa: S603 [sys.executable, "-m", "pytest", "-q"
  • o set it).""" completed = subprocess.run( [sys.executable, "-c", "import locale; print(locale
  • usted inputs. completed = subprocess.run( # noqa: S603 [sys.executable, str(script_file), st
  • untrusted input. result = subprocess.run( # noqa: S603 [sys.executable, "-c", script],
  • untrusted input. result = subprocess.run( # noqa: S603 [sys.executable, "-c", script], captu
⚠ Credential Harvesting score 2.5

Found 1 credential access pattern(s)

  • //{tmp_path}/fixtures/../../../etc/passwd", } ] ) with patch("builtins.op
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: gmail.com>

⚠ Suspicious Page Links score 2.0

Found 1 suspicious link(s) on the package page

  • Non-HTTPS external link: http://127.0.0.1:8000/projects/api/v1/project/proj-123
⚠ 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 mockstack
Build a simple Python application using the mockstack package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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