cloakllm

v0.12.7 safe
3.1
Low Risk

AI Compliance Middleware -- PII protection, tamper-evident audit logs, and EU AI Act compliance for LLM gateways

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 31 test file(s) found

  • 31 test file(s) detected (e.g. test_api_key_realworld.py)
◈ Medium Documentation 5.0

Some documentation present

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

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

  • TTP redirect SSRF bypass. # # urllib.request.urlopen() installs an HTTPRedirectHandler by default -- a #
  • ack. class _NoRedirectHandler(urllib.request.HTTPRedirectHandler): """v0.6.3 SEC-1: refuse all 3xx re
  • efused. _NO_REDIRECT_OPENER = urllib.request.build_opener(_NoRedirectHandler()) def _normalize_ip(ip: i
  • ST call this -- never urllib.request.urlopen directly -- so a malicious Ollama can't 301-
  • mitigation req = urllib.request.Request(f"{self._base_url}/api/tags", method="GET")
  • }).encode() req = urllib.request.Request( f"{self._base_url}/api/chat",
⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • : root_pk_bytes = base64.b64decode(pk_data["public_key"]) elif "public_key_hex" in pk_d
  • public_key, data, base64.b64decode(signature_b64) ) @property def public_key_b
  • cls( private_key=base64.b64decode(data["private_key"]), public_key=base64.b64decod
  • ey"]), public_key=base64.b64decode(data["public_key"]), key_id=data["key_id"],
  • try: sig = base64.b64decode(revocation_list.root_signature) ok = DeploymentK
  • try: pk_bytes = base64.b64decode(manifest.public_key) signature_valid = certifica
⚠ Shell / Subprocess Execution score 2.0

Found 1 shell execution pattern(s)

  • import sys subprocess.check_call( [sys.executable, "-m", "spacy", "downlo
⚠ Credential Harvesting score 2.5

Found 1 credential access pattern(s)

  • hat `localhost` (which an /etc/hosts override could redirect) and integer/octal IPv4 forms (
✓ 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 cloakllm
Build a simple Python application using the cloakllm package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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