llamastudio

v1.7.1 suspicious
4.4
Medium Risk

FastAPI backend & desktop launcher for running local models via llama.cpp

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 28 test file(s) found

  • Test runner config found: pyproject.toml
  • 28 test file(s) detected (e.g. test_backend_reload.py)
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (32838 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

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

  • f""" import socket, time s = socket.create_connection(('127.0.0.1', {port})) print('connected', flush=True) time.s
  • t.poll() is None with socket.create_connection(("127.0.0.1", port), timeout=1): pass finall
  • try: req = urllib.request.Request(url) with urllib.request.urlopen(req
  • est(url) with urllib.request.urlopen(req, timeout=1) as response: if
  • ) with httpx.Client(timeout=timeout) as client: url = f"http
  • try: resp = httpx.get(url, timeout=1.0) if resp.status_code == 200
⚠ Code Obfuscation score 10.0

Found 5 obfuscation pattern(s)

  • ry: image_bytes = base64.b64decode(encoded, validate=True) except (ValueError, binascii
  • ry: audio_bytes = base64.b64decode(encoded, validate=True) except (ValueError, binascii
  • self.assertEqual( base64.b64decode(content[0]["input_audio"]["data"]), b"RIFF\x24\x
  • )[1] self.assertEqual(base64.b64decode(encoded), image_bytes) def test_read_file_keeps_text_be
  • )[1] self.assertEqual(base64.b64decode(encoded), audio_bytes) class TestMultimodalModelLoading(un
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • rowser else "0" process = subprocess.Popen( server_launch_command(), stdout=subprocess.
  • server...[/yellow]") subprocess.Popen( server_launch_command(), stdout=sub
  • ne try: process = subprocess.Popen( [ recorder, "--
  • bprocess lspci = subprocess.check_output(["lspci"], stderr=subprocess.DEVNULL, text=True).lower()
  • list[str]) -> str: return subprocess.check_output(command, text=True, timeout=2, stderr=subprocess.DEVNULL).st
  • try: completed = subprocess.run( [binary, flag], env=env, text=True, capture
⚠ Credential Harvesting score 10.0

Found 6 credential access pattern(s)

  • check_path_safe("/etc/passwd") with self.assertRaises(ValueError):
  • check_path_safe("/etc/passwd") def test_disable_sandbox(self): """Test sand
  • safe_path = check_path_safe("/etc/passwd") self.assertEqual(safe_path, Path("/etc/passwd
  • .assertEqual(safe_path, Path("/etc/passwd").resolve()) safe_path = check_path_safe("../o
  • .assertEqual(check_path_safe("/etc/passwd"), Path("/etc/passwd").resolve()) finally:
  • th_safe("/etc/passwd"), Path("/etc/passwd").resolve()) finally: r
✓ 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 "LLamaStudio 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 llamastudio
Build a simple Python application using the llamastudio package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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