MCP server · Org-owned · Audited from source
Mex MCP server
by mex-memory/mexMIT licenceAudited 24 Sep 2026 · source b0134ebdafff
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.
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
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
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
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
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
<!-- mex:entity
- Why
- invisible characters in instruction text
- Fix
- strip non-printing characters
MEDIUMInventory / provenanceinv.binary · src/graph/wasm/tree-sitter-javascript.wasm
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
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
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
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
const BOM = "";
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · src/hub/http/__tests__/app.test.ts:1417
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
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
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · evaluate/adapters/agents/claude.mjs:1
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
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
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
import { parseJsonLines } from "../../core/jsonl.mjs";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · evaluate/adapters/agents/shared.mjs:2
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
/.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
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
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
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
| Tool | What it does | Risk |
|---|---|---|
mex_check | Run a drift check on the mex scaffold. Returns a DriftReport with a numeric score, issues list, and file count. | write |
setup | Preparing a machine to run and test Harbour locally. | write |
architecture | How Harbour | read |
auth | Auth pattern | read |
conventions | How code is written in Harbour: naming, structure, errors and tests. | read |
data-model | The tables Harbour stores and how they relate to one another. | read |
decisions | The choices Harbour has made and the reasoning behind each one. | read |
glossary | Terms used throughout Harbour, defined once so they are not redefined. | read |
integrations | The third parties Harbour talks to and what each one is trusted for. | read |
mex_heartbeat | Check the mex scaffold heartbeat. Returns ok status, stale files with age in days, and memory cleanup status. | read |
mex_log | Append an agent event to the mex log, or read recent events. Valid kinds: ${EVENT_KINDS.join( | read |
mex_read_file | Read a file from the mex scaffold directory (.mex/). Path is relative to .mex/ (e.g. | read |
mex_timeline | Read 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 |
operations | Running Harbour: deploys, alerts, and what to do when something stops. | read |
pattern-index | Lookup table for Harbour | read |
performance | Where Harbour spends its time and which numbers are worth watching. | read |
risks | Known risks in Harbour, what triggers each one, and what would reduce it. | read |
router | Session bootstrap and navigation hub for the Harbour ticketing service. | read |
security | How Harbour handles credentials, access and customer data. | read |
stack | The technologies Harbour runs on and the constraints on changing them. | read |
testing | How Harbour is tested and what each layer of the suite is for. | read |
Safer alternatives
All code intelligence servers →giancarloerra/socraticode
Enterprise-grade (40m+ LOC) codebase intelligence, zero-setup, local & private Plugin/Skill/Extension or MCP: hybrid semantic search, polyglot dependency graphs, symbol-level impact analysis & call-flow, interactive HTML viewer, cross-project & branch-aware search, DB/API/infra knowledge. 61% less t
codefromkarl/contextatlas
ContextAtlas — context infrastructure for AI coding agents: hybrid retrieval, project memory and retrieval observability via CLI, MCP server or embeddable library. Tree-sitter indexing, LanceDB vector search, FTS5 and token-aware context packing.
ChromeDevTools/chrome-devtools-mcp
Chrome DevTools for coding agents
Audit history
- ✕BLOCK F 41 / 100
First audit ·
b0134ebdafff
README badge
Badges show the current verdict, BLOCK included
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?
What tools does Mex expose?
Is Mex safe to connect to an agent?
What credentials does Mex need?
How does Mex run?
How current is this page?
I already installed Mex. What should I do?
Can the verdict change?
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.
- What is the Mex MCP server?
- What tools does Mex expose?
- Is Mex safe to connect to an agent?