{"score":100,"grade":"A","scannedAt":"2026-12-05T23:03:39.173Z","scanner":"grades-0.2","signals":{"ecosystem":"pypi","name":"0gm-memory","version":"0.1.0","license":"MIT","repository":"https://github.com/0gfoundation/0gm-memory","firstPublished":"2026-12-05T10:55:29.988727Z","lastPublished":"2026-12-05T10:55:31.329118Z","versions":1,"files":39,"bytes":276463,"hosts":["pc.0g.ai","router-api.0g.ai"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"src/zgm_memory/cli.py","line":205,"snippet":"print(f\"Deleted local state for wallet {s.wallet}: {s.wallet_dir}\")"},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"src/zgm_memory/cli.py","line":264,"snippet":"fp = sub.add_parser(\"forget\", help=\"delete local state and/or every memory in the wallet\")"},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"src/zgm_memory/config.py","line":122,"snippet":"\"\"\"A short, one-way name for a wallet, used for its local state folder. Never the key itself.\"\"\""},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/zgm_memory/cli.py","line":204,"snippet":"shutil.rmtree(s.wallet_dir)"},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/zgm_memory/client.py","line":10,"snippet":"import urllib.request"},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/zgm_memory/client.py","line":60,"snippet":"Transport = Callable[[urllib.request.Request, float], tuple[int, bytes]]"},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/zgm_memory/client.py","line":63,"snippet":"def urllib_transport(req: urllib.request.Request, timeout: float) -> tuple[int, bytes]:"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/zgm_memory/config.py","line":46,"snippet":"value = os.environ.get(name, \"\").strip()"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/zgm_memory/config.py","line":49,"snippet":"value = os.environ.get(old, \"\").strip()"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/zgm_memory/config.py","line":56,"snippet":"if os.environ.get(name, \"\").strip() or not old:"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/zgm_memory/config.py","line":82,"snippet":"out = subprocess.run("},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/zgm_memory/config.py","line":160,"snippet":"shutil.rmtree(tmp, ignore_errors=True)  # another process finished first"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/zgm_memory/hook.py","line":40,"snippet":"return open(path, \"a\", encoding=\"utf-8\")"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/zgm_memory/hook.py","line":78,"snippet":"proc = subprocess.Popen([sys.executable, \"-m\", \"zgm_memory\", \"hook-worker\"], **kwargs)"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/zgm_memory/opencode.py","line":126,"snippet":"out = subprocess.run("}],"vulns":[],"installScripts":[],"server":{"name":"io.github.0gfoundation/0gm-memory","title":"0gm-memory","description":"Long-term memory for coding agents on 0GM-2.0: past sessions come back as dated verbatim quotes.","websiteUrl":"https://github.com/0gfoundation/0gm-memory","repository":"https://github.com/0gfoundation/0gm-memory","version":"0.1.0"}}