opentelemetry-hooks

v0.15.0 safe
2.9
Low Risk

OpenTelemetry integration for AI coding agents (Codex, Cursor IDE/CLI, GitHub Copilot, Claude Code, Gemini CLI, Antigravity, OpenCode-compatible runners)

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 7 test file(s) found

  • 7 test file(s) detected (e.g. test_cli.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://github.com/o11y-dev/opentelemetry-hooks#readme
  • Detailed PyPI description (55826 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

  • 48 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

No suspicious network call patterns found

⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • "sys.stdin", __import__("io").StringIO(json.dumps(payload)), ) as
  • keypatch.setattr("sys.stdin", __import__("io").StringIO('{"hook_event_name":"stop"}')) # Prevent a
  • keypatch.setattr("sys.stdin", __import__("io").StringIO(payload)) monkeypatch.setattr(otel_hook, "
  • keypatch.setattr("sys.stdin", __import__("io").StringIO('{"hook_event_name":"Stop","session_id":"s1","sour
  • keypatch.setattr("sys.stdin", __import__("io").StringIO('{"hook_event_name":"Stop"}')) monkeypatch
  • keypatch.setattr("sys.stdin", __import__("io").StringIO("")) monkeypatch.setattr(otel_hook, "_init
⚠ Shell / Subprocess Execution score 10.0

Found 5 shell execution pattern(s)

  • = ROOT) -> bool: result = subprocess.run( ["git", "show-ref", "--tags", "--verify", "--quiet"
  • .monotonic() result = subprocess.run( [sys.executable, "-c", runner, "--codex"],
  • on").exists() retry = subprocess.run( [sys.executable, "-c", runner, "--codex"],
  • ")] + (args or []) return subprocess.run( cmd, capture_output=True, text=True
  • ): result = subprocess.run( ["bash", os.path.join(repo_root, "setup.sh"
✓ Credential Harvesting

No credential harvesting patterns detected

✓ 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://`
⚠ 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 opentelemetry-hooks
Build a simple Python application using the opentelemetry-hooks package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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