Package Quality Overall: Medium (6.6/10)
β¦ High
Test Suite
9.0
Test suite present β 1 test file(s) found
Test runner config found: pyproject.toml1 test file(s) detected (e.g. test_websearch_setup.py)
β Medium
Documentation
7.0
Some documentation present
Documentation URL: "Documentation" -> https://ggalancs.github.io/hfl/Detailed PyPI description (30224 chars)
β¦ High
Contributing Guide
9.0
Has contribution guidelines and governance files
Governance file: security.pyDevelopment Status classifier >= Beta
β Medium
Type Annotations
7.0
Partial type annotation coverage
Type checker (mypy / pyright / pytype) referenced in project626 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)
try: upstream = socket.create_connection((host, int(port)), timeout=30) except OSError:g).encode() stalled = socket.create_connection(("127.0.0.1", port), timeout=10) stalled.setsockopt(try: if httpx.get(base + "/healthz", timeout=2).status_code == 200:httpx.Client: return httpx.Client(base_url=base, timeout=timeout, **kwargs) def wheel(seltry: r = httpx.post(self.base + path, json=body, timeout=timeout) ses``, ``mlx``β¦).""" tags = httpx.get(base + "/api/tags", timeout=30).json().get("models", [])
Code Obfuscation
score 6.0
Found 3 obfuscation pattern(s)
256}, ).json() raw = base64.b64decode(b64["data"][0]["embedding"]) expect(len(raw) == 256 * 4,se64 chars. decoded = base64.b64decode(payload, validate=True) except (binascii.Error, ValueErre.glob("[a-z]*.py")): __import__(f"audit_checks.{module.stem}") def selected(only: str | None) -> list[Check]: """The
Shell / Subprocess Execution
score 10.0
Found 6 shell execution pattern(s)
try: return subprocess.run( [self.hfl, *args], input=st(log_path, 0)) proc = subprocess.Popen( [self.hfl, "serve", "--port", str(port), *args]refix="dist-", dir=work)) subprocess.run(["uv", "build", "--wheel", "--out-dir", str(dist), str(repo)ython, str(venv)] subprocess.run(create, check=True) python_bin = str(venv_exe(venv,py already installed. subprocess.run( ["uv", "pip", "install", "--reinstall-package",amp}.log", "wb") server = subprocess.Popen( [str(hfl), "serve", "--port", str(port)], env=env,
Credential Harvesting
score 10.0
Found 5 credential access pattern(s)
el": "stories", "lora_path": "/etc/passwd"}) expect(outside.status_code == 400, outside.status_covalidate_model_name("../../../etc/passwd") # Raises ValidationError """ if not name:ad arbitrary files (e.g. ../../etc/passwd) as a "LoRA adapter". import hfl.config froitrary file # such as /etc/passwd or ~/.ssh/id_rsa as a "model". import hfl.config# such as /etc/passwd or ~/.ssh/id_rsa as a "model". import hfl.config from hfl.se
Typosquatting
No typosquatting candidates detected
Registered Email Domain
No author email provided
Suspicious Page Links
score 2.0
Found 1 suspicious link(s) on the package page
Non-HTTPS external link: http://host:8080
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 "Gabriel GalΓ‘n Pelayo" 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 hfl
Build a simple Python application using the hfl package to demonstrate its core features.
π¬ Discussion Feed
No discussion yet. Be the first to share your thoughts!
Report Abuse / Security Issue