chat-sdk

v0.4.41 safe
3.9
Low Risk

Multi-platform async chat SDK for Python — port of Vercel Chat

📦 Package Quality Overall: Low (4.2/10)

◈ Medium Test Suite 6.0

Partial test coverage signals detected

  • Test runner config found: pyproject.toml
◈ Medium Documentation 5.0

Some documentation present

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

Partial type annotation coverage

  • Classifier: Typing :: Typed
  • 832 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 7.5

Found 5 network call pattern(s)

  • Before this, downloads used ``httpx.AsyncClient()``, # which honored those env vars, so a deployment who
  • ient each time. Defaults to ``httpx.AsyncClient()``. # Does not affect Web API clients (``web_client_opt
  • import httpx async with httpx.AsyncClient() as client: response = await client.request(
  • ttp async with ( aiohttp.ClientSession() as session, session.request(method, url, data=body
  • self._http_session = aiohttp.ClientSession() return self._http_session async def disconnec
⚠ Code Obfuscation score 10.0

Found 5 obfuscation pattern(s)

  • ("data", "") data_bytes = base64.b64decode(data_b64) payload = json.loads(data_bytes.decode("utf-8"
  • .aead import AESGCM iv = base64.b64decode(encrypted.iv) ciphertext = base64.b64decode(encrypted.da
  • ncrypted.iv) ciphertext = base64.b64decode(encrypted.data) tag = base64.b64decode(encrypted.tag)
  • ode(encrypted.data) tag = base64.b64decode(encrypted.tag) aesgcm = AESGCM(key) # AESGCM.decryp
  • omhex(trimmed) if is_hex else base64.b64decode(trimmed) if len(key) != 32: raise ValueError(
⚠ Shell / Subprocess Execution score 4.0

Found 2 shell execution pattern(s)

  • EE")} try: proc = subprocess.run( ["git", "-C", ts_root, *args], capt
  • """ try: proc = subprocess.run( ["git", "-C", str(path.parent), "show", f"HEAD:
⚠ Credential Harvesting score 10.0

Found 6 credential access pattern(s)

  • t_token = config.bot_token or os.environ.get("DISCORD_BOT_TOKEN") if not bot_token: raise Vali
  • ic_key = config.public_key or os.environ.get("DISCORD_PUBLIC_KEY") if not public_key: raise Va
  • id = config.application_id or os.environ.get("DISCORD_APPLICATION_ID") if not application_id:
  • _url: str = config.api_url or os.environ.get("DISCORD_API_URL") or DISCORD_API_BASE self._name = "discord"
  • [rid.strip() for rid in os.environ.get("DISCORD_MENTION_ROLE_IDS", "").split(",") if rid.strip()] )
  • env_channel_ids = os.environ.get("DISCORD_RESPOND_TO_CHANNEL_IDS") self._respond_to_channe
✓ 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 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 chat-sdk
Build a simple Python application using the chat-sdk package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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