arhuman/mnemos
Local-first MCP memory server for AI agents, with source citations and OKF/Markdown knowledge bases.
d7756f477f07Paths 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.
- Some paths pass through more than 8 functions one inside another; the scanner stops there
- In 32 places 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
- HIGH1 production dependency has known vulnerabilities (worst: high).
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
golang.org/x/image0.45.0 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 11 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.
mnemos.journal_promote, mnemos.move, mnemos.rememberNo tool was seen to: start other programs on the machine; connect to the internet or other hosts; 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.
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.
- files3 tools · mnemos.journal_promote, mnemos.move, mnemos.remember
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 (11: 11 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
mnemos.contexttool Search and return the matching chunks' full content as LLM-ready context blocks.
Search and return the matching chunks' full content as LLM-ready context blocks.
mnemos.forgettool Delete a file from the OKF tree: it is removed from disk and de-indexed. Idempotent.
Delete a file from the OKF tree: it is removed from disk and de-indexed. Idempotent.
mnemos.journal_pendingtool List session journal entries not yet reviewed (no promoted_to), oldest first. Journal entries are excluded from search; read one with mnemos.read, then record t
List session journal entries not yet reviewed (no promoted_to), oldest first. Journal entries are excluded from search; read one with mnemos.read, then record the outcome with mnemos.journal_promote.
mnemos.journal_promotetool Record that a journal entry was handled, by stamping its promoted_to field. Call it AFTER the kb document has been written with mnemos.remember, passing that doFilesoutside text
Record that a journal entry was handled, by stamping its promoted_to field. Call it AFTER the kb document has been written with mnemos.remember, passing that document's uri; pass none when the entry was reviewed and nothing was worth promoting. This tool never writes the kb document itself. An entry already stamped is refused. Calls are not serialized: do not promote the same entry from two sessions at once.
mnemos.listtool List and browse the OKF tree. Walks the tree on disk and annotates each file with the index metadata mnemos holds (title, type, tags, collection) plus an 'index
List and browse the OKF tree. Walks the tree on disk and annotates each file with the index metadata mnemos holds (title, type, tags, collection) plus an 'indexed' flag, so both stored documents and not-yet-indexed files are visible.
mnemos.movetool Move a file or directory within the OKF tree: it is renamed on disk and re-indexed under the new path, preserving each document's collection. A directory moves Filesoutside text
Move a file or directory within the OKF tree: it is renamed on disk and re-indexed under the new path, preserving each document's collection. A directory moves its whole subtree and re-indexes every document under it.
mnemos.okfytool Convert an existing plain .txt or .md file in the tree into an OKF document and index it, leaving the source intact, returning an immediate citation.
Convert an existing plain .txt or .md file in the tree into an OKF document and index it, leaving the source intact, returning an immediate citation.
mnemos.readtool Read a precise document (by uri) or a single chunk (by chunk_id).
Read a precise document (by uri) or a single chunk (by chunk_id).
mnemos.relatedtool List the link-graph neighbors of a document: outbound links it contains and inbound backlinks that point at it (1 hop, document-level).
List the link-graph neighbors of a document: outbound links it contains and inbound backlinks that point at it (1 hop, document-level).
mnemos.remembertool Capture a note (any OKF type, e.g. idea/document/Task) into memory: it is written as an OKF markdown file and indexed, returning an immediate citation.Filesoutside text
Capture a note (any OKF type, e.g. idea/document/Task) into memory: it is written as an OKF markdown file and indexed, returning an immediate citation.
mnemos.searchtool Search the mnemos index and return ranked, cited results.
Search the mnemos index and return ranked, cited results.
Text the model reads (11)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
mnemos.context tool
Search and return the matching chunks' full content as LLM-ready context blocks.
mnemos.forget tool
Delete a file from the OKF tree: it is removed from disk and de-indexed. Idempotent.
mnemos.journal_pending tool
List session journal entries not yet reviewed (no promoted_to), oldest first. Journal entries are excluded from search; read one with mnemos.read, then record the outcome with mnemos.journal_promote.
mnemos.journal_promote tool
Record that a journal entry was handled, by stamping its promoted_to field. Call it AFTER the kb document has been written with mnemos.remember, passing that document's uri; pass none when the entry was reviewed and nothing was worth promoting. This tool never writes the kb document itself. An entry already stamped is refused. Calls are not serialized: do not promote the same entry from two sessions at once.
mnemos.list tool
List and browse the OKF tree. Walks the tree on disk and annotates each file with the index metadata mnemos holds (title, type, tags, collection) plus an 'indexed' flag, so both stored documents and not-yet-indexed files are visible.
mnemos.move tool
Move a file or directory within the OKF tree: it is renamed on disk and re-indexed under the new path, preserving each document's collection. A directory moves its whole subtree and re-indexes every document under it.
mnemos.okfy tool
Convert an existing plain .txt or .md file in the tree into an OKF document and index it, leaving the source intact, returning an immediate citation.
mnemos.read tool
Read a precise document (by uri) or a single chunk (by chunk_id).
mnemos.related tool
List the link-graph neighbors of a document: outbound links it contains and inbound backlinks that point at it (1 hop, document-level).
mnemos.remember tool
Capture a note (any OKF type, e.g. idea/document/Task) into memory: it is written as an OKF markdown file and indexed, returning an immediate citation.
mnemos.search tool
Search the mnemos index and return ranked, cited results.
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 — 11 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 — 11 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 — 11 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 — 11 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 — 11 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 11 capabilities; 11 more call code the scanner could not follow, where it may happen
- Tools that touch files3 of 11 capabilities touch files; 8 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 11 capabilities; 11 more call code the scanner could not follow, where it may happen
Where the code is: 11 handlers in 10 files at commit d7756f477f07
internal/mcp/tools_context.gomnemos.contextinternal/mcp/tools_forget.gomnemos.forgetinternal/mcp/tools_journal.gomnemos.journal_pending, mnemos.journal_promoteinternal/mcp/tools_list.gomnemos.listinternal/mcp/tools_move.gomnemos.moveinternal/mcp/tools_okfy.gomnemos.okfyinternal/mcp/tools_read.gomnemos.readinternal/mcp/tools_related.gomnemos.relatedinternal/mcp/tools_remember.gomnemos.rememberinternal/mcp/tools_search.gomnemos.search
- 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 manifests1 manifest: go.mod
- Lockfiles checked against OSV1 file resolved and checked against the OSV database
- Known vulnerabilities in production dependencies HIGH1 production package with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versiongithub.com/modelcontextprotocol/go-sdk v1.8.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 11 capabilities; 11 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)
golang.org/x/imageGo v0.36.0 HIGH 11 advisories 0.38.00.39.00.41.0+3 more
- HIGHGHSA-q675-qj96-32m9 CVE-2026-46599 GO-2026-5032golang.org/x/image/tiff has excessive resource consumption in PackBits decompression
- MEDIUMGO-2026-5062 CVE-2026-46602Lack of limit on tile sizes in x/image/tiff in golang.org/x/image
- MEDIUMGO-2026-4815 CVE-2026-33809 GHSA-44p7-9xx4-hf2gOOM from malicious IFD offset in golang.org/x/image/tiff
- MEDIUMGO-2026-5066 CVE-2026-46604Panic decoding image with out-of-bounds strip offset in x/image/tiff in golang.org/x/image
- MEDIUMGHSA-44p7-9xx4-hf2g CVE-2026-33809 GO-2026-4815Go Images vulnerable to an out-of-memory error via a crafted TIFF file
- MEDIUMGO-2026-6222 CVE-2026-46603Excessive memory allocation during VP8L decoding in golang.org/x/image
- MEDIUMGO-2026-5032 CVE-2026-46599 GHSA-q675-qj96-32m9Excessive resource consumption in PackBits decompression in golang.org/x/image/tiff
- MEDIUMGO-2026-5061 CVE-2026-46601Panic on VP8 alpha channel size mismatch in x/image/webp in golang.org/x/image
- MEDIUMGO-2026-5031 CVE-2026-42500Panic when reading out of bound palette index in golang.org/x/image/bmp
- MEDIUMGO-2026-4961 CVE-2026-33813Panic when decoding large WEBP image on 32-bit platforms in golang.org/x/image
- MEDIUMGO-2026-4962 CVE-2026-33812Excessive memory allocation when decoding malicious SFNT in golang.org/x/image
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 | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | github.com/modelcontextprotocol/go-sdk v1.8.0 |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | mentioned the policy names a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-12 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 2 catalogs (github_search, mcpservers_org) |
|---|---|
| License | NOASSERTION |
| Created | 2026-06-29 |
| Topics | ai-me claude-code developer-tools fts5 go golang knowledge-base mcp mcp-server okf |
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.