MCP server · Org-owned · Audited from source
Dense-Mem MCP server
by markhuangai/dense-memApache-2.0 licenceAudited 8 Oct 2026 · source b48ff0e6c6c3
Is it safe? With care — CAUTION, grade F (54/100). It exposes 6 tools: 6 read, 0 write and 0 destructive. The audit recorded 42 findings (0 critical, 0 high, 14 medium, 27 low). Maintainer's description: Self-hosted AI agent memory server with MCP, evidence provenance, typed claims, conflict detection, embeddings, recall, PostgreSQL, and pgvector
Cite
Cite this page
ModelsAtlas. “Dense-Mem MCP server (markhuangai/dense-mem)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/markhuangai/dense-mem
Trust audit
Audit 0.4.1 · full source read 8 Oct 2026
42 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
- FilesystemNone observedNothing seen in the source
- NetworkDeclared4 observations
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsFoundSee the findings
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 3 findings |
L1 Static source | Secrets, path traversal, supply chain | WARN 22 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | PASS |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
markhuangaiOrganizationAccount type recorded when we read the repository. - PackagePublished on npm
dense-mem-control-portalat version 0.1.0 - LicenceApache-2.0From the repository, as read at the audited commit.
- Last pushTodayActivity of the repository when we read it.
- Source commit readb48ff0e6c6c3The audit covers exactly this commit, read on 8 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory6 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (42)
Sorted by severity · the 25 most severe of 42 are listed
MEDIUMNetwork egressnet.beacon_words · internal/assessor/assessor.go:52
Never create IDs, predicates, statuses, lifecycle decisions, owners, or conflict winners. Return exactly one evidence_security_results entry for every submitted evidence_id with decision pass or rejec
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · Dockerfile:97
CMD sh -c 'addr="${HTTP_ADDR:-:8080}"; port="${addr##*:}"; wget --quiet -O /dev/null "http://127.0.0.1:${port}/health"' || exit 1- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · Dockerfile.demo:75
CMD wget --quiet -O /dev/null http://127.0.0.1:8080/health || exit 1
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.db_uri · cmd/internal/serverapp/composition_coverage_test.go:302
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.db_uri · cmd/internal/serverapp/composition_coverage_test.go:303
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.db_uri · cmd/internal/serverapp/composition_coverage_test.go:331
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.db_uri · internal/config/config_test.go:356
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.db_uri · internal/knowledge/postgres/owner_write_integration_test.go:205
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · internal/ontology/postgres/maintenance_service_integration_test.go:57
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · internal/recall/postgres/recall_evidence_history_integration_test.go:21
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · internal/storage/postgres/migrator_concurrency_integration_test.go:117
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · tests/integration/discoverability_harness.go:51
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · tests/uat/e2e_host_controller.test.mjs:884
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.private_key · internal/remember/service/security_scan_test.go:33
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWCode injectioncode.eval_exec · tests/uat/pr_validation_policy.test.mjs:25
const permits = new Function("vars", "github", "needs", "always", `return (${condition});`);- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · tests/uat/pr_validation_policy.test.mjs:41
const evaluate = new Function("needs", "github", `return (${expression});`);- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · tests/uat/pr_validation_policy.test.mjs:208
return new Function(...Object.keys(context), `return (${javascript});`)(...Object.values(context));- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · tests/uat/pr_validation_policy.test.mjs:330
const shouldRun = new Function("needs", `return (${condition});`);- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWCode injectioncode.eval_exec · tests/uat/pr_validation_policy.test.mjs:360
const shouldRun = new Function("needs", "github", `return (${condition});`);- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWInsecure cryptocrypto.weak_hash · tests/eval/scripts/prepare_full_public_rag_eval.py:595
digest = hashlib.sha1(value.encode("utf-8")).hexdigest()[:16]- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · tests/eval/scripts/prepare_public_semantic_eval.py:886
digest = hashlib.sha1(value.encode("utf-8")).hexdigest()[:16]- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInformation disclosuredisclose.log_secret · internal/observability/logger_test.go:526
logger.Info(`request failed password=hunter2 metadata={"token":"json-secret"}`, slog.Group("request",- Why
- No further detail recorded for this rule.
- Fix
- —
Tools it exposes
6 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
Default | read | No description in the source |
Research | read | No description in the source |
Staging | read | No description in the source |
Team | read | No description in the source |
remember | read | Remember |
x | read | No description in the source |
Install
Package version 0.1.0 · audited commit b48ff0e
Read the findings first. The most severe is Network egress (medium) at internal/assessor/assessor.go.
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.1.0. The audit covers commit b48ff0e only.
claude mcp add dense-mem-control-portal --env CLOUDFLARE_API_TOKEN=${CLOUDFLARE_API_TOKEN} --env DENSE_MEM_BASELINE_SCRAPE_TOKEN=${DENSE_MEM_BASELINE_SCRAPE_TOKEN} --env DENSE_MEM_CANDIDATE_SCRAPE_TOKEN=${DENSE_MEM_CANDIDATE_SCRAPE_TOKEN} --env DENSE_MEM_CONTROL_TOKEN=${DENSE_MEM_CONTROL_TOKEN} -- npx -y [email protected]{
"mcpServers": {
"dense-mem-control-portal": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"CLOUDFLARE_API_TOKEN": "${CLOUDFLARE_API_TOKEN}",
"DENSE_MEM_BASELINE_SCRAPE_TOKEN": "${DENSE_MEM_BASELINE_SCRAPE_TOKEN}",
"DENSE_MEM_CANDIDATE_SCRAPE_TOKEN": "${DENSE_MEM_CANDIDATE_SCRAPE_TOKEN}",
"DENSE_MEM_CONTROL_TOKEN": "${DENSE_MEM_CONTROL_TOKEN}"
}
}
}
}The command pins the package version recorded in the source (0.1.0); the audit covers commit b48ff0e6c6c3. Transport: streamable-http. Reads these environment variables: CLOUDFLARE_API_TOKEN, DENSE_MEM_BASELINE_SCRAPE_TOKEN, DENSE_MEM_CANDIDATE_SCRAPE_TOKEN, DENSE_MEM_CONTROL_TOKEN, DENSE_MEM_LOAD_SCRAPE_TOKEN, EMBEDDING_PROXY_UPSTREAM_KEY, GITHUB_TOKEN. Give it the narrowest token it needs.
Audit history
- !CAUTION F 54 / 100
First audit ·
b48ff0e6c6c3
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/markhuangai/dense-mem/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Dense-Mem MCP server
What is the Dense-Mem MCP server?
What tools does Dense-Mem expose?
Is Dense-Mem safe to connect to an agent?
What credentials does Dense-Mem need?
How does Dense-Mem run?
How current is this page?
Sources
- markhuangai/dense-mem on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit b48ff0e6c6c3Observed · 8 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.
- What is the Dense-Mem MCP server?
- What tools does Dense-Mem expose?
- Is Dense-Mem safe to connect to an agent?