payswitch

v0.5.0 safe
3.7
Low Risk

AI Agent 支付编排工具——让 Agent 学会花钱

📦 Package Quality Overall: Low (3.0/10)

◈ Medium Test Suite 6.0

Partial test coverage signals detected

  • Test runner config found: pyproject.toml
○ Low Documentation 1.0

No documentation detected

  • No documentation URL, doc files, or meaningful description found
○ 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

  • 761 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Unable to verify contributor count: no GitHub repository found

  • No GitHub repository linked — contributor count unavailable

🔬 Heuristic Checks

⚠ Outbound Network Calls score 4.5

Found 3 network call pattern(s)

  • > bool: try: with socket.create_connection(("127.0.0.1", port), timeout=0.5): return True
  • } async with httpx.AsyncClient(timeout=25) as client: response = await clie
  • } async with httpx.AsyncClient(timeout=_TIMEOUT) as client: resp = await client
⚠ Code Obfuscation score 8.0

Found 4 obfuscation pattern(s)

  • try: payload = base64.b64decode(raw_base64, validate=True) except (binascii.Error, V
  • try: return base64.b64decode(self.llm_api_key.encode()).decode("utf-8") except Ex
  • try: return base64.b64decode(self.stripe_secret_key.encode()).decode("utf-8") exc
  • try: return base64.b64decode(self.stripe_webhook_secret.encode()).decode("utf-8")
⚠ Shell / Subprocess Execution score 8.0

Found 4 shell execution pattern(s)

  • ab") as log_file: subprocess.Popen( # noqa: S603 command, stdo
  • """ try: output = subprocess.check_output( ["ps", "-axo", "command"], text=Tru
  • () try: output = subprocess.check_output( ["ps", "-axo", "command"], text=Tru
  • try: completed = subprocess.run(command, check=True, capture_output=True) except (OS
⚠ Credential Harvesting score 10.0

Found 4 credential access pattern(s)

  • r = "openai" elif os.getenv("GITHUB_TOKEN"): self.provider = "github" els
  • elf.api_key = self.api_key or os.getenv("GITHUB_TOKEN", "").strip() self.model = self.model or "opena
  • s.getenv("OPENAI_API_KEY") or os.getenv("GITHUB_TOKEN") ): provider = env_provider or provide
  • api_key = env_token or os.getenv("GITHUB_TOKEN", "").strip() model = env_model or "openai/
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

No author email provided

✓ Suspicious Page Links

All external links appear legitimate

✓ Git Repository History

No GitHub repository linked

  • No GitHub repository link found
⚠ Maintainer History score 6.0

3 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" appears to have only 1 package on PyPI (new or inactive account)
  • Package has no PyPI classifiers (low effort / metadata quality)
✓ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with payswitch
Build a simple Python application using the payswitch package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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