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

MCP server · Audited from source

Persistent AI Memory MCP server

by savantskie/persistent-ai-memoryMIT licenceAudited 6 Oct 2026 · source 9b1092369159

stdio★ 236
✕BLOCKGrade D · 69/100 · 6 Oct 2026 · 9b10923

Is it safe? No — BLOCK, grade D (69/100). It exposes 38 tools: 28 read, 9 write and 1 destructive. The audit recorded 21 findings (0 critical, 2 high, 1 medium, 18 low). Maintainer's description: A persistent local memory for AI, LLMs, or Copilot in VS Code.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Persistent AI Memory MCP server (savantskie/persistent-ai-memory)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/savantskie/persistent-ai-memory

Why this is BLOCK. The audit found 0 critical and 2 high findings; the most severe is Code injection at ai_memory_short_term.py:692. 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 6 Oct 2026

Trust score69/100✕BLOCK D
0 critical2 high1 medium18 low0 info

21 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

  • FilesystemDeclared4 observations
  • NetworkDeclared5 observations
  • ShellDeclared1 observation
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Findings (21)

Sorted by severity

HIGHCode injectioncode.deserialize · ai_memory_short_term.py:692
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
embedding = pickle.loads(row[0])
Why
deserialises untrusted bytes into live objects
Fix
use json or yaml.safe_load
HIGHPrompt injectionprompt.credential_read · <tool:get_weather_open_meteo>:1
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
Open-Meteo forecast (no API key). Defaults to configured location and caches once per local day.
Why
asks the agent to read credentials
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
delete_reminder
Why
1 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWCode injectioncode.dynamic_import · tests/test_health_check.py:71
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
__import__(module_name)
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · ai_memory_core.py:377
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
content_hash = hashlib.md5(f"{content}:{role}:{session_id}".encode()).hexdigest()
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · ai_memory_core.py:2357
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
content_hash = hashlib.md5(msg_content.encode()).hexdigest()
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · ai_memory_core.py:2419
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
content_hash = hashlib.md5(msg_content.encode()).hexdigest()
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · ai_memory_core.py:2472
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
content_hash = hashlib.md5(msg_content.encode()).hexdigest()
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · ai_memory_core.py:2536
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
content_hash = hashlib.md5(msg_content.encode()).hexdigest()
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · CONFIGURATION.md:214
F-04 Network egressCWE-200 · CWE-319Layer L1
"api_url": "http://127.0.0.1:11434",
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · CONFIGURATION.md:233
F-04 Network egressCWE-200 · CWE-319Layer L1
"api_url": "http://127.0.0.1:11434",
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · CONFIGURATION.md:270
F-04 Network egressCWE-200 · CWE-319Layer L1
"embedding_api_endpoint_url": "http://127.0.0.1:11434"
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · CONFIGURATION.md:285
F-04 Network egressCWE-200 · CWE-319Layer L1
"embedding_api_endpoint_url": "http://127.0.0.1:11434"
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · CONFIGURATION.md:395
F-04 Network egressCWE-200 · CWE-319Layer L1
"api_url": "http://127.0.0.1:11434",
Why
No further detail recorded for this rule.
Fix
—
LOWPrompt injectionprompt.authority_framing · TROUBLESHOOTING.md:264
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
# Or: Full permissions (less secure)
Why
No further detail recorded for this rule.
Fix
—
LOWPrompt injectionprompt.persistence · TROUBLESHOOTING.md:343
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
# Make permanent (add to ~/.bashrc or ~/.zshrc)
Why
instructs the agent to persist itself in the user's environment
Fix
—
LOWSupply chainprompt.pipe_to_shell · CONFIGURATION.md:371
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl https://ollama.ai/install.sh | sh
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainprompt.pipe_to_shell · INSTALL.md:34
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -sSL https://raw.githubusercontent.com/savantskie/persistent-ai-memory/main/install.sh | bash
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainprompt.pipe_to_shell · INSTALLATION_COMPLETE.md:10
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -sSL https://raw.githubusercontent.com/savantskie/persistent-ai-memory/main/install.sh | bash
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainprompt.pipe_to_shell · INSTALLATION_COMPLETE.md:73
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -sSL https://raw.githubusercontent.com/savantskie/persistent-ai-memory/main/install.sh | bash
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainprompt.pipe_to_shell · REDDIT_QUICKSTART.md:22
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -sSL https://raw.githubusercontent.com/savantskie/persistent-ai-memory/main/install.sh | bash
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

