hpc-as-api

v0.6.3 safe
2.9
Low Risk

Domain-agnostic HTTP gateway for any HPC function via Globus Compute + WebSocket relay

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 3 test file(s) found

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

Some documentation present

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

Partial type annotation coverage

  • Type checker (mypy / pyright / pytype) referenced in project
  • 48 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 6.0

Found 4 network call pattern(s)

  • try: with urllib.request.urlopen(f"{VLLM_URL}/health", timeout=2) as r: # noqa: S310
  • at/completions" req = urllib.request.Request( # noqa: S310 # nosec B310 url,
  • try: with urllib.request.urlopen(req, timeout=300) as resp: # noqa: S310 # nosec B3
  • try: response = requests.post(endpoint, json=payload, timeout=180) if response
⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • s.fromhex(key_hex) blob = base64.b64decode(msg["d"]) nonce = blob[:12] ciphertext_with_tag = bl
  • """ _ns: dict[str, Any] = {} exec(compile(_REMOTE_FN_SOURCE, "<remote_vllm_inference>", "exec"), _ns)
  • "" _ns2: dict[str, Any] = {} exec(compile(_REMOTE_STREAMING_FN_SOURCE, "<remote_vllm_streaming>", "ex
  • _ns: dict[str, Any] = {} exec(compile(_REMOTE_FN_SOURCE, "<remote_vllm_inference>", "exec"), _ns) # nosec B102 # noqa: S102 remote_vllm_inference =
  • ns2: dict[str, Any] = {} exec(compile(_REMOTE_STREAMING_FN_SOURCE, "<remote_vllm_streaming>", "exec"), _ns2) # nosec B102 # noqa: S102 remote_vllm_streaming
  • : monkeypatch.setitem(__import__("sys").modules, mod, MagicMock()) import sys for key in
⚠ Shell / Subprocess Execution score 4.0

Found 2 shell execution pattern(s)

  • {' '.join(cmd)}") return subprocess.run(cmd, check=check) def _require_root_or_sudo(action: str):
  • "S603", # subprocess without shell=True (false positive pattern) "B008", # function calls in d
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: uic.edu>

⚠ Suspicious Page Links score 2.0

Found 1 suspicious link(s) on the package page

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

💬 Discussion Feed

Leave a comment

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