refrain

v0.6.0 safe
2.8
Low Risk

Discord Rich Presence for Apple Music on Linux

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 6 test file(s) found

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

Some documentation present

  • 1 documentation file(s) (e.g. stats.py)
  • Detailed PyPI description (12719 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

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

  • est_ipc_path``, which calls ``socket.connect()`` with no exception handling — so the *first* dead soc
  • . return [] req = urllib.request.Request(url, headers={"User-Agent": USER_AGENT}) with de
  • .name) try: req = urllib.request.Request(url, headers={"User-Agent": USER_AGENT}) wit
  • "", "" try: req = urllib.request.Request(url, headers={"User-Agent": USER_AGENT}) wit
  • rn class HttpsOnlyRedirects(urllib.request.HTTPRedirectHandler): def redirect_request(self, req, fp
  • wurl) def build_opener() -> urllib.request.OpenerDirector: # urllib fixes the TLS context while the
⚠ Code Obfuscation score 4.0

Found 2 obfuscation pattern(s)

  • bytes: try: raw = base64.b64decode(text.strip(), validate=True) except binascii.Error as e:
  • try: signature = base64.b64decode(sig_text.strip(), validate=True) except binascii.Error:
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • args: str) -> str: return subprocess.run( ["git", *args], cwd=REPO, check=True, capture_outpu
  • in paths).encode() out = subprocess.run( ["git", "cat-file", "--batch"], cwd=REPO, input=que
  • WRITEBYTECODE="1") return subprocess.run( [str(python if python.exists() else sys.executable)
  • rint("+", " ".join(argv)) subprocess.run(argv, check=True) def cmd_generate(args) -> int: try:
  • def needed(path): out = subprocess.run( ["readelf", "-d", str(path)], capture_output=True,
  • ef deb_fields(deb): out = subprocess.run( ["dpkg-deb", "-f", str(deb), "Package", "Version",
✓ 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 "Rockykln" 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 refrain
Build a simple Python application using the refrain package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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