Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

memex MCP server

by stifler7/memexMIT licenceAudited 10 Oct 2026 · source 5869b5c83529

npm stifler-memex-mcp 1.0.2stdiostreamable-http★ 12
✕BLOCKGrade D · 69/100 · 10 Oct 2026 · 5869b5c

Is it safe? No — BLOCK, grade D (69/100). It exposes 16 tools: 13 read, 3 write and 0 destructive. The audit recorded 25 findings (0 critical, 2 high, 4 medium, 12 low). Maintainer's description: Persistent memory for AI coding agents via MCP: a bitemporal knowledge graph of your codebase, served to Claude Code, Cursor, Gemini CLI, and any MCP client. Tree-sitter and Gemini Flash into Neo4j via Graphiti. 14 MCP tools, hierarchical clusters, three-regime confidence decay.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “memex MCP server (STiFLeR7/memex)”. Retrieved 10 Oct 2026. https://modelsatlas.com/mcp/stifler7/memex

Why this is BLOCK. The audit found 0 critical and 2 high findings; the most severe is Obfuscation / stealth at memex/graph/schema.py:51. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

2 MCP servers are called Memex. You are viewing STiFLeR7/memex. Compare all 2 →

Trust audit

Audit 0.4.1 · full source read 10 Oct 2026

Trust score69/100✕BLOCK D
0 critical2 high4 medium12 low7 info

25 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared3 observations
  • NetworkDeclared6 observations
  • ShellDeclared1 observation
  • DependenciesNot pinnedSome ranges float
  • SecretsFoundSee the findings

Findings (25)

Sorted by severity

HIGHObfuscation / stealthobf.rtl_override · memex/graph/schema.py:51
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
return str(v).replace('\x00', '').replace('', '')
Why
No further detail recorded for this rule.
Fix
—
HIGHObfuscation / stealthobf.rtl_override · memex/mcp_server/tools_write.py:161
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
return val.replace('\x00', '').replace('', '')[:2000]
Why
No further detail recorded for this rule.
Fix
—
MEDIUMInventory / provenanceinv.binary · .coverage
F-13 Inventory / provenanceCWE-1104Layer L0
.coverage
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMNetwork egressnet.raw_ip · memex/watcher/handlers.py:63
F-04 Network egressCWE-200 · CWE-319Layer L1
f"http://127.0.0.1:{port}/notify",
Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.github · tests/test_controlled_ingestion.py:48
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.github · tests/test_controlled_ingestion.py:62
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.hidden_file · .coverage
F-13 Inventory / provenanceCWE-1104Layer L0
.coverage
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · memex-vscode/.vscodeignore
F-13 Inventory / provenanceCWE-1104Layer L0
.vscodeignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInsecure cryptocrypto.weak_hash · memex/mcp_server/tools_write.py:123
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
repo_hash = hashlib.md5(repo_path.encode()).hexdigest()[:8]
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/test_explain_change.py:119
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"../../etc/passwd",
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/test_http_transport.py:520
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"/report?repo=../../../../etc",
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/test_memory_tool_safety.py:55
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
validate_memory_path("/memories/scratch/../../etc/passwd")
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/test_http_transport.py:583
F-04 Network egressCWE-200 · CWE-319Layer L1
assert called_req.full_url == "http://127.0.0.1:8899/notify"
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.decode_call · tests/phase5_trial_hooks.py:34
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
return json.loads(zlib.decompress(base64.b64decode(text)))
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · memex-site/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@types/node, @types/react, @types/react-dom, eslint, typescript, wrangler
Why
6 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · memex-vscode/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@types/vscode, @types/node, typescript, esbuild
Why
4 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWPrompt injectionprompt.transfer_instruction · docs/v1/06_HOST_INTEGRATIONS.md:74
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
Untrusted hooks do not run in app-server threads. memex never writes hook trust: a user trusts its hooks through Codex's own `/hooks` review. The two hosts' state is namespaced, so identical native se
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · docs/v1/18_PHASE3_VERIFICATION.md:369
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
The fixture environment variable names are inherited deliberately so all three phases share one isolated server. The fabricated Neo4j and Gemini values exist only to let legacy configuration construct
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
INFOInventory / provenanceinv.oversize · assets/brand/memex-brand-board.jpg
F-13 Inventory / provenanceCWE-1104Layer L0
assets/brand/memex-brand-board.jpg
Why
1706338 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · assets/memex-v1.mp4
F-13 Inventory / provenanceCWE-1104Layer L0
assets/memex-v1.mp4
Why
9703020 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · memex-site/public/memex-v1.mp4
F-13 Inventory / provenanceCWE-1104Layer L0
memex-site/public/memex-v1.mp4
Why
9703020 bytes not read
Fix
—
INFOPrompt injectionprompt.credential_read · CONTRIBUTING.md:42
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
cat > .env <<'ENV'
Why
asks the agent to read credentials
Fix
—
INFOPrompt injectionprompt.credential_read · README.md:125
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
cat > .env <<EOF
Why
asks the agent to read credentials
Fix
—
INFOPrompt injectionprompt.credential_read · docs/superpowers/plans/2026-05-14-memex-v0.2.0.md:163
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
**Goal:** Add a FastAPI-based SSE transport for remote team access with named API keys.
Why
asks the agent to read credentials
Fix
—
INFOPrompt injectionprompt.credential_read · npm/README.md:59
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
cat > .env <<EOF
Why
asks the agent to read credentials
Fix
—

