hy-mem@r1
CAUTION· not startedPublisher claims: "Enables any MCP-compatible client to persist long-term memories for AI agents, with LLM-based fact extraction, semantic vector search, update/delete/list operations, and queue status checks across sessions." In our sandbox: Not started: dependency install failed; the server itself was not observed.
Coverage
Not started: dependency install failed; the server itself was not observed.- Tested
- the dependency install step · every file read, file written and host contacted by what ran
- Not tested
- server startup · the tool list · tool behavior
What this means for the label: Caution here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.
Behavior
In our sandbox run on 2026-11-12, hy-mem@r1 read no files and called no hosts, and its code names 40 environment variables. Coverage: not started.
Files read
None recorded.
Hosts called
None recorded.
Environment variables its code names
HY_MEM_ADD_LOCK_TIMEOUT, HY_MEM_ASYNC, HY_MEM_AUTO_WORKER, HY_MEM_BATCH_MAX, HY_MEM_COLOR, HY_MEM_CONFIG, HY_MEM_DATA_DIR, HY_MEM_DIST, HY_MEM_ENCODING, HY_MEM_ENV_FILE, HY_MEM_HOME, HY_MEM_LANG, HY_MEM_LIST_CAP, HY_MEM_LOCK_TIMEOUT, HY_MEM_MAX_WORKERS, HY_MEM_MIN_SCORE, HY_MEM_MOUSE, HY_MEM_NO_ADOPT, HY_MEM_NO_CLEAR, HY_MEM_NO_PROBE, HY_MEM_NO_ZIP, HY_MEM_QUEUE_MAX_ATTEMPTS, HY_MEM_RECONCILE_MIN_SIM, HY_MEM_SECRET_HOSTS
16 more in behavior.json
Names only, read from the code. We never hold a value.
Tools offered
No tool list recorded.
Changes since the prior version
No prior version with a result to compare.
What we did not test
- server startup
- the tool list
- tool behavior
| Run date | 2026-11-12 |
| Coverage | not started |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try hy-mem |
| This record | behavior.json, behavior.md, signed attestation |
This is a record of what one version did in the runs we made. It is evidence, not a certificate.
Before you give it your token
- It will ask for
HY_MEM_SECRET_HOSTSMEMORY_AGENT_MAX_TOKENSMEMORY_EMBEDDER_API_KEYMEMORY_LLM_API_KEYOPENAI_API_KEYYSJX_API_KEYConfiguration, not credentials: HY_MEM_ADD_LOCK_TIMEOUT, HY_MEM_ASYNC, HY_MEM_AUTO_WORKER, HY_MEM_BATCH_MAX, HY_MEM_COLOR, HY_MEM_CONFIG, HY_MEM_DATA_DIR, HY_MEM_DIST, HY_MEM_ENCODING, HY_MEM_ENV_FILE, HY_MEM_HOME, HY_MEM_LANG, HY_MEM_LIST_CAP, HY_MEM_LOCK_TIMEOUT, HY_MEM_MAX_WORKERS, HY_MEM_MIN_SCORE, HY_MEM_MOUSE, HY_MEM_NO_ADOPT, HY_MEM_NO_CLEAR, HY_MEM_NO_PROBE, HY_MEM_NO_ZIP, HY_MEM_QUEUE_MAX_ATTEMPTS, HY_MEM_RECONCILE_MIN_SIM, HY_MEM_STALE_SEC, HY_MEM_TAG_AUTOSYNC, HY_MEM_TUI, HY_MEM_USER_ID, HY_MEM_ZIP_LEVEL, MEMORY_CODING_CHAIN_BLOCK_ENABLED, MEMORY_CODING_ENABLED, MEMORY_DATA_DIR, MEMORY_EMBEDDER_BASE_URL, MEMORY_EMBEDDER_MODEL, MEMORY_EMBEDDER_PROVIDER- Where it talks to
- no vendor host named in the codeAlso tsinghua.edu.cn, hf-mirror.com, qianwenaiapi.com, jxdata.com, bigmodel.cn, deepseek.com, huaweicloud.com, aka.ms — not the publisher's domain; check what for before connecting.
- What we saw when it ran
- no credential files read · no network
- What we could not test
- server startup · the tool list · tool behavior
Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names tsinghua.edu.cn, hf-mirror.com, qianwenaiapi.com, jxdata.com, bigmodel.cn, deepseek.com, huaweicloud.com, aka.ms as well as its own vendor. The guard injects HY_MEM_SECRET_HOSTS, MEMORY_AGENT_MAX_TOKENS, MEMORY_EMBEDDER_API_KEY, MEMORY_LLM_API_KEY, OPENAI_API_KEY, YSJX_API_KEY only into requests to the host you bind (and its subdomains) and refuses the rest.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is hy-mem@r1 safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; not started: dependency install failed; the server itself was not observed) on 2026-11-12 and scored it 65/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Access to sensitive file paths; Access to sensitive file paths; Access to sensitive file paths. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 2 scenarios · 0 deviationsStatic findings
12. **`config.json` 存在时会覆盖 .env**。改了 .env 却不生效,先看 `hy-mem config show`——很可能 config.json 里有旧值压着。反之删掉 config.json 就能退回纯 .env 模式。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.| 2 | `load_env()` | 先装 `.env`,再由 `config.json` **覆盖**它;`store.py` 依赖 `MEMORY_DATA_DIR`,晚一步队列库就落到 `~/.hy_memory/` 与主库分家 |Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.4. **`store.py` 必须在 `load_env()` 之后调用**。它靠 `MEMORY_DATA_DIR` 定位队列库,没装载 .env 就会落到 `~/.hy_memory/`,与主库分家且不易察觉。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.config.json 存在时,其字段**强制覆盖** .env 同名项 —— 因为它是用户在向导里Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.tracked_cfg = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.├── config.json ← 源码环境的设置(**不含密钥**,只记 keyEnv 变量名)。存在时强覆盖 .envFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.data 文件、或者手工拷进去的 .env,都可能把 key 带进包。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# config.json 后加载并**覆盖** .env:它是用户在设置向导里的显式选择,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.1. .env 只能平铺 KEY=VALUE,表达不了「当前选的是哪个预设」「改过哪些项」。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.命令行参数 > config.json > .env > 进程真实环境变量Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.out = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."""极简 .env 解析,不引入 python-dotenv。已存在的真实环境变量优先。"""Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.rm -f /c/Users/Administrator/.hy-mem-data-backup/write.lockFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.与 .env 的关系(优先级从高到低):Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.patch_rc = subprocess.call([sys.executable, str(patch_script)], cwd=str(ROOT))Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.names = {"config.json", "config.json.tmp", ".env", ".env.local", ".env.production"}Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.f"请同步修改 .env 后清空数据目录重建"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."""确定「安装根目录」,用于定位 .env。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.命令行参数 > config.json > .env > 进程真实环境变量(仅密钥例外)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.rc = subprocess.call([str(exe)] + ARGS, cwd=str(ROOT))Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."""产物里绝不能带 config.json、.env 与 data/,并扫描一遍疑似密钥。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# LLM key 复用已有的 YSJX_API_KEY,避免把密钥写进 .env 落盘Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.https://github.com/MrHuTu/hy-mem/releases/download/v1.0.0-rc.11/hy-mem-win64.zipFix: Pin versions and sources; vendor anything fetched at install time.为什么要有它(而不是继续堆 .env):Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.proc = subprocess.run(cmd, input=keys, capture_output=True, text=True, env=env, encoding="utf-8", errors="replace")Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.├── .env ← 源码环境的杂项/密钥兜底(不入库,别提交)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.`config.json`(默认在安装根,`D:\tools_open\agent-bridge\config.json`)是设置的**单一真源**,优先级 **命令行 > config.json > .env**。向导里改过的值会覆盖 .env 同名项。Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.check_rc = subprocess.call(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.os.system("cls" if os.name == "nt" else "clear")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.DEFAULT_ENV = Path(os.getenv("HY_MEM_ENV_FILE") or (SKILL_ROOT / ".env"))Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.├── .env.example ← 模板,说明每个变量的含义Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.r = subprocess.run(["git", "check-ignore", "-q", rel], cwd=REPO)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out._tag_run = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.q = subprocess.run([*cli_base, "queue", "--json"], capture_output=True, text=True,Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.self.p = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.return subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."HY_MEM_ENV_FILE": str(sandbox / "no-such.env"), # 别让仓库里的 .env 把 key 补上Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.return subprocess.run(cli_base + args, env=env, capture_output=True, text=True,Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.return subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."""配置里有密钥,尽量收紧权限。Windows 上 os.chmod 语义有限,尽力而为。"""Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.p = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.self.p = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.Cost to the agent
Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.
Known vulnerabilities
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.
What would make this Verified
15 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- OS command execution function call detected≈ +9 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- Unclaimed publisher≈ +8 on the totalClaim mrhutu: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Destructive file system command detected≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- README links to an external installer≈ +4 on the totalPin versions and sources; vendor anything fetched at install time.
- New publisher≈ +3 on the totalTime clears this on its own after 14 and 30 days. Claiming the handle (+50) is the fastest way past it.