bty-lab

v0.77.2 safe
3.6
Low Risk

Flash operating system images onto target disks

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 11 test file(s) found

  • Test runner config found: conftest.py
  • Test runner config found: pyproject.toml
  • 11 test file(s) detected (e.g. pxe_run_chain_test.py)
✦ High Documentation 9.0

Well-documented package

  • Documentation URL: "Documentation" -> https://safl.dk/bty/
  • 4 documentation file(s) (e.g. conf.py)
  • Detailed PyPI description (1770 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

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

  • --------- class _NoRedirect(urllib.request.HTTPRedirectHandler): def redirect_request(self, req, fp
  • d}).encode("utf-8") req = urllib.request.Request( f"{base}/ui/login", data=body,
  • encoded"}, ) opener = urllib.request.build_opener(_NoRedirect()) try: resp = opener.o
  • en("rb") as fh: req = urllib.request.Request( url, data=fh, m
  • }, ) with urllib.request.urlopen(req, timeout=120) as resp: if resp.statu
  • {base_path}/{name}" req = urllib.request.Request( url, data=body, method="PUT
✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • at {src_tree}") rc = subprocess.call(["git", "-C", str(src_tree), "fetch", "--depth=1", "origin",
  • iled (rc={rc})") rc = subprocess.call(["git", "-C", str(src_tree), "reset", "--hard", "FETCH_HEAD"
  • -> {src_tree}") rc = subprocess.call( ["git", "clone", "--depth=1", "--branch", IPXE_
  • ={embed_src.name})") rc = subprocess.call( [ "make", "-j",
  • ce / "dnsmasq.log" proc = subprocess.Popen( [ "sudo", "-n",
  • nd the container. """ subprocess.run( ["podman", "rm", "-f", CONTAINER_NAME], std
⚠ Credential Harvesting score 10.0

Found 4 credential access pattern(s)

  • SUDO_USER`` is missing from ``/etc/passwd``). Does NOT recurse into ``data/`` -- those bind-moun
  • direct # ``manager.enqueue("../etc/passwd")`` / etc. from non-API call # sites (tests, future interna
  • raw", [ "file://../etc/passwd", # ".." segment "file://a/../../etc/passwd", # "
  • egment "file://a/../../etc/passwd", # ".." mid-path "file://", # empty path
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: safl.dk>

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

💬 Discussion Feed

Leave a comment

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