mahanai

v9.0.1 safe
3.9
Low Risk

MahanAI: terminal AI agent for NVIDIA NIM, Claude, Codex, tools, streaming, /api-key, safety prompts.

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 15 test file(s) found

  • 15 test file(s) detected (e.g. test_api_cli.py)
◈ Medium Documentation 5.0

Some documentation present

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

  • 228 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Unable to verify contributor count: no GitHub repository found

  • No GitHub repository linked — contributor count unavailable

🔬 Heuristic Checks

⚠ Outbound Network Calls score 9.0

Found 6 network call pattern(s)

  • not None else None req = urllib.request.Request(url, data=data, headers=headers, method=method)
  • method) try: with urllib.request.urlopen(req, timeout=20) as resp: return json.lo
  • ta["download_url"] req = urllib.request.Request(raw_url, headers={"User-Agent": _UA}) with urlli
  • {"User-Agent": _UA}) with urllib.request.urlopen(req, timeout=20) as resp: content = resp.rea
  • "download_url"] req = urllib.request.Request(raw_url, headers={"User-Agent": _UA}) with u
  • er-Agent": _UA}) with urllib.request.urlopen(req, timeout=20) as resp: text = resp.re
⚠ Code Obfuscation score 6.0

Found 3 obfuscation pattern(s)

  • try: return base64.b64decode(key_path.read_text().strip()) except Exception:
  • efix) self.assertTrue(base64.b64decode(encoded).startswith(b"\x89PNG\r\n\x1a\n")) def test_mul
  • detected"), (r"eval\s+", "eval() call detected"), # Privilege escalation (r"\b
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • } try: proc = subprocess.run( command, shell=True, cw
  • meout: int = 15) -> None: subprocess.run(args, capture_output=True, text=True, timeout=timeout, check
  • True) try: proc = subprocess.run( cmd, shell=True, cwd=st
  • fname = f.name proc = subprocess.run( [sys.executable, fname], cwd=str(ba
  • try: proc = subprocess.run( cmd, shell=True, cwd=str(cwd),
  • command, shell=True, cwd=str(cwd), capture_output=True,
⚠ Credential Harvesting score 10.0

Found 4 credential access pattern(s)

  • nipulation detected"), (r"/etc/passwd", "Direct /etc/passwd access detected"), (r"/etc/shadow
  • (r"/etc/passwd", "Direct /etc/passwd access detected"), (r"/etc/shadow", "Direct /etc/shadow
  • swd access detected"), (r"/etc/shadow", "Direct /etc/shadow access detected"), (r"iptables",
  • (r"/etc/shadow", "Direct /etc/shadow access detected"), (r"iptables", "Firewall manipulation
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

No author email provided

⚠ Suspicious Page Links score 2.0

Found 1 suspicious link(s) on the package page

  • Non-HTTPS external link: http://your-server/v1
✓ Git Repository History

No GitHub repository linked

  • No GitHub repository link found
⚠ Maintainer History score 2.0

1 maintainer concern(s) found

  • Author "MahanAI" 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 mahanai
Build a simple Python application using the mahanai package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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