MCP, MCP server
codemem
A standalone Rust memory engine for AI coding assistants.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit 23f24543caba, unchanged since the check below.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST SECRETS_PATH_DOTENV INSTALL_DOCUMENTED_INSTALLER OBFUSCATION_FILE_OVER_READ_CAP OBFUSCATION_FILE_CAP_REACHED
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
install.sh, line 58
VERSION=$(curl -fsSL "https://api.github.com/repos/$REPO/releases/latest" \ - NETWORK_UNNAMED_HOST Low
Calls a fixed host that the description does not name.
install.sh, line 58
VERSION=$(curl -fsSL "https://api.github.com/repos/$REPO/releases/latest" \ - SECRETS_PATH_DOTENV Low
Mentions a .env file.
crates/codemem-engine/src/index/scip/orchestrate.rs, line 331
.env("PATH", &path_env) - INSTALL_DOCUMENTED_INSTALLER Note
Documentation shows an installer that pipes a download into a shell.
README.md, line 43
curl -fsSL https://raw.githubusercontent.com/cogniplex/codemem/main/install.sh | sh - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
bench/locomo/results/baseline.json, line 1
{ - OBFUSCATION_FILE_CAP_REACHED Note
The 400 file cap was reached before every file was read.
bench/locomo/results/baseline.json, line 1
{
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Pass
No shell or command execution found, and no extra permission was declared.
Install and update
Note
README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell.
INSTALL_DOCUMENTED_INSTALLER
README.md, line 43
curl -fsSL https://raw.githubusercontent.com/cogniplex/codemem/main/install.sh | sh
install.sh, line 5
# curl -fsSL https://raw.githubusercontent.com/cogniplex/codemem/main/install.sh | sh
Network
Concern
can reach api.github.com. The description does not name that host. can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
install.sh, line 58
VERSION=$(curl -fsSL "https://api.github.com/repos/$REPO/releases/latest" \
install.sh, line 78
curl -fsSL "$DOWNLOAD_URL" -o "$TMP_DIR/codemem.tar.gz"
install.sh, line 79
curl -fsSL "$CHECKSUM_URL" -o "$TMP_DIR/codemem.tar.gz.sha256"
Show more
bench/locomo/harness.py, line 48
r = self.http.get("/health")
bench/locomo/harness.py, line 77
r = self.http.get(
bench/locomo/harness.py, line 86
r = self.http.get(f"/graph/neighbors/{node_id}", params={"depth": depth})
bench/locomo/harness.py, line 93
r = self.http.get(f"/memories/{memory_id}")
bench/locomo/harness.py, line 120
r = self.http.get("/namespaces")
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_DOTENV
crates/codemem-engine/src/enrichment/security.rs, line 15
r"(?i)(auth|secret|key|password|token|credential|\.env|private|encrypt|decrypt|cert|permission|rbac|oauth|jwt|session|cookie|csrf|xss|injection|sanitize)"
crates/codemem-engine/src/index/scip/orchestrate.rs, line 331
.env("PATH", &path_env)
docs/architecture.md, line 532
1. **File scan**: Matches paths containing `auth`, `secret`, `key`, `password`, `token`, `credential`, `.env`, `encrypt`, etc. → `security_flags: ["sensitive"]`.
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read. the file cap was reached before every file was read.
OBFUSCATION_FILE_OVER_READ_CAP OBFUSCATION_FILE_CAP_REACHED
bench/locomo/results/baseline.json, line 1
{
bench/locomo/results/bert-codemem-graph.json, line 1
{
bench/locomo/results/bert-codemem.json, line 1
{
Show more
bench/locomo/results/codemem-graph.json, line 1
{
bench/locomo/results/codemem.json, line 1
{
bench/longmemeval/results/codemem-graph.json, line 1
{
bench/longmemeval/results/codemem-graph.rescored.json, line 1
{
ui/src/components/insights/CodeHealthTab.tsx, line 1
import { FileSearch, Network, Layers } from 'lucide-react'
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 23f24543caba. README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell. can reach api.github.com. The description does not name that host. can reach a host that is not written as a fixed address. reads a credential or environment file. a file was over the read cap and was not fully read. the file cap was reached before every file was read.
Date and source
Date checked:
github.com
Commit graded: 23f24543cabaae4752b6d0234881714a6796184f
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.