memgar

v1.4.0 suspicious
4.4
Medium Risk

AI agent memory security — detect, quarantine, and block memory-poisoning attacks (OWASP ASI06) before they reach an LLM agent

📦 Package Quality Overall: Medium (5.0/10)

◈ Medium Test Suite 6.0

Partial test coverage signals detected

  • Test runner config found: pyproject.toml
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://docs.memgar.com
  • Detailed PyPI description (21007 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
◈ Medium Type Annotations 7.0

Partial type annotation coverage

  • Classifier: Typing :: Typed
  • 931 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)

  • = "tcp": with socket.create_connection((self._host, self._port), timeout=5) as s:
  • ERT_NONE with socket.create_connection((self._host, self._port), timeout=5) as raw:
  • lib.request req = urllib.request.Request("http://localhost:11434/api/tags", method="GET")
  • ethod="GET") with urllib.request.urlopen(req, timeout=2) as r: return r.statu
  • de("utf-8") req = urllib.request.Request( self._url, data=bod
  • sl.CERT_NONE with urllib.request.urlopen(req, context=ctx, timeout=10) as resp:
⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • adding decoded = base64.b64decode(encoded).decode("utf-8", errors="ignore") # Onl
  • try: sig_bytes = base64.b64decode(signature_b64) public_key.verify(sig_bytes, data.enc
  • 19PublicKey.from_public_bytes(base64.b64decode(b64)) def register(self, entry: Any, entry_id: Optional
  • decoded = base64.b64decode(blob, validate=False).decode( "utf-8
  • frame", "<embed", "<object", "eval(", "innerHTML" ], "file_operations":
  • subprocess", "high"), (re.compile(r"os\.(system|popen|exec[lv])", re.I), "install-time code execution via os", "h
⚠ Shell / Subprocess Execution score 4.0

Found 2 shell execution pattern(s)

  • rameters={"code": "import os; os.system('rm -rf /')"} ) if not result.is_allowed:
  • # B603 (subprocess without shell=True) — equivalent to B404 above "B603", ] [tool.mypy] pyth
⚠ Credential Harvesting score 10.0

Found 5 credential access pattern(s)

  • region = base_url or os.environ.get("AWS_REGION") \ or os.environ.get("AWS_DEFAUL
  • ON") \ or os.environ.get("AWS_DEFAULT_REGION") or "us-east-1" self._client
  • "../", "..\\", "/etc/passwd", "c:\\windows" ], "network_operati
  • tool_params={"path": "/etc/passwd"}, ) """ from .agent_security import AgentSecurityGuar
  • parameters={"path": "/etc/passwd"} ) """ import json import re from dataclasses import
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: memgar.com>

⚠ 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/__memgar/health
  • Non-HTTPS external link: http://127.0.0.1:8080/v1
⚠ 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 memgar
Build a simple Python application using the memgar package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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