cached-openai

v0.0.32 safe
2.5
Low Risk

A version of the OpenAI package that allows the caching of responses

📦 Package Quality Overall: Low (3.8/10)

◈ Medium Test Suite 6.0

Partial test coverage signals detected

  • 1 test file(s) detected (e.g. 1. Create cache.py)
◈ Medium Documentation 5.0

Some documentation present

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

  • 12 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 6.0

Found 4 network call pattern(s)

  • saved_images.append(requests.get(im.url).content) else:
  • ): resp = requests.post(**make_gemini_embedding_payload(**kwargs)).json()
  • # Start the request with requests.get(cache_url, stream=True) as response: # Raise an erro
  • async with httpx.AsyncClient() as client: resp = (await client.po
⚠ Code Obfuscation score 10.0

Found 5 obfuscation pattern(s)

  • self.byte_stream = io.BytesIO(base64.b64decode(bytes.encode('utf-8')))
  • ] = PIL.Image.open(io.BytesIO(base64.b64decode(image_url.split(",", 1)[1]))) return resp
  • out_code.append(f'cache = base64.b64decode("{b64_cache}")') if compress: out_code.append('
  • end('DELAY_RESPONSES, cache = pickle.loads(cache)') # Load the cached_client.py file with open
  • key, value = pickle.loads(f.read(length)) cache[key] = value
⚠ Shell / Subprocess Execution score 2.0

Found 1 shell execution pattern(s)

  • system() == "Darwin": subprocess.run(["open", path]) elif platform.system() == "Linux":
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: guetta.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 cached-openai
Build a simple Python application using the cached-openai package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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