pip-guardian

v1.0.1 safe
2.2
Low Risk

Stops malicious PyPI packages before installation

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 4 test file(s) found

  • 4 test file(s) detected (e.g. test_cli.py)
◈ Medium Documentation 5.0

Some documentation present

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

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

  • markers = ("requests.post(", "urllib.request.urlopen(", "http://", "https://") secret_markers = ("aws
  • " try: response = requests.get(url, timeout=10) except requests.RequestException:
  • ) exfil_markers = ("requests.post(", "urllib.request.urlopen(", "http://", "https://") sec
  • : int = 20) -> None: with requests.get(url, stream=True, timeout=timeout) as response: resp
  • t[str, Any]]]: response = requests.get(f"https://pypi.org/pypi/{package}/json", timeout=10) res
  • er {token}" try: requests.post(endpoint, json=payload, headers=headers, timeout=3) exce
⚠ Code Obfuscation score 2.0

Found 1 obfuscation pattern(s)

  • ", "marshal.loads", "exec(", "eval(")): findings.append( {
⚠ Shell / Subprocess Execution score 6.0

Found 3 shell execution pattern(s)

  • sys.exit(2) result = subprocess.run([sys.executable, "-m", "pip"] + cli_args, check=False)
  • f json_mode: result = subprocess.run(cmd, check=False, capture_output=True, text=True) _e
  • ult.returncode) result = subprocess.run(cmd, check=False) _emit_telemetry( command=comma
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

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

1 maintainer concern(s) found

  • Author "Anant Dhavale" 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-guardian
Build a simple Python application using the pip-guardian package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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