dead-cst

v0.15.2 safe
2.7
Low Risk

Python dead code analysis backed by a Rust extension (ty + ruff)

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 41 test file(s) found

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

Some documentation present

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

  • 180 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

No suspicious network call patterns found

⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • pytest.param( "__import__('p.functions')", {"p.x -> p.functions"}, id="dunde
  • "def a(): getattr(__import__('p.functions'), 'f')()", { "p.x.a -> p.functio
  • pytest.param( "__import__('functions', globals(), locals(), [], 1)", {"p.x -> p.functions"},
  • pytest.param( "__import__('functions', level=1)", {"p.x -> p.functions"}, id="dunde
  • pytest.param( "__import__('p', None, None, ['functions'])", { "p.x -> p",
  • pytest.param( "__import__('p', fromlist=['functions'])", { "p.x -> p",
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • args: str) -> str: return subprocess.run( ["rustc", *args], capture_output=True, text=True, c
  • xt(dylib_only) proc = subprocess.run(cmd, cwd=root, env=env, check=True, stdout=subprocess.PIPE,
  • ", err=True) try: subprocess.run(cmd, check=True) except subprocess.CalledProcessError as
  • (*args: str) -> None: subprocess.run(["git", *args], cwd=dest, check=True, capture_output=True)
  • lux0_root})", flush=True) subprocess.run(["uv", "sync", "--all-packages"], cwd=flux0_root, check=True
  • _CST_TIMING"] = "1" out = subprocess.run( ["uv", "run", "python", "-c", code], check=
✓ 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 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 dead-cst
Build a simple Python application using the dead-cst package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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