h2corn

v2.0.0 safe
3.8
Low Risk

Blazing-fast HTTP/2 ASGI server for Python, written in Rust

📦 Package Quality Overall: Medium (6.0/10)

✦ High Test Suite 9.0

Test suite present — 31 test file(s) found

  • Test runner config found: conftest.py
  • 31 test file(s) detected (e.g. __init__.py)
✦ High Documentation 9.0

Well-documented package

  • Documentation URL: "Documentation" -> https://h2corn.monicz.dev/
  • 1 documentation file(s) (e.g. check.py)
  • Detailed PyPI description (4788 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
  • 746 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)

  • onotonic() + timeout with socket.create_connection((HOST, port), timeout=timeout) as transport: while n
  • rs.enter_context( socket.create_connection((HOST, scenario.port), timeout=5) ) if tls_c
  • r\n' ).encode() with socket.create_connection((HOST, port), timeout=10) as connection: connection.
  • rt)) else: sock = socket.create_connection(('127.0.0.1', port), timeout=60) sock.setsockopt(soc
  • try: with socket.create_connection(('127.0.0.1', port), timeout=0.5) as sock: s
  • ry: request = socket.create_connection(('127.0.0.1', port), timeout=0.2) except OSError
⚠ Code Obfuscation score 10.0

Found 5 obfuscation pattern(s)

  • ) restored = pickle.loads(base64.b64decode(payload)) # ruff: ignore[suspicious-pickle-usage] - Frozen
  • 6. writer.write(b'\x00\x00\x04\x08\x00\x00\x00\x00\x02\x00\x00\x10\x00') await writer.drain() frames = awa
  • () writer.write(b'\x00\x00\x08\x06\x00\x00\x00\x00\x00' + b'h2corn!!') await writer.drain()
  • alue) -> None: restored = pickle.loads(pickle.dumps(value)) # ruff: ignore[suspicious-pickle-usage
  • ZRSlC4=' ) restored = pickle.loads(base64.b64decode(payload)) # ruff: ignore[suspicious-pickle
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • try: process = subprocess.Popen( argv, stdout=output,
  • () try: process = subprocess.Popen( command, stdout=subprocess.PIPE,
  • h('sysctl'): result = subprocess.run( ['sysctl', '-n', 'machdep.cpu.brand_string'],
  • ath)), 'version': subprocess.check_output( [path, '-vV' if name == 'rustc' else '--ver
  • ) revision = subprocess.check_output( ['git', '-C', str(connect_source), 'rev-par
  • s(): source = subprocess.check_output( [ 'git',
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: monicz.dev>

⚠ 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/
⚠ 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 h2corn
Build a simple Python application using the h2corn package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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