38 declared in source · 1 destructive

28 read9 write1 destructive

1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolWhat it doesRisk
delete_reminderPermanently delete a reminderdestructive
create_appointmentCreate an appointment, optionally recurring (e.g., weekly mental health appointments)write
create_memoryCreate a curated memory entrywrite
create_reminderCreate a reminder or multiple recurring reminderswrite
reschedule_reminderUpdate the due date of a reminderwrite
save_development_sessionSave VS Code development session contextwrite
store_ai_reflectionStore an AI self-reflection/insight record (manual write)write
trigger_database_maintenanceManually trigger database maintenance (archival, repairs, optimization) outside of the regular 6-hour schedulewrite
update_memoryUpdate an existing curated memorywrite
write_ai_insightsAlias of store_ai_reflection — write an AI self-reflection/insight recordwrite
cancel_appointmentCancel a scheduled appointmentread
complete_appointmentMark an appointment as completedread
complete_reminderMark a reminder as completedread
export_all_tool_callsExport all tool calls from current and archived databases for LORA training dataset generation (web-only, not for models)read
get_active_remindersGet active (not completed) remindersread
get_ai_insightsGet recent AI self-reflection insights and patternsread
get_appointmentsGet recent appointments, optionally filtered by date rangeread
get_character_contextGet relevant context about characters from memoryread
get_completed_remindersGet recently completed remindersread
get_conversation_contextRetrieve conversation context linked to a memory in three modes: snippet (4 msgs before/after), summary (count, date range, first/last msgs), or full (all messages)read
get_current_timeGet the current server time in ISO format (UTC and local)read
get_project_continuityGet context to continue development workread
get_recent_contextGet recent conversation context from the last N daysread
get_remindersGet recent reminders, optionally filtered by date rangeread
get_system_healthGet comprehensive system health, statistics, and database statusread
get_tool_informationGet tool usage statistics OR tool documentation. Pass mode=read
get_upcoming_appointmentsGet upcoming appointments (not cancelled)read
get_weather_open_meteoOpen-Meteo forecast (no API key). Defaults to configured location and caches once per local day.read
link_code_contextLink conversation to specific code contextread
list_available_memory_banksGet list of available memory banks with memory counts per bankread
list_available_tagsGet list of available tags from registry with their canonical forms, variations, and usage countsread
reflect_on_tool_usageAI self-reflection on tool usage patterns and effectivenessread
search_memoriesSearch memories using semantic similarity with importance and type filtering, or direct ID lookup. Searches across long-term curated memories, short-term memories, conversations, and schedule. Eitherread
search_project_historySearch VS Code project development historyread
search_roleplay_historySearch past roleplay interactions and character developmentread
store_conversationStore conversation automaticallyread
store_project_insightStore development insight or decisionread
store_roleplay_memoryStore important roleplay moments or character developmentsread

Audit history

  1. ✕BLOCK D 69 / 100

    First audit · 9b1092369159

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK DMODELSATLASBLOCK · D

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 Persistent AI Memory MCP server

What is the Persistent AI Memory MCP server?
A persistent local memory for AI, LLMs, or Copilot in VS Code.
What tools does Persistent AI Memory expose?
38 in total: 28 read-only, 9 that write, and 1 that can delete or overwrite (delete_reminder). Every one is listed on this page with its risk.
Is Persistent AI Memory safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 2 critical or high issues in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Persistent AI Memory need?
No credential environment variables were found in its source, so it appears to need none.
How does Persistent AI Memory run?
It speaks stdio, so it runs as a local process your client starts.
How current is this page?
The grade is for one exact copy of the source (9b1092369159), read on 2026-10-06. The repository is watched and re-audited when it changes.
I already installed Persistent AI Memory. 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

  • savantskie/persistent-ai-memory on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit 9b1092369159Observed · 6 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.