beambam

v1.5.1 suspicious
4.7
Medium Risk

Signed-MQTT bridge + daemon for Bambu Lab printers (X1/P1/A1/H2/X2D, Jan-2025+ firmware). Includes Home Assistant publisher, MCP server, web UI, slicing helpers, and a print-plan analyzer.

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 1 test file(s) found

  • Test runner config found: pyproject.toml
  • 1 test file(s) detected (e.g. test_phase2_smoke.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://github.com/tribixbite/beambam/tree/main/docs
  • Detailed PyPI description (37717 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

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

  • )` + force TLSv1.2 + manual socket.create_connection() + wrap_socket-once pattern instead. All three patterns ar
  • ftp.set_pasv(True) raw = socket.create_connection((creds.ip, 990), timeout=timeout) ftp.sock = ssl_ctx.wra
  • col.""" try: with socket.create_connection((ip, port), timeout=timeout): return True, ""
  • y).encode("utf-8") req = urllib.request.Request(url, method=method, data=data, headers=h) ctx =
  • ntext() try: with urllib.request.urlopen(req, timeout=timeout, context=ctx) as r:
  • ice/user/login" req = urllib.request.Request(url, method="GET", headers={ "User-Agent
⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • get("header") or {} sig = base64.b64decode(header["sign_string"]) family = next(k for k in obj if k
  • ame = spec, name module = __import__(module_name, fromlist=[attr_name]) value = getattr(module, attr_name) globals()[name]
  • self._printers_lock = __import__("threading").Lock() self._stop = Event() self._ssdp_list
  • [] self._ssdp_lock = __import__("threading").Lock() # Cache of {dev_id: parsed_dict} so we can r
  • ck self._write_lock = __import__("threading").Lock() self._subscribed: set[str] = set() s
  • rt zlib raw = zlib.decompress(raw) payload = raw.decode("utf-8", errors="repla
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • inter_sign_key.pem") rc = os.system( f"cd {Path.home()} && python3 {esk.__file__} --seri
  • f flat.is_file(): subprocess.call([sys.executable, str(flat), str(res)]) print(f"[x2d_slic
  • , file=sys.stderr) return subprocess.call(cmd, env=env) def main() -> int: p = argparse.Argument
  • "ab") try: proc = subprocess.Popen( [sys.executable, "-m", "beambam.cli", *argv],
  • LAN credentials": subprocess.call([_sys.executable, "-m", "beambam", "init"]) elif c.n
  • "Cloud session": subprocess.call([_sys.executable, "-m", "beambam", "cloud-login", "--code-on
⚠ Credential Harvesting score 2.5

Found 1 credential access pattern(s)

  • try: password = getpass.getpass("Password: ") except (EOFError, KeyboardInterrupt):
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: gmail.com>

⚠ Suspicious Page Links score 8.0

Found 4 suspicious link(s) on the package page

  • Non-HTTPS external link: http://127.0.0.1:8765/state
  • Non-HTTPS external link: http://127.0.0.1:8765/healthz
  • Non-HTTPS external link: http://127.0.0.1:8765/metrics
  • Non-HTTPS external link: http://127.0.0.1:8766/cam.mjpeg`
⚠ 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 beambam
Build a simple Python application using the beambam package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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