code-discovery

v0.7.3 safe
2.4
Low Risk

DEPRECATED — use apisec-surface on PyPI (https://pypi.org/project/apisec-surface/)

📦 Package Quality Overall: Low (4.0/10)

○ Low Test Suite 1.0

No test suite detected

  • No test files or test-runner configuration detected
✦ High Documentation 9.0

Well-documented package

  • Documentation URL: "Documentation" -> https://docs.apisecapps.com/docs/surface
  • Detailed PyPI description (1024 chars)
  • Classifier: Documentation
○ 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

  • 436 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 9.0

Found 6 network call pattern(s)

  • response = requests.post( upload_url, files=files,
  • response = requests.post( instances_url, json=payload
  • rl}") response = requests.post( reload_url, files=files,
  • }...") response = requests.get(app_url, headers=headers, timeout=self.timeout)
  • ken}" response = requests.post( self.endpoint, json=payload
  • dpoint response = requests.head(self.endpoint, timeout=5) return response.status
✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • # Git add subprocess.run( ["git", "add", file_path],
  • # Git commit subprocess.run( ["git", "commit", "-m", commit_message],
  • _BRANCH", "main") subprocess.run( ["git", "push", "origin", push_branch],
  • CLI result = subprocess.run( [ "gh",
  • CLI result = subprocess.run( [ "glab",
  • _name}@circleci.com" subprocess.run( ["git", "config", "user.name", user_name],
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: apisec.ai

✓ 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 2.0

1 maintainer concern(s) found

  • Author "APIsec" 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 code-discovery
Build a simple Python application using the code-discovery package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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