MCP server safety grade
0gm-memory
Long-term memory for coding agents on 0GM-2.0: past sessions come back as dated verbatim quotes.
uvx 0gm-memory · pypi 0gm-memory 0.1.0 · score 100/100 · scanned 2026-12-05
What it can do
- Yes: Network access
- Yes: Writes or deletes files
- Yes: Runs programs or shell commands
- Yes: Reads environment variables
- Not seen: Runs code built at runtime
These are normal for many MCP servers. They tell you what the server could do with the access you give it.
Risk signals
None of the risk patterns we check for were found.
Worth knowing
Not scored. Often harmless (security tools, denylists and chat bots mention these too), shown so you can judge.
- Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)
src/zgm_memory/cli.py:205print(f"Deleted local state for wallet {s.wallet}: {s.wallet_dir}") - Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)
src/zgm_memory/cli.py:264fp = sub.add_parser("forget", help="delete local state and/or every memory in the wallet") - Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)
src/zgm_memory/config.py:122"""A short, one-way name for a wallet, used for its local state folder. Never the key itself."""
Package facts
| Weekly downloads | — |
|---|---|
| First published | 2026-12-05 |
| This version published | 2026-12-05 |
| Versions | 1 |
| Maintainers | — |
| Licence | MIT |
| Source repository | github.com/0gfoundation/0gm-memory |
| Runs scripts on install | No |
| Files in package | 39 (270 KB) |
| Web addresses in code | pc.0g.ai router-api.0g.ai |
Where we saw each capability (12 examples)
- Writes, moves or deletes files
src/zgm_memory/cli.py:204shutil.rmtree(s.wallet_dir)
- Makes network requests
src/zgm_memory/client.py:10import urllib.request
- Makes network requests
src/zgm_memory/client.py:60Transport = Callable[[urllib.request.Request, float], tuple[int, bytes]]
- Makes network requests
src/zgm_memory/client.py:63def urllib_transport(req: urllib.request.Request, timeout: float) -> tuple[int, bytes]:
- Reads environment variables (where API keys usually live)
src/zgm_memory/config.py:46value = os.environ.get(name, "").strip()
- Reads environment variables (where API keys usually live)
src/zgm_memory/config.py:49value = os.environ.get(old, "").strip()
- Reads environment variables (where API keys usually live)
src/zgm_memory/config.py:56if os.environ.get(name, "").strip() or not old:
- Runs shell commands or other programs
src/zgm_memory/config.py:82out = subprocess.run(
- Writes, moves or deletes files
src/zgm_memory/config.py:160shutil.rmtree(tmp, ignore_errors=True) # another process finished first
- Writes, moves or deletes files
src/zgm_memory/hook.py:40return open(path, "a", encoding="utf-8")
- Runs shell commands or other programs
src/zgm_memory/hook.py:78proc = subprocess.Popen([sys.executable, "-m", "zgm_memory", "hook-worker"], **kwargs)
- Runs shell commands or other programs
src/zgm_memory/opencode.py:126out = subprocess.run(
Badge
Maintainer? Add it to your README:
[](https://nodekya.com/mcp/io-github-0gfoundation-0gm-memory)
The badge updates when we re-grade a new release from the registry.
Automated scan of the published package, not a security audit. A good grade means we found none of the patterns we check for (method). Think we got it wrong? Email hello@primemoverindustries.com and we re-check within 2 days.
Need a package that isn't here checked, or a fresh check of an unreleased version? Check any npm or PyPI package (US$9).
This grade as JSON (free, for agents).