bettermemory@8.0.0
CAUTION· not startedPublisher claims: "Memory you can verify — a trust layer between an AI coding agent and its own past: per-hit staleness verdicts, claim-level use attribution, measured effectiveness, episodic run-state. MCP-native, local-first, MIT, no cloud." Observed in sandbox: no network, touches nothing outside the project, writes no memory.
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.
Before you give it your token
- It will ask for
ANTHROPIC_API_KEYOPENAI_API_KEYor--acknowledge-credentialConfiguration, not credentials: BETTERMEMORY_DIR, BETTERMEMORY_FLOCK_TIMEOUT, BETTERMEMORY_INDEX_THRESHOLD- Where it talks to
- no vendor host named in the code
- 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. It asks for ANTHROPIC_API_KEY, OPENAI_API_KEY and talks to its vendor. Give the credential to the guard, not the server: the value never enters the server's environment and only travels to the host you bind. What the tools do with a real credential was not observed.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is [email protected] 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-24 and scored it 68/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 · 3 s · 2 scenarios · 0 deviationsStatic findings
# Defensive post-rename chmod (belt-and-suspenders): a no-opFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.from .credentials import find_credential_markersFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.from ..credentials import find_credential_markersFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# (`/data/compose/.env`) or its parent happens to existFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.from .credentials import find_credential_markersFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.from ..credentials import find_credential_markersFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.sudo for deploys; never use sudo for backups") makes no comparableFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# .env / docker-compose paste is this rule's primary target. TheFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# conversational stores (kill line was −0.35; the scoring lives inFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# at `/etc/passwd` (or any file outside the source dir) wouldFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.result = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.# call), but for an admin CLI op that means a chmod failure / I/OFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.return subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.fix_hint="`chmod u+w` the directory or set BETTERMEMORY_DIR to a writable path.",Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.# "format-On-Save" -> format / on / save) the same way it alreadyFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.fix_hint=f"`chmod 700 {directory}` (or run `doctor --fix`).",Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.from .credentials import find_credential_markersFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# power loss / process kill mid-write, defeating the point of aFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# lives on a REMOTE host (`/opt/gophish`, `/data/compose/.env`Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.from .credentials import CredentialMatchFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.`applied` means a mutation actually happened (a chmod landed, filesFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.# attention: a filesystem that refuses the chmod (sandbox, someFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.instant between rename and chmod is harmless when the bytes aren'tFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts."atomic_write_bytes: pass at most one of `mode` (chmod after "Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.Git accepts URLs like ``https://user:[email protected]/...`` forFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# transcript reader into opening `/etc/shadow` or a named pipeFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# on power loss / process kill mid-write, and the next run wouldFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.proc = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.and a remote pushing `something.md` as a symlink to `/etc/passwd`Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.result = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.) as exc: # pragma: no cover — disk issues shouldn't kill the recorder.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# Pre-2.6.4 a chmod failure was silently suppressed —Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.# +chmod 0o600+fsync_dir. The bare `write_bytes`+`replace`Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.# kill mid-write can leave a half-written `.gitignore` — and a staleFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# kill the walk for the rest of the store.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# writing the new content, so power loss / process kill mid-writeFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# call. Don't kill the loop.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."squatting at the log path; a plain chmod cannot fix "Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts."event log %s: chmod 0o600 failed (%s); "Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.chmod per file). No-op on Windows."""Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.This used to mkdir the root and the tombstone dir, chmod both,Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.# Windows. Done outside the open() block so the chmodFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts."rotation archive %s: chmod 0o600 failed (%s); "Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.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
No advisories in OSV for bettermemory@8.0.0 as of 37 min ago. This is the package itself, not its dependencies.
What would make this Verified
12 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Unclaimed publisher≈ +8 on the totalClaim 0mattias: 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.
- Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- Destructive file system command detected≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- URL with embedded credentials≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.