imagine-mcp

v1.11.6 suspicious
4.4
Medium Risk

MCP server for image/video understanding & generation (Gemini/OpenAI/Grok)

📦 Package Quality Overall: Medium (6.2/10)

✦ High Test Suite 9.0

Test suite present — 40 test file(s) found

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

Some documentation present

  • Documentation URL: "Documentation" -> https://github.com/n24q02m/imagine-mcp#readme
  • Detailed PyPI description (19350 chars)
✦ High Contributing Guide 9.0

Has contribution guidelines and governance files

  • Governance file: security.py
  • Development Status classifier >= Beta
◈ Medium Type Annotations 5.0

Partial type annotation coverage

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

  • ers, final_url).""" req = urllib.request.Request(url, method="GET", headers={"User-Agent": "cf-canary
  • nary"}) try: with urllib.request.urlopen(req, timeout=timeout) as resp: hdrs = {k
  • d kid. try: req = urllib.request.Request( f"{public_url}/.well-known/jwks.json",
  • nary"} ) with urllib.request.urlopen(req, timeout=12) as resp: if resp.status
  • pw = _password() with httpx.Client(timeout=120, follow_redirects=False) as c: cid = c.p
  • self._client = httpx.Client(transport=SSRFSafeTransport()) return self._client
⚠ Code Obfuscation score 10.0

Found 5 obfuscation pattern(s)

  • ") try: decoded = base64.b64decode(encoded, validate=True) except (binascii.Error, ValueErr
  • img_b64: img_bytes = base64.b64decode(img_b64) else: img_url = data["data"][0].get("ur
  • tus_code=500) img_bytes = base64.b64decode(img_b64) from imagine_mcp.media import emit_media
  • mpty" try: raw = base64.b64decode(encoded, validate=True) except (binascii.Error, ValueErr
  • monkeypatch.setitem( __import__("sys").modules, "google", type("g", (), {"genai": _FakeGenaiModule
⚠ Shell / Subprocess Execution score 8.0

Found 4 shell execution pattern(s)

  • epo: Path) -> str: return subprocess.run( ["git", "-C", str(repo), "rev-parse", "--short", "H
  • if dry: return subprocess.run(cmd, cwd=str(cwd) if cwd else None, check=True) def _image
  • : out = ( subprocess.run( ["bunx", "wrangler", "containers", "list"],
  • ANSPORT": "stdio"} return subprocess.Popen( [sys.executable, "-m", "imagine_mcp"], stdi
⚠ Credential Harvesting score 10.0

Found 5 credential access pattern(s)

  • d_url", [ "file:///etc/passwd", "ftp://internal.local/secret", "gopher://
  • /example.com/ok.png", "file:///etc/passwd"], prompt="hi", provider="gemini",
  • reference_image_url="file:///etc/passwd", ) def test_default_provider_grok_only( clea
  • rize( "url", ["file:///etc/passwd", "ftp://host/x", "gopher://h/"] ) def test_rejects
  • (httpx.Request("GET", "file:///etc/passwd")) assert called["validated"] is False def test_d
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

No author email provided

⚠ Suspicious Page Links score 2.0

Found 1 suspicious link(s) on the package page

  • Non-HTTPS external link: http://`
⚠ 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 "n24q02m" 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 imagine-mcp
Build a simple Python application using the imagine-mcp package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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