netshape

v1.0.2 safe
3.5
Low Risk

Local throttling proxy for testing apps under degraded network conditions.

📦 Package Quality Overall: Low (4.4/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. speed_test.py)
◈ Medium Documentation 5.0

Some documentation present

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

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

  • th}?{parsed.query}" with socket.create_connection(proxy, timeout=10) as sock: sock.settimeout(10)
  • URL is possible. with urllib.request.urlopen(url, timeout=10) as response: # nosec B310
  • d).encode("utf-8") conn = http.client.HTTPConnection("127.0.0.1", port, timeout=5) try: conn.request(
  • -> dict[str, Any]: conn = http.client.HTTPConnection("127.0.0.1", port, timeout=5) try: conn.request(
  • NetShape session") conn = http.client.HTTPConnection("127.0.0.1", state.control_port, timeout=5) try:
⚠ Code Obfuscation score 10.0

Found 5 obfuscation pattern(s)

  • ails pass conn = __import__("http.client", fromlist=["HTTPConnection"]).HTTPConnection( "127.0.0.1", state.control_port, ti
  • t reader.readexactly(10) == b"\x05\x00\x00\x01\x00\x00\x00\x00\x00\x00" writer.write(b"hello") await writer.drain
  • \x00" writer.write(b"\x05\x03\x00\x01\x7f\x00\x00\x01\x00\x35") await writer.drain() assert await reader.
  • t reader.readexactly(10) == b"\x05\x07\x00\x01\x00\x00\x00\x00\x00\x00" writer.close() await writer.wait_closed()
  • assert response == b"\x05\x08\x00\x01\x00\x00\x00\x00\x00\x00" assert not response.startswith(b"HTTP/") w
⚠ Shell / Subprocess Execution score 4.0

Found 2 shell execution pattern(s)

  • se what to run. process = subprocess.Popen(command, env=env, shell=(sys.platform == "win32")) # nosec
  • (), proxy.traffic_port) # shell=True is required on Windows so that script wrappers such as `npx
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: gmail.com>

⚠ Suspicious Page Links score 6.0

Found 3 suspicious link(s) on the package page

  • Non-HTTPS external link: http://127.0.0.1:8090/dashboard
  • Non-HTTPS external link: http://127.0.0.1:8090
  • Non-HTTPS external link: http://...`.
⚠ 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 netshape
Build a simple Python application using the netshape package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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