pip-cve-gate

v0.3.3 safe
2.3
Low Risk

Pre-install CVE gate for pip — blocks vulnerable and freshly published packages before install

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 12 test file(s) found

  • Test runner config found: pyproject.toml
  • 12 test file(s) detected (e.g. test_cli.py)
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (8006 chars)
○ 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

  • 31 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 1.5

Found 1 network call pattern(s)

  • ax_retries=_RETRY) SESSION = requests.Session() SESSION.headers["User-Agent"] = USER_AGENT SESSION.mount("
✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 4.0

Found 2 shell execution pattern(s)

  • pip() try: return subprocess.call([pip_bin] + args, timeout=timeout) except subprocess.Tim
  • try: proc = subprocess.run( # noqa: S603 — args are a fixed list, binary resolved via
⚠ Credential Harvesting score 10.0

Found 5 credential access pattern(s)

  • > dict[str, str]: token = os.getenv("GITHUB_TOKEN") or os.getenv("GH_TOKEN") if token: return {"A
  • requirements file can do `-r /etc/passwd` and force the parser # to read system files line-by-line,
  • d, a malicious req # file `-r /etc/passwd` would parse system files line-by-line and leak their # con
  • xt" parent.write_text("-r /etc/passwd\n") specs, flags, warnings = parse([str(parent)]) a
  • must be empty — we never read /etc/passwd assert specs == [] def test_nested_unsupported_extens
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: users.noreply.github.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 pip-cve-gate
Build a simple Python application using the pip-cve-gate package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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