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

MCP server · Org-owned · Audited from source

Mex MCP server

by mex-memory/mexMIT licenceAudited 24 Sep 2026 · source b0134ebdafff

npm mex-mcp 0.1.0stdio★ 1,703
✕BLOCKGrade F · 41/100 · 24 Sep 2026 · b0134eb

Is it safe? No — BLOCK, grade F (41/100). It exposes 21 tools: 19 read, 2 write and 0 destructive. The audit recorded 44 findings (0 critical, 4 high, 8 medium, 29 low). Maintainer's description: Team memory for engineers and their AI agents. Lives in your repo. Shared through Git.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Mex MCP server (mex-memory/mex)”. Retrieved 24 Sep 2026. https://modelsatlas.com/mcp/mex-memory/mex

Why this is BLOCK. The audit found 0 critical and 4 high findings; the most severe is Code injection at src/graph/db/sqlite.ts:48. 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.

Trust audit

Audit 0.4.1 · full source read 24 Sep 2026

Trust score41/100✕BLOCK F
0 critical4 high8 medium29 low3 info

44 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

  • FilesystemDeclared7 observations
  • NetworkDeclared6 observations
  • ShellDeclared7 observations
  • DependenciesNot pinnedSome ranges float
  • SecretsFoundSee the findings

Findings (44)

Sorted by severity · the 25 most severe of 44 are listed

HIGHCode injectioncode.eval_exec · src/graph/db/sqlite.ts:48
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(sql: string): void;
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · src/graph/db/sqlite.ts:84
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(sql: string): void {
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · src/graph/fingerprint-store.ts:12
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(sql: string): void;
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHPrompt injectionprompt.zero_width · test/fixtures/wiki/adversarial/bom.md:1
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
<!-- mex:entity
Why
invisible characters in instruction text
Fix
strip non-printing characters
MEDIUMInventory / provenanceinv.binary · src/graph/wasm/tree-sitter-javascript.wasm
F-13 Inventory / provenanceCWE-1104Layer L0
tree-sitter-javascript.wasm
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMInventory / provenanceinv.binary · src/graph/wasm/tree-sitter-python.wasm
F-13 Inventory / provenanceCWE-1104Layer L0
tree-sitter-python.wasm
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMInventory / provenanceinv.binary · src/graph/wasm/tree-sitter-rust.wasm
F-13 Inventory / provenanceCWE-1104Layer L0
tree-sitter-rust.wasm
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMObfuscation / stealthobf.zero_width · src/agent-command.ts:1
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
import { AI_TOOLS, type AiTool } from "./types.js";
Why
No further detail recorded for this rule.
Fix
—
MEDIUMObfuscation / stealthobf.zero_width · src/wiki/markdown/positions.ts:18
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
const BOM = "";
Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · src/hub/http/__tests__/app.test.ts:1417
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.generic · src/setup/__tests__/headless-population.test.ts:304
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.generic · src/wiki/operations/__tests__/integrity.test.ts:389
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 · .agents/skills/mex-inbox/.mex-managed.json
F-13 Inventory / provenanceCWE-1104Layer L0
.mex-managed.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .agents/skills/mex-relay/.mex-managed.json
F-13 Inventory / provenanceCWE-1104Layer L0
.mex-managed.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .mex/.tool-configs/.windsurfrules
F-13 Inventory / provenanceCWE-1104Layer L0
.windsurfrules
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · templates/.tool-configs/.windsurfrules
F-13 Inventory / provenanceCWE-1104Layer L0
.windsurfrules
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · evaluate/adapters/agents/claude.mjs:1
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { parseStructuredAnswer } from "../../compare/lib/answer.mjs";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · evaluate/adapters/agents/claude.mjs:2
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { BASH_GUARD_DENIAL } from "../../compare/lib/bash-guard.mjs";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · evaluate/adapters/agents/codex.mjs:1
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { parseStructuredAnswer } from "../../compare/lib/answer.mjs";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · evaluate/adapters/agents/shared.mjs:1
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { parseJsonLines } from "../../core/jsonl.mjs";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · evaluate/adapters/agents/shared.mjs:2
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { round } from "../../core/stats.mjs";
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.env_exfil · packages/hub-web/src/pages/SetupTranscript.test.tsx:92
F-04 Network egressCWE-200 · CWE-319Layer L1
/.env" ... curl
Why
reads secrets in the same file that sends data out
Fix
—
LOWNetwork egressnet.raw_ip · packages/hub-web/src/api/client.test.ts:219
F-04 Network egressCWE-200 · CWE-319Layer L1
expect(new URL(rawUrl, "http://127.0.0.1").pathname).toBe("/api/v1/overview");
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · packages/hub-web/src/api/client.test.ts:231
F-04 Network egressCWE-200 · CWE-319Layer L1
const url = new URL(rawUrl, "http://127.0.0.1");
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · packages/hub-web/src/api/client.test.ts:244
F-04 Network egressCWE-200 · CWE-319Layer L1
const url = new URL(rawUrl, "http://127.0.0.1");
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

21 declared in source · 0 destructive

19 read2 write0 destructive
ToolWhat it doesRisk
mex_checkRun a drift check on the mex scaffold. Returns a DriftReport with a numeric score, issues list, and file count.write
setupPreparing a machine to run and test Harbour locally.write
architectureHow Harbourread
authAuth patternread
conventionsHow code is written in Harbour: naming, structure, errors and tests.read
data-modelThe tables Harbour stores and how they relate to one another.read
decisionsThe choices Harbour has made and the reasoning behind each one.read
glossaryTerms used throughout Harbour, defined once so they are not redefined.read
integrationsThe third parties Harbour talks to and what each one is trusted for.read
mex_heartbeatCheck the mex scaffold heartbeat. Returns ok status, stale files with age in days, and memory cleanup status.read
mex_logAppend an agent event to the mex log, or read recent events. Valid kinds: ${EVENT_KINDS.join(read
mex_read_fileRead a file from the mex scaffold directory (.mex/). Path is relative to .mex/ (e.g.read
mex_timelineRead historical project notes, optionally filtered by kind or time. Scans at most the latest 8 MiB / 10,000 non-empty log lines; older history may be absent. Recorded notes are historical context, not verified current knowledge.read
operationsRunning Harbour: deploys, alerts, and what to do when something stops.read
pattern-indexLookup table for Harbourread
performanceWhere Harbour spends its time and which numbers are worth watching.read
risksKnown risks in Harbour, what triggers each one, and what would reduce it.read
routerSession bootstrap and navigation hub for the Harbour ticketing service.read
securityHow Harbour handles credentials, access and customer data.read
stackThe technologies Harbour runs on and the constraints on changing them.read
testingHow Harbour is tested and what each layer of the suite is for.read

Audit history

  1. ✕BLOCK F 41 / 100

    First audit · b0134ebdafff

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK FMODELSATLASBLOCK · F

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about Mex MCP server

What is the Mex MCP server?
Team memory for engineers and their AI agents. Lives in your repo. Shared through Git.
What tools does Mex expose?
21 in total: 19 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Mex safe to connect to an agent?
No — not without reading the findings first. The audit graded it F (41/100) and found 4 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 Mex need?
No credential environment variables were found in its source, so it appears to need none.
How does Mex run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as mex-mcp at 0.1.0.
How current is this page?
The grade is for one exact copy of the source (b0134ebdafff), read on 2026-09-24. The repository is watched and re-audited when it changes.
I already installed Mex. 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

  • mex-memory/mex on GitHub — the source we read, its licence, stars and activityObserved · 24 Sep 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit b0134ebdafffObserved · 24 Sep 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.