hafnia

v0.8.7 safe
2.6
Low Risk

Python SDK for communication with Hafnia platform.

📦 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 (15834 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

  • 463 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Unable to verify contributor count: no GitHub repository found

  • No GitHub repository linked — contributor count unavailable

🔬 Heuristic Checks

⚠ Outbound Network Calls score 1.5

Found 1 network call pattern(s)

  • ls of the unit tests with urllib.request.urlopen(url, timeout=DOWNLOAD_TIMEOUT_SECONDS) as response:
⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • re_thresh) self.model.eval() self.preprocess = weights.transforms() sel
  • Field.TAGS) .list.eval(pl.element().filter(pl.element() != TAG_IS_SAMPLE))
  • pl.col(SampleField.TAGS).list.eval(pl.element().filter(pl.element() == TAG_IS_SAMPLE)).list.len
  • ol(SampleField.BITMASKS).list.eval(pl.element().struct.rename_fields(struct_names))
  • LYGONS] .list.eval(pl.element().struct.field("points").list.len())
  • pl.col(col) .list.eval( pl.when(pl.element().struct.field(PrimitiveFiel
⚠ Shell / Subprocess Execution score 6.0

Found 3 shell execution pattern(s)

  • ion_hash() -> str: return subprocess.check_output(["git", "rev-parse", "HEAD"]).decode("ascii").strip() from
  • ol: try: result = subprocess.run(["docker", "buildx", "version"], capture_output=True, text=T
  • [] try: result = subprocess.run(cmd, check=True, capture_output=True, text=True) out
⚠ Credential Harvesting score 2.5

Found 1 credential access pattern(s)

  • return None region = os.getenv("AWS_REGION") if not region: sys_logger.warning("AWS_
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: milestone.dk>

✓ Suspicious Page Links

All external links appear legitimate

✓ Git Repository History

No GitHub repository linked

  • No GitHub repository link found
⚠ Maintainer History score 6.0

3 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" appears to have only 1 package on PyPI (new or inactive account)
  • Package has no PyPI classifiers (low effort / metadata quality)
✓ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with hafnia
Build a simple Python application using the hafnia package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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