dspy

v3.4.1 safe
3.6
Low Risk

DSPy

📦 Package Quality Overall: Low (3.8/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 (4776 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

  • 1305 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)

  • try: sock = socket.create_connection( (connect_host, connect_port), timeout=conne
  • encode("utf-8") request = urllib.request.Request( url, data=body, headers={"C
  • method="POST", ) with urllib.request.urlopen(request, timeout=30) as response: # noqa: S310 - pr
  • , bytes]] class _NoRedirect(urllib.request.HTTPRedirectHandler): def redirect_request(self, req, fp
⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • ead):end].split()) return base64.b64decode(body) def _der_read(data: bytes, pos: int) -> tuple[int, b
  • ts") audio.extend(base64.b64decode(event.data, validate=True)) if audio_media_type
  • try: raw.extend(base64.b64decode(chunk)) except Exception: padded = chunk
  • y: raw.extend(base64.b64decode(padded)) except Exception: pass
  • ilename"], bytes_data=base64.b64decode(raw) if isinstance(raw, str) else None, media_type=d
  • nonical_request"]) body = base64.b64decode(msg["body_b64"]) response = lm.parse_response(request, _
⚠ Shell / Subprocess Execution score 2.0

Found 1 shell execution pattern(s)

  • > str: try: out = subprocess.run(argv, capture_output=True, text=True, timeout=timeout, check
⚠ Credential Harvesting score 7.5

Found 3 credential access pattern(s)

  • ARED_CREDENTIALS_FILE") or "~/.aws/credentials") try: if text: creds.read_string(t
  • ials-file", "ini-profile", "~/.aws/credentials", "", shared_file_probe, shared_file_acquire), Rung
  • (`~/.aws/config`, then `~/.aws/credentials`); GCP ``project`` from the ADC file's ``quota_project_
⚠ Typosquatting score 3.0

Possible typosquat of: mypy

  • "dspy" is 2 edit(s) from "mypy"
✓ Registered Email Domain

Email domain looks legitimate: stanford.edu>

✓ 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 dspy
Build a simple Python application using the dspy package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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