nps-ctl

v0.9.1 suspicious
4.4
Medium Risk

A Python library and CLI tool for managing NPS (djylb/nps) proxy servers

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 22 test file(s) found

  • 22 test file(s) detected (e.g. test_cli_exit_codes.py)
◈ Medium Documentation 5.0

Some documentation present

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

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

  • lse, repr=False) _opener: urllib.request.OpenerDirector | None = field( default=None, init=Fa
  • ) proxy_handler = urllib.request.ProxyHandler( {"http": self.proxy, "https":
  • ) https_handler = urllib.request.HTTPSHandler(context=self._ssl_context) self._op
  • t) self._opener = urllib.request.build_opener(proxy_handler, https_handler) else:
  • y( self, req: urllib.request.Request, *, error_prefix: str = "Request fai
  • lse: with urllib.request.urlopen( req, timeout=self.timeout,
⚠ Code Obfuscation score 6.0

Found 3 obfuscation pattern(s)

  • ry: decoded = base64.b64decode(supplied[6:], validate=True).decode("utf-8")
  • erations_text) salt = base64.b64decode(salt_text, validate=True) digest = base64.b64decode(
  • lidate=True) digest = base64.b64decode(digest_text, validate=True) except (ValueError, binascii
⚠ Shell / Subprocess Execution score 10.0

Found 5 shell execution pattern(s)

  • "bash -s"]) result = subprocess.run( ssh_cmd, input=script,
  • tication result = subprocess.run( cmd, capture_output=True,
  • process result = subprocess.run( ["lsof", "-ti", f":{self.local_port}"],
  • ilable, try pkill subprocess.run( ["pkill", "-f", f"ssh -D {self.local_port}"
  • rite_text(block) result = subprocess.run( ["bash", str(script)], cwd=tmp_path, capture_output
⚠ Credential Harvesting score 10.0

Found 4 credential access pattern(s)

  • try: auth_key = getpass.getpass(f"API auth key for {name} (empty for none): ") excep
  • try: password = getpass.getpass("Dashboard password: ") confirm = getpass.getpas
  • ord: ") confirm = getpass.getpass("Repeat password: ") except EOFError: pr
  • y: password = getpass.getpass(f"Password for {username}: ") except EOFError:
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: gmx.com>

⚠ Suspicious Page Links score 2.0

Found 1 suspicious link(s) on the package page

  • Non-HTTPS external link: http://127.0.0.1:8080/
⚠ 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 nps-ctl
Build a simple Python application using the nps-ctl package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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