envsleuth

v1.0.0 safe
2.0
Low Risk

Static environment-variable analysis for Python projects, with .env checks, pydantic-settings support, CI policies, and SARIF output.

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 10 test file(s) found

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

Some documentation present

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

  • 574 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 3.0

Found 2 network call pattern(s)

  • [str]: try: req = urllib.request.Request( PYPI_URL, headers={"User-Ag
  • eck"}, ) with urllib.request.urlopen(req, timeout=REQUEST_TIMEOUT) as resp: p
✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 2.0

Found 1 shell execution pattern(s)

  • "expanded-home" result = subprocess.run( [shutil.which("sh"), "-c", '. "$1"\nprintf "%s" "$V
⚠ Credential Harvesting score 10.0

Found 4 credential access pattern(s)

  • """ import os os.getenv("TOKEN", "fallback") """) write(code / "z_required.py", ""
  • """ import os os.getenv("TOKEN", "fallback") """) write(tmp_path, "src/z_required.
  • """ import os os.getenv("TOKEN\nFORGED\x1b]8;;https://evil.test\x07CLICK") """) en
  • """ import os os.getenv("TOKEN") """) write(tmp_path, "broken.py", "def nope(:\n")
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

No author email provided

✓ 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 "k38f" 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 envsleuth
Build a simple Python application using the envsleuth package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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