ZenSystemAI/Zengram
A Multi Agent Memory MCP That Connect Agents Across Systems and Machines
8d048d027e0bzengram-api4.5.0 in api/package.jsonPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 1 place a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
Top risks in plain words
- MEDIUM1 production dependency has known vulnerabilities (worst: medium).
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Update its vulnerable packages
Use
@hono/node-server2.1.6 or later. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 13 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
brain_briefing, brain_consolidate, brain_delete, brain_entities, brain_export, brain_import and 7 moreNo tool was seen to: start other programs on the machine; read or write files; read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
13 request addresses could not be settled from the code (built at run time).
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- web or API responses13 tools · brain_briefing, brain_consolidate, brain_delete +10
Not all three are present in the tools the scanner traced.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (13: 13 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
brain_briefingtool Get a session briefing: what happened since a given time across all agents. Excludes entries from the requesting agent by default. Returns compact format (truncNetworkoutside text
Get a session briefing: what happened since a given time across all agents. Excludes entries from the requesting agent by default. Returns compact format (truncated content) to save tokens — use format="full" only when you need complete content.
brain_consolidatetool Trigger a memory consolidation run. An LLM analyzes unconsolidated memories to find duplicates to merge, contradictions to flag, connections between memories, aNetworkoutside text
Trigger a memory consolidation run. An LLM analyzes unconsolidated memories to find duplicates to merge, contradictions to flag, connections between memories, and cross-memory insights. Runs automatically on a schedule, but can be triggered manually. Default action "run" is async (returns a job_id you can poll with action="job"). Pass sync=true to block until consolidation completes.
brain_deletetool Soft-delete a memory by ID (marks it inactive). The memory remains in storage but is excluded from search results. Agent-scoped keys can only delete their own mNetworkoutside text
Soft-delete a memory by ID (marks it inactive). The memory remains in storage but is excluded from search results. Agent-scoped keys can only delete their own memories. Use this for compliance or to remove incorrect/sensitive memories.
brain_entitiestool Query the entity graph. Entities are automatically extracted from memories — clients, people, technologies, workflows, domains, agents. Use this to find all entNetworkoutside text
Query the entity graph. Entities are automatically extracted from memories — clients, people, technologies, workflows, domains, agents. Use this to find all entities, get details about one, or list all memories linked to an entity.
brain_exporttool Export shared memories as JSON for backup or migration. Returns memory payloads (no vectors). WARNING: Can return very large responses — use limit, client_id, tNetworkoutside text
Export shared memories as JSON for backup or migration. Returns memory payloads (no vectors). WARNING: Can return very large responses — use limit, client_id, type, or since filters to avoid exceeding MCP message size limits. Default limit is 500.
brain_importtool Operator-only: import memories from JSON (e.g. from a brain_export backup). Mutates the memory store, re-embeds with current provider, and deduplicates by conteNetworkoutside text
Operator-only: import memories from JSON (e.g. from a brain_export backup). Mutates the memory store, re-embeds with current provider, and deduplicates by content hash. Requires operator_approved=true. Max 500 records per call.
brain_querytool Structured query of shared memories via the database. Query facts by key, statuses by subject, or events by time range. Use brain_search for semantic queries inNetworkoutside text
Structured query of shared memories via the database. Query facts by key, statuses by subject, or events by time range. Use brain_search for semantic queries instead.
brain_reflecttool Reflect on a topic by synthesizing patterns across stored memories. Searches relevant memories using multi-path retrieval, then uses LLM to analyze and produce Networkoutside text
Reflect on a topic by synthesizing patterns across stored memories. Searches relevant memories using multi-path retrieval, then uses LLM to analyze and produce insights about patterns, timeline evolution, contradictions, and knowledge gaps. Use this for "what do we know about X?", "what patterns do you see?", or "what's missing?"
brain_researchtool Agentic, iterate-until-sufficient retrieval for HARD MULTI-HOP questions only (e.g. "find the decision that superseded X, then what status it left Y in"). Runs Networkoutside text
Agentic, iterate-until-sufficient retrieval for HARD MULTI-HOP questions only (e.g. "find the decision that superseded X, then what status it left Y in"). Runs a loop: retrieve -> judge whether the gathered memories actually answer the question -> if not, search the named gap -> repeat (bounded) -> synthesize a grounded answer with per-claim [mem:<id>] citations. Heavyweight (several LLM calls, rate-limited) and OFF by default (server must set RESEARCH_ENABLED=true). Do NOT use for routine recall — use brain_search for that, or brain_reflect for one-shot pattern synthesis. Returns answer, key_findings, cited_memory_ids, unresolved, and partial=true if it could not fully resolve within the iteration budget.
brain_searchtool Multi-path search across all shared memories. Runs vector (semantic) and full-text keyword retrieval in parallel, merged with Reciprocal Rank Fusion into a blenNetworkoutside text
Multi-path search across all shared memories. Runs vector (semantic) and full-text keyword retrieval in parallel, merged with Reciprocal Rank Fusion into a blended ranking. Returns compact format by default to save tokens. Use format="full" to see which retrieval paths contributed to each result.
brain_statstool Get memory health stats: total memories, active vs superseded, consolidated, decayed, breakdown by type. Use this to understand the state of the shared brain.Networkoutside text
Get memory health stats: total memories, active vs superseded, consolidated, decayed, breakdown by type. Use this to understand the state of the shared brain.
brain_storetool Store a memory in the Shared Brain. Use this to record events (something happened), facts (persistent knowledge), decisions (choices made and why), or status upNetworkoutside text
Store a memory in the Shared Brain. Use this to record events (something happened), facts (persistent knowledge), decisions (choices made and why), or status updates (current state of systems/workflows). All agents share this memory. Duplicate content is automatically detected and deduplicated. Facts and statuses with matching keys/subjects automatically supersede older versions. source_agent is optional and defaults to BRAIN_MCP_SOURCE_AGENT (then "claude-code"); multi-agent fleets should set BRAIN_MCP_SOURCE_AGENT per agent so writes are correctly attributed.
brain_updatetool Update an existing memory's content, importance, or category without creating a new version. Re-embeds and re-indexes if content changes. Agents can only updateNetworkoutside text
Update an existing memory's content, importance, or category without creating a new version. Re-embeds and re-indexes if content changes. Agents can only update their own memories.
Text the model reads (13)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
brain_store tool
Store a memory in the Shared Brain. Use this to record events (something happened), facts (persistent knowledge), decisions (choices made and why), or status updates (current state of systems/workflows). All agents share this memory. Duplicate content is automatically detected and deduplicated. Facts and statuses with matching keys/subjects automatically supersede older versions. source_agent is optional and defaults to BRAIN_MCP_SOURCE_AGENT (then "claude-code"); multi-agent fleets should set BRAIN_MCP_SOURCE_AGENT per agent so writes are correctly attributed.
brain_search tool
Multi-path search across all shared memories. Runs vector (semantic) and full-text keyword retrieval in parallel, merged with Reciprocal Rank Fusion into a blended ranking. Returns compact format by default to save tokens. Use format="full" to see which retrieval paths contributed to each result.
brain_briefing tool
Get a session briefing: what happened since a given time across all agents. Excludes entries from the requesting agent by default. Returns compact format (truncated content) to save tokens — use format="full" only when you need complete content.
brain_query tool
Structured query of shared memories via the database. Query facts by key, statuses by subject, or events by time range. Use brain_search for semantic queries instead.
brain_stats tool
Get memory health stats: total memories, active vs superseded, consolidated, decayed, breakdown by type. Use this to understand the state of the shared brain.
brain_consolidate tool
Trigger a memory consolidation run. An LLM analyzes unconsolidated memories to find duplicates to merge, contradictions to flag, connections between memories, and cross-memory insights. Runs automatically on a schedule, but can be triggered manually. Default action "run" is async (returns a job_id you can poll with action="job"). Pass sync=true to block until consolidation completes.
brain_entities tool
Query the entity graph. Entities are automatically extracted from memories — clients, people, technologies, workflows, domains, agents. Use this to find all entities, get details about one, or list all memories linked to an entity.
brain_delete tool
Soft-delete a memory by ID (marks it inactive). The memory remains in storage but is excluded from search results. Agent-scoped keys can only delete their own memories. Use this for compliance or to remove incorrect/sensitive memories.
brain_update tool
Update an existing memory's content, importance, or category without creating a new version. Re-embeds and re-indexes if content changes. Agents can only update their own memories.
brain_export tool
Export shared memories as JSON for backup or migration. Returns memory payloads (no vectors). WARNING: Can return very large responses — use limit, client_id, type, or since filters to avoid exceeding MCP message size limits. Default limit is 500.
brain_import tool
Operator-only: import memories from JSON (e.g. from a brain_export backup). Mutates the memory store, re-embeds with current provider, and deduplicates by content hash. Requires operator_approved=true. Max 500 records per call.
brain_reflect tool
Reflect on a topic by synthesizing patterns across stored memories. Searches relevant memories using multi-path retrieval, then uses LLM to analyze and produce insights about patterns, timeline evolution, contradictions, and knowledge gaps. Use this for "what do we know about X?", "what patterns do you see?", or "what's missing?"
brain_research tool
Agentic, iterate-until-sufficient retrieval for HARD MULTI-HOP questions only (e.g. "find the decision that superseded X, then what status it left Y in"). Runs a loop: retrieve -> judge whether the gathered memories actually answer the question -> if not, search the named gap -> repeat (bounded) -> synthesize a grounded answer with per-claim [mem:<id>] citations. Heavyweight (several LLM calls, rate-limited) and OFF by default (server must set RESEARCH_ENABLED=true). Do NOT use for routine recall — use brain_search for that, or brain_reflect for one-shot pattern synthesis. Returns answer, key_findings, cited_memory_ids, unresolved, and partial=true if it could not fully resolve within the iteration budget.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 13 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 13 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 13 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 13 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 13 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 13 capabilities; 13 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 13 capabilities; 13 more call code the scanner could not follow, where it may happen
- Tools that call the network13 of 13 capabilities call the network
Where the code is: 13 handlers in 1 file at commit 8d048d027e0b
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests2 manifests: api/package.json, mcp-server/package.json
- Lockfiles checked against OSV2 files resolved and checked against the OSV database
- Known vulnerabilities in production dependencies MEDIUM1 production package with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK version@modelcontextprotocol/sdk ^1.27.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 13 capabilities; 13 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (1 in production)
@hono/node-servernpm 2.1.4 MEDIUM 2 advisories 1.19.182.1.6
- MEDIUMGHSA-qv5m-9pm6-hqp3 CVE-2026-126343@hono/node-server: Unhandled `ECONNRESET` on the socket during an asynchronous WebSocket upgrade crashes the process
- MEDIUMGHSA-jpvv-r467-5p4w CVE-2026-126210@hono/node-server: Backslash in the request path is parsed as a path separator, bypassing path-based access control at a reverse proxy
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | @modelcontextprotocol/sdk ^1.27.0 |
| Servers in the code | 1 (zengram) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-13 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | MIT |
| Created | 2026-03-10 |
| Topics | claude claude-ai claude-code codex cursor deduplication embedded gemini hermes-agent longmemeval |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.