medfl

v2.0.10 safe
1.9
Low Risk

Python Open-source package for simulating federated learning and differential privacy

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 6 test file(s) found

  • 6 test file(s) detected (e.g. test_dataset.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://
  • Detailed PyPI description (5163 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

  • 65 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

No suspicious network call patterns found

⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • e("cpu")): self.model.eval() losses = [] y_true_all, y_pred_all = [], [
  • X.numpy() self.model.eval() with torch.no_grad(): outputs = self.m
  • luation model.eval() predictions = [] true_labe
  • test set final_model.eval() with torch.no_grad(): predictions = []
  • t metrics. """ model.eval() with torch.no_grad(): X_test, y_test = test_lo
  • arameters) self.model.eval() total_loss = 0.0 all_probs, all_true = []
⚠ Shell / Subprocess Execution score 4.0

Found 2 shell execution pattern(s)

  • scripts', 'create_db.sh') subprocess.run(['sh', script_path], check=True) def custom_classification
  • .executable) result = subprocess.run([sys.executable, create_db_script_path, path_to_csv],
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: gmail.com

✓ 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 2.0

1 maintainer concern(s) found

  • Author "MEDomics consortium" 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 medfl
Build a simple Python application using the medfl package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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