somnia

v0.5.3 safe
2.6
Low Risk

A modular AI agent CLI inspired by the full reference harness.

📦 Package Quality Overall: Low (2.8/10)

○ Low Test Suite 1.0

No test suite detected

  • No test files or test-runner configuration detected
◈ Medium Documentation 5.0

Some documentation present

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

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

  • try: with socket.create_connection((self.host, self.port), timeout=0.1): re
  • t_headers() request = urllib.request.Request( self.url, data=json.dumps(p
  • try: with urllib.request.urlopen(request, timeout=timeout) as response:
  • t_headers() request = urllib.request.Request( self.url, data=json.dumps(
  • try: with urllib.request.urlopen(request, timeout=self.timeout_seconds):
  • t_headers() request = urllib.request.Request(self.url, headers=headers, method="DELETE")
⚠ Code Obfuscation score 2.0

Found 1 obfuscation pattern(s)

  • ry: image_bytes = base64.b64decode(encoded, validate=True) except Exception as exc:
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • roduction"', ] return subprocess.run(command, cwd=ROOT, check=False).returncode def run_dev() -
  • ch=forever", ] return subprocess.run(command, cwd=ROOT, check=False).returncode def main() -> i
  • estination))) completed = subprocess.run( ["powershell", "-NoProfile", "-Command", script],
  • return None converted = subprocess.run( ["sips", "-s", "format", "png", str(exported_tiff),
  • tend(["-e", line]) return subprocess.run( args, capture_output=True, text=Tru
  • "}" ) try: subprocess.run( [ "powershell",
✓ Credential Harvesting

No credential harvesting patterns detected

✓ 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 "Somnia Team" 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 somnia
Build a simple Python application using the somnia package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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