claude-agent-sdk

v0.2.178 safe
3.0
Low Risk

Python SDK for Claude Code

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 8 test file(s) found

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

Some documentation present

  • Documentation URL: "Documentation" -> https://docs.anthropic.com/en/docs/claude-code/sdk
  • Detailed PyPI description (13247 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
  • 375 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)

  • st[dict[str, Any]]: req = urllib.request.Request( f"https://pypi.org/simple/{package}/",
  • k", }, ) with urllib.request.urlopen(req, timeout=30) as resp: data = json.load(r
⚠ Code Obfuscation score 2.0

Found 1 obfuscation pattern(s)

  • ata, 1) for clone in (pickle.loads(pickle.dumps(error)), copy.copy(error)): assert
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • () try: result = subprocess.run( cmd, check=True, stdout
  • me and metadata) result = subprocess.run( [ sys.executable, "-m",
  • () try: result = subprocess.run( [sys.executable, "-m", "twine", "check", "dist/
  • ne inherits ours. """ subprocess.run( command, check=True, capture_output
  • er" try: result = subprocess.run( [ "security", "
  • """ try: result = subprocess.run( ["git", "worktree", "list", "--porcelain"],
⚠ Credential Harvesting score 7.5

Found 3 credential access pattern(s)

  • ot globs. Example: ``{"*": ["/etc/hosts"]}`` leaves violations that mention ``/etc/hosts`` unreport
  • ves violations that mention ``/etc/hosts`` unreported for every command. This only affects which vi
  • N", None), ("../../etc/passwd", None), ("", None), (".1.2.3", Non
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: anthropic.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 claude-agent-sdk
Build a simple Python application using the claude-agent-sdk package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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