pocketshell

v0.5.15 safe
2.6
Low Risk

Unified server-side Python utility for the PocketShell Android and desktop clients.

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 2 test file(s) found

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

Some documentation present

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

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

  • if not dest.exists(): urllib.request.urlretrieve(url, dest) got = sha256(dest) if got !=
  • r(out / "pbs.tar.gz") urllib.request.urlretrieve(PBS_URL, args.pbs_archive) if sha256(Path(ar
  • ve).exists(): urllib.request.urlretrieve(GIT_URL, args.git_archive) if sha256(Pat
  • r installs an empty :class:`urllib.request.ProxyHandler`, so requests always go direct. (With ``POCKE
  • def token_opener(*handlers: urllib.request.BaseHandler) -> urllib.request.OpenerDirector: """A urll
  • rllib.request.BaseHandler) -> urllib.request.OpenerDirector: """A urllib opener that never uses an en
⚠ Code Obfuscation score 2.0

Found 1 obfuscation pattern(s)

  • ).decode() ssh_blob = base64.b64decode(public.split()[1], validate=True) digest = hashlib.s
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • n(argv): result = subprocess.run(argv, env=env, capture_output=True, text=True, timeout=15)
  • finally: result = subprocess.run( [str(binary), "kill", session_id], env=env,
  • l_tree(pid: int) -> None: subprocess.run(["taskkill", "/PID", str(pid), "/T", "/F"], capture_output=T
  • self.a.timeout proc = subprocess.Popen(argv, stdin=subprocess.PIPE, stdout=subprocess.PIPE,
  • int, **popen): proc = subprocess.Popen(self.ssh_argv(*self.remote("sleep", str(seconds))), env=self
  • .dump(cfg, f) p = subprocess.Popen([self.python, os.path.abspath(__file__), "--_ctrl-c-harness"
✓ Credential Harvesting

No credential harvesting patterns detected

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

💬 Discussion Feed

Leave a comment

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