huggingface-hub

v2.4.0 safe
1.8
Low Risk

Client library to download and publish models, datasets and other repos on the huggingface.co hub

📦 Package Quality Overall: Low (3.8/10)

◈ Medium Test Suite 6.0

Partial test coverage signals detected

  • Test runner config found: pyproject.toml
◈ Medium Documentation 5.0

Some documentation present

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

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

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • uckDB binary result = subprocess.run( [self.binary_path, "-json"], input=
  • ex.join(cmd)}`") result = subprocess.run(cmd) raise click.exceptions.Exit(code=result.returncode)
  • nually." ) return subprocess.call(cmd) def _get_huggingface_hub_update_command(*, exclude_sk
  • if uv_path: subprocess.run([uv_path, "venv", str(venv_dir)], check=True) else:
  • source_url, ] subprocess.run(install_cmd, check=True, timeout=_EXTENSIONS_PIP_INSTALL_TIM
  • ).""" try: return subprocess.run([str(python), "-c", ""], capture_output=True).returncode ==
⚠ Credential Harvesting score 2.5

Found 1 credential access pattern(s)

  • he middle # (e.g. "a/../../etc/passwd" or "a/../file.txt") is not caught by a prefix check #
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: huggingface.co

✓ 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 "Hugging Face, Inc." 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 huggingface-hub
Build a simple Python application using the huggingface-hub package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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