fair-py-ops

v0.3.25 suspicious
4.4
Medium Risk

Model registry and ML pipeline orchestration for fAIr

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 1 test file(s) found

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

Some documentation present

  • Documentation URL: "Documentation" -> https://hotosm.github.io/fAIr-models
  • Detailed PyPI description (4490 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

  • Classifier: Typing :: Typed
  • 395 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)

  • ref}"] try: req = urllib.request.Request(href, method="HEAD") with urllib.request.url
  • , method="HEAD") with urllib.request.urlopen(req, timeout=timeout) as resp: if resp.s
  • } response = httpx.post( url, json=payload, time
  • " try: response = httpx.get(url, timeout=timeout, verify=verify) except httpx.HTTPEr
  • ACCEPT} try: with httpx.Client(transport=transport, timeout=timeout, follow_redirects=True)
  • try: resp = httpx.post(login, data=data, timeout=30) resp.raise_for_sta
⚠ Code Obfuscation score 10.0

Found 5 obfuscation pattern(s)

  • strict=True) return model.eval() @step def split_dataset( dataset_chips: dict[str, st
  • _MainOnly(trained_model.cpu().eval()).eval() # The serving runtime feeds one window at a ti
  • y(trained_model.cpu().eval()).eval() # The serving runtime feeds one window at a time, so e
  • rt jaccard_score model = pickle.loads(trained_model) val = set(split_info["val_chip_names"])
  • FloatTensorType model = pickle.loads(trained_model) # zipmap off keeps the probability output
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • ble).parent / "zenml" subprocess.run([str(zenml_bin), "init"], check=True, capture_output=True)
  • e: _require("docker") subprocess.run(["docker", "compose", "-f", str(compose_file()), *args], che
  • ode is the probe. probe = subprocess.run([zenml, "stack", "describe", name], env=env, capture_output=
  • I_TOKEN": _fetch_token()} subprocess.run([zenml, "init"], check=True, env=env, capture_output=True)
  • env, capture_output=True) subprocess.run([zenml, "stack", "set", "default"], check=True, env=env, cap
  • nml, env, "compose"): subprocess.run([zenml, "stack", "delete", "compose", "-y", "-r"], check=Tru
⚠ Credential Harvesting score 7.5

Found 3 credential access pattern(s)

  • ron.get("FAIR_S3_PUBLIC_URL", os.environ.get("AWS_ENDPOINT_URL", "")).rstrip("/") if endpoint: ret
  • /{bucket}/{key}" region = os.environ.get("AWS_REGION", os.environ.get("AWS_DEFAULT_REGION", "us-east-1"))
  • os.environ.get("AWS_REGION", os.environ.get("AWS_DEFAULT_REGION", "us-east-1")) return f"https://{bucket}
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: hotosm.org>

✓ 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 fair-py-ops
Build a simple Python application using the fair-py-ops package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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