hepai

v1.4.11 safe
3.2
Low Risk

High energy physics Artificial Intelligence platform, HAI.

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 3 test file(s) found

  • 3 test file(s) detected (e.g. test_ip_connectable.py)
◈ Medium Documentation 5.0

Some documentation present

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

  • 8 type-annotated function signatures (partial)
○ 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)

  • method. """ session = requests.Session() response = session.post( f'{url}/v1/ch
  • .ac.cn:42901"' ret = requests.post( f"{url}/list_models", headers={"Aut
  • els']: response = requests.post( f"{url}/get_worker_info", h
  • a: {data}") session = requests.Session() response = session.post( # response = requ
  • on.post( # response = requests.post( f'{url}/v1/inference', headers={"Au
  • k response = requests.post( url, headers={"Authorization": f"Be
⚠ Code Obfuscation score 6.0

Found 3 obfuscation pattern(s)

  • dataloader, device): net.eval() num_val_batches = len(dataloader) dice_score = 0
  • out_threshold=0.5): net.eval() img = torch.from_numpy(BasicDataset.preprocess(full_im
  • cap = cv2.VideoCapture(eval(s) if s.isnumeric() else s) assert cap.isOpened(
⚠ Shell / Subprocess Execution score 10.0

Found 5 shell execution pattern(s)

  • file empty # os.system("rm '%s' '%s'" % (self.img_files[i], self.label_files[i]))
  • = '.bmp': os.system("rm '%s'" % p) def imagelist2folder(path='path/images.txt'
  • d().splitlines(): os.system('cp "%s" %s' % (line, path[:-4])) print(line)
  • (f'Run code: {code}') os.system(code) import torch import torch.nn.functional as
  • d_name}/__init__.py') os.system(f'echo "\nfrom .{project_name}_api import *" >> {api_fold_na
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: ihep.ac.cn>

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

💬 Discussion Feed

Leave a comment

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