claude-swap

v0.29.0 suspicious
4.0
Medium Risk

Multi-account switcher for Claude Code

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 18 test file(s) found

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

Some documentation present

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

No contributing guide or governance files found

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

Partial type annotation coverage

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

  • }).encode() req = urllib.request.Request( OAUTH_TOKEN_URL, data=body,
  • POST", ) with urllib.request.urlopen(req, timeout=timeout_s) as resp: resp_da
  • de-swap/1.0", } req = urllib.request.Request(url, headers=headers) try: with urllib.r
  • eaders) try: with urllib.request.urlopen(req, timeout=5) as resp: data = json.loa
  • de-swap/1.0", } req = urllib.request.Request(url, headers=headers) with urllib.request.urlope
  • rl, headers=headers) with urllib.request.urlopen(req, timeout=5) as resp: return json.loads(r
⚠ Code Obfuscation score 6.0

Found 3 obfuscation pattern(s)

  • decoded = base64.b64decode(encoded, validate=True).decode("utf-8") exce
  • p() decoded = base64.b64decode(encoded, validate=True).decode("utf-8") if d
  • try: return base64.b64decode(encoded, validate=True).decode("utf-8"), False excep
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • """ try: proc = subprocess.run( [str(python), "-c", "import claude_swap"],
  • cess: try: return subprocess.run( ["launchctl", *args], capture_outpu
  • e log_path.parent subprocess.run(["open", "-R", str(target)], check=False) def on_re
  • try: rc = subprocess.run(argv, env=env).returncode except KeyboardInterru
  • e_stdio(): return subprocess.run([executable, *cmd[1:]], close_fds=False, **kwargs) retur
  • s=False, **kwargs) return subprocess.run(cmd, **kwargs) def _spawn_path_applies(cmd: Any, kwargs: d
⚠ Credential Harvesting score 7.5

Found 3 credential access pattern(s)

  • try: creds = keyring.get_password(KEYRING_SERVICE, canonical) except Exception as e:
  • try: creds = keyring.get_password(KEYRING_SERVICE, none_user) except Exception as
  • try: creds = keyring.get_password(KEYRING_SERVICE, username) return creds or "
✓ 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 claude-swap
Build a simple Python application using the claude-swap package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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