oai-statsig-python-core

v0.44.0 safe
2.4
Low Risk

Statsig Python bindings for the Statsig Core SDK.

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 41 test file(s) found

  • 41 test file(s) detected (e.g. event_listener_reentrancy_subprocess.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "documentation" -> https://docs.statsig.com/server-core/python-core
  • Detailed PyPI description (8677 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

  • 213 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 3.0

Found 2 network call pattern(s)

  • event_counts(): with urllib.request.urlopen(f"http://127.0.0.1:{port}/counts") as response:
  • s=None): connection = http.client.HTTPConnection( "127.0.0.1", server.server_port, timeout=5
⚠ Code Obfuscation score 4.0

Found 2 obfuscation pattern(s)

  • (frozen) is frozen assert pickle.loads(pickle.dumps(frozen)) == frozen assert json.loads(json.d
  • frozen_tree() restored = pickle.loads(pickle.dumps(frozen)) assert restored == frozen ass
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • _PRELOAD", None) server = subprocess.Popen( [sys.executable, __file__, "--server", args.specs],
  • orted(addresses) result = subprocess.run( ["addr2line", "-f", "-C", "-e", maps[0][3]],
  • ange(samples): proc = subprocess.run( [ sys.executable,
  • _PRELOAD", None) server = subprocess.Popen( [ sys.executable, str(Path(
  • allback() -> None: proc = subprocess.run( [sys.executable, "tests/fork_callback_runner.py"],
  • mmand: ", command) proc = subprocess.Popen( command, universal_newlines=True, e
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: statsig.com>

⚠ Suspicious Page Links score 2.0

Found 1 suspicious link(s) on the package page

  • Non-HTTPS external link: http://statsig-proxy:8080
⚠ 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 "Statsig, Daniel Loomb <[email protected]>" 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 oai-statsig-python-core
Build a simple Python application using the oai-statsig-python-core package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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