modelscope

v1.40.3 safe
3.0
Low Risk

ModelScope: bring the notion of Model-as-a-Service to life.

📦 Package Quality Overall: Low (3.2/10)

○ Low Test Suite 1.0

No test suite detected

  • No test files or test-runner configuration detected
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (16280 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
◈ Medium Type Annotations 5.0

Partial type annotation coverage

  • 155 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)

  • file is too large r = requests.get(url) r.raise_for_status() return r.content
  • _text(self, url): r = requests.get(url) r.raise_for_status() return r.text
  • file ...') response = requests.get(url, cookies=cookies, stream=True) total_size = int(
  • ct(create_params) r = requests.post( path, json=body, cookies=self.cookies, headers=
  • s.to_query_str()) r = requests.get(path, cookies=self.cookies, headers=self.headers) ha
  • s.to_query_str()) r = requests.delete(path, cookies=self.cookies, headers=self.headers) ha
⚠ Code Obfuscation score 10.0

Found 5 obfuscation pattern(s)

  • .no_grad(): model.eval() device = torch.device(device_name)
  • ) model = model.cpu().eval() output_file = os.path.join(output_dir, ModelFile.O
  • ort = True self.model.eval() _ = self.model(dummy_input) try:
  • ort = True self.model.eval() _ = self.model(dummy_input) torch.onnx._ex
  • .no_grad(): model.eval() outputs_origin = model.forward(
⚠ Shell / Subprocess Execution score 2.0

Found 1 shell execution pattern(s)

  • xecute_cmd} -ngl 999' os.system(execute_cmd) def _rename_extension(self, original_file_
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: modelscope.cn

⚠ Suspicious Page Links score 4.0

Found 2 suspicious link(s) on the package page

  • Non-HTTPS external link: http://makeapullrequest.com
  • Non-HTTPS external link: http://www.modelscope.cn
⚠ 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 "ModelScope team" 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 modelscope
Build a simple Python application using the modelscope package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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