g4f

v8.9.3 safe
2.8
Low Risk

The official gpt4free repository | various collection of powerful language models

📦 Package Quality Overall: Low (3.2/10)

○ Low Test Suite 1.0

No test suite detected

  • No test files or test-runner configuration detected
◈ Medium Documentation 5.0

Some documentation present

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

Partial type annotation coverage

  • Type checker (mypy / pyright / pytype) referenced in project
  • 242 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)

  • tured" response = requests.get(url, timeout=kwargs.get("timeout", 15)) models =
  • e None response = requests.get(cls.quota_url, headers=headers, timeout=timeout)
  • image_response = requests.get(image_url, timeout=timeout) if image_respons
  • text_response = requests.get(models_url, timeout=timeout) text_response.r
  • y: response = requests.get( cls.models_endpoint, timeout=kwargs.get
  • odels: response = requests.get( f"{cls.url}/api/v1/auths/", timeout=kwargs.
⚠ Code Obfuscation score 10.0

Found 5 obfuscation pattern(s)

  • ( base64.b64decode(msg.get("content")[:12]) )
  • rmat( base64.b64decode(msg.get("content")[:12]) )
  • media_bytes = base64.b64decode(media_data.split(",", 1)[1]) elif isinstance
  • audio_bytes = b"".join(base64.b64decode(c) for c in chunks) # ponytail: whole response buffe
  • ") try: decoded = base64.b64decode(normalized).decode("utf-8") parsed = json.loads(deco
✓ Shell / Subprocess Execution

No shell execution patterns detected

✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: g4f.ai>

⚠ Suspicious Page Links score 4.0

Found 2 suspicious link(s) on the package page

  • Non-HTTPS external link: http://127.0.0.1:8080/desktop/
  • 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 2.0

1 maintainer concern(s) found

  • Author "Tekky" 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 g4f
Build a simple Python application using the g4f package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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