luma-infra

v0.2.67 suspicious
4.4
Medium Risk

Declarative deployment CLI for region-aware Nomad infrastructure.

📦 Package Quality Overall: Medium (5.2/10)

◈ Medium Test Suite 6.0

Partial test coverage signals detected

  • 1 test file(s) detected (e.g. test_dashboard_setup.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://liutianjie.github.io/luma/
  • Detailed PyPI description (13825 chars)
◈ Medium Contributing Guide 7.0

Some contribution signals present

  • Governance file: security.py
◈ Medium Type Annotations 5.0

Partial type annotation coverage

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

  • ntext() try: with socket.create_connection((cname, 443), timeout=timeout) as sock: with con
  • ) request = urllib.request.Request( f"https://{host}/" + (f"?{query}" i
  • try: with urllib.request.urlopen(request, timeout=API_TIMEOUT_SECONDS) as response:
  • , str], bytes]: request = urllib.request.Request(url, headers={"User-Agent": "luma-cdn-check", "Accep
  • gzip"}) try: with urllib.request.urlopen(request, timeout=20) as response: return
  • encode("utf-8") req = urllib.request.Request( API_BASE + path, data=data,
⚠ Code Obfuscation score 10.0

Found 5 obfuscation pattern(s)

  • try: config_text = base64.b64decode(encoded, validate=True).decode("utf-8") except (ValueErr
  • tput": data = base64.b64decode(message.get("data", ""), validate=True) stre
  • in frame") data = base64.b64decode(encoded, validate=True) if not data or len(data)
  • pt'): encrypted = base64.b64decode(payload['encrypt'], validate=True) if len(encryp
  • y: value = json.loads(base64.b64decode(raw + "=" * (-len(raw) % 4), altchars=b"-_", validate=True))
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • stream: result = subprocess.run( ["git", "-C", str(repo), "archive", "--form
  • after install") result = subprocess.run( [nomad, "node", "status", "-self", "-json"],
  • T_SERVICE_REFRESH"] = "1" subprocess.run(command, shell=True, check=True, env=env) def _start_detac
  • gv]) try: subprocess.run(invocation, check=True, stdout=subprocess.PIPE, stderr=subpr
  • 0 try: process = subprocess.Popen( ["sh", "-c", wrapper, "luma-detached-update", *
  • " subprocess.run(command, shell=True, check=True, env=env) def _start_detached_manager_update(
⚠ Credential Harvesting score 10.0

Found 6 credential access pattern(s)

  • eractive: value = getpass.getpass(f"{PROVIDER_LABELS[provider]} {FIELD_LABELS[field]}: ").stri
  • isatty(): token = getpass.getpass("Management token: ").strip() if not token: rais
  • is None: value = getpass.getpass(f"{args.name}: ") if args.scope: result
  • else: password = getpass.getpass(f"{args.host} password/token: ") result = client.set
  • rd_stdin else getpass.getpass(f"{args.domain} password: ") ) serve_kwa
  • provider_token = getpass.getpass(f"{args.type}:{args.account} token: ") result = clie
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

No author email provided

✓ 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 "Luma Contributors" 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 luma-infra
Build a simple Python application using the luma-infra package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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