ifpretty

v0.14.2 safe
2.8
Low Risk

Prettify and enrich ifconfig output: aligned tables, IP/MAC/scope annotations, OUI vendor lookup, live DNS/DHCP/route, and a 1h bandwidth graph.

📦 Package Quality Overall: Low (4.2/10)

◈ Medium Test Suite 6.0

Partial test coverage signals detected

  • 2 test file(s) detected (e.g. test_ifpretty.py)
◈ Medium Documentation 5.0

Some documentation present

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

Partial type annotation coverage

  • Type checker (mypy / pyright / pytype) referenced in project
  • 114 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)

  • ocket.getdefaulttimeout() socket.setdefaulttimeout(1.0) try: for ip in private: # LAN devices rare
  • pass finally: socket.setdefaulttimeout(old) return info def _meaningful(iface: Interface) ->
  • pass try: with urllib.request.urlopen(_WAN_URL, timeout=timeout) as resp: payl
  • "" try: request = urllib.request.Request(_OUI_URL, headers={"User-Agent": _USER_AGENT})
  • ": _USER_AGENT}) with urllib.request.urlopen(request, timeout=timeout) as resp: raw =
  • ]).encode() req = urllib.request.Request( _IPAPI_BATCH, data=body, headers={"
⚠ Code Obfuscation score 2.0

Found 1 obfuscation pattern(s)

  • t tempfile now = int(__import__("time").time()) with tempfile.NamedTemporaryFile("w", suffi
⚠ Shell / Subprocess Execution score 10.0

Found 5 shell execution pattern(s)

  • r parse. try: r = subprocess.run( ["ifconfig", "-a"] if interfaces else ["ifconfi
  • lure.""" try: r = subprocess.run( cmd, capture_output=True, text=True, timeout=ti
  • RC), ) return subprocess.run( [sys.executable, "-m", "ifpretty", *flags],
  • ndir: completed = subprocess.run( [sys.executable, "-m", "ifpretty", "--recor
  • nv(bindir) return subprocess.run( [sys.executable, "-m", "ifpretty", "--recor
✓ 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 ifpretty
Build a simple Python application using the ifpretty package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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