langchain-tests

v1.1.9 safe
2.1
Low Risk

Standard tests for LangChain implementations

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 10 test file(s) found

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

Some documentation present

  • Documentation URL: "Documentation" -> https://docs.langchain.com/
  • Detailed PyPI description (3635 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

  • 287 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 6.0

Found 4 network call pattern(s)

  • else {} httpx_response = httpx.get(url, headers=headers, timeout=10.0).content return base6
  • pdf_data = base64.b64encode(httpx.get(url, timeout=10.0).content).decode( "utf-8"
  • base64.b64encode( httpx.get(image_url, timeout=10.0).content ).decode("utf-8")
  • 64.b64encode( httpx.get(image_url, timeout=10.0).content ).decode("utf-8
⚠ Code Obfuscation score 4.0

Found 2 obfuscation pattern(s)

  • "] == "base64" assert base64.b64decode(result.file_data["content"]) == raw_bytes def test_read
  • "] == "base64" assert base64.b64decode(result.file_data["content"]) == raw_bytes async def tes
⚠ Shell / Subprocess Execution score 4.0

Found 2 shell execution pattern(s)

  • licious_path = "'; import os; os.system('echo INJECTED'); #" result = sandbox_backend.ls(mal
  • licious_path = "'; import os; os.system('echo INJECTED'); #" result = sandbox_backend.read(m
✓ 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 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 langchain-tests
Build a simple Python application using the langchain-tests package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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