ghstack

v0.18.0 safe
2.8
Low Risk

Stack diff support for GitHub

📦 Package Quality Overall: Low (3.8/10)

◈ Medium Test Suite 6.0

Partial test coverage signals detected

  • 1 test file(s) detected (e.g. test_prelude.py)
◈ Medium Documentation 5.0

Some documentation present

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

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

  • ca50efbe86907a" res = requests.post( f"https://{github_url}/login/device/code",
  • input() res = requests.post( f"https://{github_url}/login/oauth/access_token
  • l}/api/v3/user" res = requests.get( request_url, headers={
  • : self._session = aiohttp.ClientSession() return self._session async def aclose(self) -
⚠ Code Obfuscation score 4.0

Found 2 obfuscation pattern(s)

  • T, ) result = eval(code, namespace) if inspect.isawaitable(result):
  • date(globals_) code = compile( source, script_path, "exec", flags=ast.PyCF_ALLOW_TOP_LEVEL_AWAIT,
⚠ Shell / Subprocess Execution score 10.0

Found 5 shell execution pattern(s)

  • is host auth_status = subprocess.run( ["gh", "auth", "status", "-h", github_url],
  • token token_result = subprocess.run( ["gh", "auth", "token", "-h", github_url],
  • api username_result = subprocess.run( ["gh", "api", "user", "-q", ".login", "--hostna
  • ! try: meta_dir = subprocess.run( ("git", "rev-parse", "--git-dir"),
  • r = os.path.join( subprocess.run( ("hg", "root"), stdout=subprocess.PIPE, enc
⚠ Credential Harvesting score 2.5

Found 1 credential access pattern(s)

  • token: circle_token = getpass.getpass( "CircleCI Personal API token (make one at "
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: mit.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 2.0

1 maintainer concern(s) found

  • Author "Edward Z. Yang" 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 ghstack
Build a simple Python application using the ghstack package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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