dirplot

v0.6.0 suspicious
4.2
Medium Risk

Nested treemap visualizations for directory trees and archives

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 6 test file(s) found

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

Some documentation present

  • Detailed PyPI description (6645 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
◈ Medium Type Annotations 7.0

Partial type annotation coverage

  • Classifier: Typing :: Typed
  • 433 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)

  • str | None) -> Any: req = urllib.request.Request(url) req.add_header("Accept", "application/vnd.g
  • oken}") try: with urllib.request.urlopen(req) as resp: return json.loads(resp.rea
  • rl += f"&sha={ref}" req = urllib.request.Request(url) req.add_header("Accept", "application/vnd.g
  • oken}") try: with urllib.request.urlopen(req) as resp: link = resp.getheader("Lin
  • ceed *max_bytes*.""" with urllib.request.urlopen(url) as resp: # noqa: S310 length = resp.he
  • f}/{full_path}" req = urllib.request.Request(url) if token: req.add_header("A
⚠ Code Obfuscation score 6.0

Found 3 obfuscation pattern(s)

  • 2"): try: __import__(pkg) except ImportError: missing.append(pkg)
  • @pytest.mark.skipif( not __import__("shutil").which("ffmpeg") or not __import__("shutil").which("ffprobe"
  • util").which("ffmpeg") or not __import__("shutil").which("ffprobe"), reason="ffmpeg/ffprobe not found", )
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • df_path = Path(pdf_path) subprocess.run( ["rsvg-convert", "-f", "pdf", "-o", str(pdf_path),
  • not running.""" result = subprocess.run( [docker, "inspect", "--type", "container", containe
  • ath\tsize\ttype" result = subprocess.run( [ docker, "exec",
  • "done" ) return subprocess.run( [docker, "exec", container_name, "sh", "-c", script
  • unlimited items result = subprocess.run(cmd, capture_output=True, text=True) if result.returncod
  • (revision_range) result = subprocess.run(cmd, capture_output=True, text=True, check=True) commits
⚠ Credential Harvesting score 10.0

Found 4 credential access pattern(s)

  • """ token = token or os.environ.get("GITHUB_TOKEN") or _gh_cli_token() resolved = ref or _default_branch(
  • github_token: str | None = os.environ.get("GITHUB_TOKEN") ssh_password: str | None = None password: str | N
  • github_token: str | None = os.environ.get("GITHUB_TOKEN") _tmpdir: tempfile.TemporaryDirectory[str] | None = No
  • ub_path(root) token = os.environ.get("GITHUB_TOKEN") or _gh_cli_token() if not ref: ref =
✓ 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 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 dirplot
Build a simple Python application using the dirplot package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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