genai-otel-instrument

v1.48.0 safe
3.6
Low Risk

Comprehensive OpenTelemetry auto-instrumentation for LLM/GenAI applications

📦 Package Quality Overall: Medium (5.6/10)

✦ High Test Suite 9.0

Test suite present — 1 test file(s) found

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

Some documentation present

  • Documentation URL: "Documentation" -> https://mandark-droid.github.io/genai_otel_instrument/
  • Detailed PyPI description (24882 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
◈ Medium Type Annotations 7.0

Partial type annotation coverage

  • Classifier: Typing :: Typed
  • Type checker (mypy / pyright / pytype) referenced in project
  • 13 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)

  • ric names try: response = requests.get(f"{PROMETHEUS_URL}/api/v1/label/__name__/values", timeout=10
  • query_response = requests.get( f"{PROMETHEUS_URL}/api/v1/query", param
  • try: response = requests.get(f"http://192.168.206.128:{port}/metrics", timeout=2)
  • }, } response = requests.post(url, json=body, headers=headers, timeout=60) print(respo
  • sync"): http_client = httpx.Client(transport=transport) else: http_client = httpx.A
  • else: http_client = httpx.AsyncClient(transport=transport) return dict(api_key=DUMMY_KEY, base
⚠ Code Obfuscation score 2.0

Found 1 obfuscation pattern(s)

  • try: result = eval(expression) # nosec B307 - Example code only re
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • 00:.1f}')" ) result = subprocess.run( # nosec B603 [sys.executable, "-c", code],
  • "darwin": return subprocess.check_output( ["sysctl", "-n", "machdep.cpu.brand_string"
  • hon", python_version] subprocess.check_call(cmd, stdout=subprocess.DEVNULL, stderr=subprocess.STDOUT)
  • rr=subprocess.STDOUT) subprocess.check_call( [uv, "pip", "install", "--python", py, "-r", re
  • =True).create(target) subprocess.check_call([py, "-m", "pip", "install", "--quiet", "-r", req]) with
  • (lib, cfg)) rc = subprocess.call( [interpreters[lib], "-m", "benchlib.worker"
⚠ Credential Harvesting score 7.5

Found 3 credential access pattern(s)

  • redentials are set if not os.environ.get("AWS_ACCESS_KEY_ID"): print("⚠ Warning: AWS_ACCESS_KEY_ID
  • an-text-express-v1") REGION = os.environ.get("AWS_REGION") or os.environ.get("AWS_DEFAULT_REGION") or "us-east
  • .environ.get("AWS_REGION") or os.environ.get("AWS_DEFAULT_REGION") or "us-east-1" _failures: List[str] = [] _
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: rocketmail.com>

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

2 maintainer concern(s) found

  • 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 genai-otel-instrument
Build a simple Python application using the genai-otel-instrument package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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