Tools it exposes

16 declared in source · 0 destructive

13 read3 write0 destructive
ToolWhat it doesRisk
explain_changeCross-references a git commitwrite
guard_readRead a worktree file and the sha256 a guarded write must expect.write
guard_writeApply file changes as one fenced commit, or refuse and change nothing.write
echo_principalEchoes the ambient principal_ctx principal_idread
get_engineering_contextReturns a bounded, provenance-aware engineering ContextPacket projection using the shared memex selector.read
get_open_problemsReturns currently open technical problems and TODOs sorted by severity as a Markdown string.read
get_project_contextReturns a compressed briefing of the project as a Markdown string: active modules, recent decisions, and open problems.read
get_recent_decisionsReturns architectural and technical decisions from the past N days as a Markdown string.read
get_stale_contextReturns relationships that have decayed in confidence and may be outdated as a Markdown string.read
get_symbol_contextReturns detailed information about a specific function or class as a Markdown string including callers/callees.read
invalidate_edgeExplicitly invalidates a graph edge when it is discovered to be stale or incorrect. Returns a status string.read
predict_impactReturns a ranked Markdown list of modules likely affected by changes to a file, based on graph coupling (calls + imports + decision links). No LLM call.read
record_decisionCreates a Decision node in the graph. Call this when making or discovering architectural choices. Returns a status string. Phase 9: pass corroborates=<id> to reinforce, supersedes=<id> to replace, or force=true to bypass duplicate detection.read
record_problemCreates a Problem node in the graph. Call this when discovering bugs or technical debt. Returns a status string.read
resolve_problemMarks a Problem as closed and records the resolution. Returns a status string.read
search_contextSemantic + keyword + graph traversal search across all node types. Use for broad discovery. Returns a Markdown string.read

Audit history

  1. ✕BLOCK D 69 / 100

    First audit · 5869b5c83529

Questions about memex MCP server

What is the memex MCP server?
Persistent memory for AI coding agents via MCP: a bitemporal knowledge graph of your codebase, served to Claude Code, Cursor, Gemini CLI, and any MCP client. Tree-sitter and Gemini Flash into Neo4j via Graphiti. 14 MCP tools, hierarchical clusters, three-regime confidence decay.
What tools does memex expose?
16 in total: 13 read-only, 3 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is memex safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 2 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What credentials does memex need?
It reads GEMINI_API_KEY, MEMEX_LLM_API_KEY, MEMEX_SESSION_SECRET, NEO4J_PASSWORD, NVIDIA_API_KEY and NVIDIA_NIM_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does memex run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as stifler-memex-mcp at 1.0.2.
How current is this page?
The grade is for one exact copy of the source (5869b5c83529), read on 2026-10-10. The repository is watched and re-audited when it changes.
Which Memex MCP server is the right one?
2 unrelated servers share the name “Memex”; compare them side by side before you install.
I already installed memex. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • STiFLeR7/memex on GitHub — the source we read, its licence, stars and activityObserved · 10 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit 5869b5c83529Observed · 10 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.