ghc-api

v1.0.37 safe
3.9
Low Risk

GitHub Copilot API Proxy - A Flask application serving as a proxy server for GitHub Copilot API

📦 Package Quality Overall: Low (2.8/10)

○ Low Test Suite 1.0

No test suite detected

  • No test files or test-runner configuration detected
◈ Medium Documentation 5.0

Some documentation present

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

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

  • try: response = requests.get(url, timeout=0.5) last = response.status_code
  • try: response = requests.get(url, timeout=0.5) if response.status_code < 500:
  • on is None: session = requests.Session() _thread_local.session = session return session
  • _PATH: upstream = requests.get( endpoint, params=safe_query_string(query_st
  • else: upstream = requests.post( endpoint, data=body, headers=headers,
  • try: response = requests.get( token_endpoint, headers=get
⚠ Code Obfuscation score 4.0

Found 2 obfuscation pattern(s)

  • o a dict.""" compressed = base64.b64decode(line.encode("ascii")) raw = gzip.decompress(compressed)
  • ) % 4) try: raw = base64.b64decode( padded.encode("ascii"), altchars=b"-_", validat
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • ws": try: os.system(f"notepad {config_path}") except Exception:
  • args: str) -> str: return subprocess.check_output(["git", "-C", str(repo), *args], text=True).strip() SECURI
  • "js_runtime_version": subprocess.check_output([js_runtime, "--version"], text=True).strip(), },
  • coding="utf-8") process = subprocess.Popen(command, cwd=ROOT, env=env, stdout=log, stderr=subprocess.ST
  • return None result = subprocess.run( [npm, "root", "-g"], capture_output
  • try: proc = subprocess.run(command, capture_output=True, text=True, check=False, timeou
⚠ Credential Harvesting score 2.5

Found 1 credential access pattern(s)

  • ment variables GITHUB_TOKEN = os.environ.get("GITHUB_TOKEN", "") PORT = int(os.environ.get("PORT", 8313)) HOST = os.en
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

No author email provided

⚠ Suspicious Page Links score 8.0

Found 4 suspicious link(s) on the package page

  • Non-HTTPS external link: http://127.0.0.1:8313/v1/images/generations
  • Non-HTTPS external link: http://127.0.0.1:8313/v1/images/edits
  • Non-HTTPS external link: http://127.0.0.1:8313/v1/systemone
  • Non-HTTPS external link: http://127.0.0.1:8313/v1/decisions
⚠ 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 "sxwxs" 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 ghc-api
Build a simple Python application using the ghc-api package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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