lever-runner

v1.0.0 safe
3.7
Low Risk

Post-inference command execution. LLM produces a phrase, never a shell command.

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 13 test file(s) found

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

Some documentation present

  • Documentation URL: "Documentation" -> https://github.com/SuperInstance/lever-runner/tree/main/docs
  • Detailed PyPI description (14773 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

  • 123 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 7.5

Found 5 network call pattern(s)

  • } try: r = requests.post(url, headers=headers, json=body, timeout=30) r.raise
  • port requests r = requests.get(f"{host}/api/tags", timeout=3) r.raise_for_statu
  • user}], } r = requests.post(url, headers=headers, json=body, timeout=timeout_sec)
  • er}, ], } r = requests.post(url, headers=headers, json=body, timeout=timeout_sec) r.
  • er}, ], } r = requests.post(url, json=body, timeout=timeout_sec) r.raise_for_status(
⚠ Code Obfuscation score 2.0

Found 1 obfuscation pattern(s)

  • with tarfile.open(fileobj=__import__("io").BytesIO(tar_bytes), mode="r") as tar: names = t
⚠ Shell / Subprocess Execution score 8.0

Found 4 shell execution pattern(s)

  • " # Ensure DB is initialized subprocess.run([sys.executable, "init_db.py", "--yes"], capture_output=True
  • ion) try: proc = subprocess.Popen( command, shell=True, cw
  • command, shell=True, cwd=str(session), executable="/bin
  • ["S602", "S108", "UP031"] # shell=True is the design; /tmp/lever-runner is the sandbox "src/lever_
⚠ Credential Harvesting score 10.0

Found 6 credential access pattern(s)

  • s if available tok_path = os.getenv("TOKEN_LOG_PATH", "./data/token_usage.jsonl") embed_path = os.
  • s writable.""" tok_path = os.getenv("TOKEN_LOG_PATH", "./data/token_usage.jsonl") embed_path = os.
  • thlib import Path LOG_PATH = os.getenv("TOKEN_LOG_PATH", "./logs/token_usage.jsonl") EMBED_LOG_PATH = os.
  • all rate. LOG_MAX_BYTES = int(os.getenv("TOKEN_LOG_MAX_BYTES", str(5 * 1024 * 1024))) # 5 MiB LOG_BACKUP_
  • 5 MiB LOG_BACKUP_COUNT = int(os.getenv("TOKEN_LOG_BACKUP_COUNT", "3")) @dataclass class TokenRecord:
  • d chaining"), ('$(cat /etc/passwd)', "command substitution"), ('`whoami`',
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: superinstance.dev>

✓ 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 6.0

3 maintainer concern(s) found

  • Only one version has ever been released — brand new package
  • 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 lever-runner
Build a simple Python application using the lever-runner package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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