MCP, MCP server
nocturne_memory
A lightweight, rollbackable, and visual Long-Term Memory Server for MCP Agents.
Compatibility: Not stated.
Grade C
One Medium finding. Read the findings before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit 1858957bf797, unchanged since the check below.
PERMISSION_SHELL_UNDECLARED
Why this grade
- PERMISSION_SHELL_UNDECLARED Medium
Runs shell commands that the manifest or description does not mention.
backend/frontend_builder.py, line 197
subprocess.run,
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Concern
requests shell access. No manifest field names shell or command execution. can delete files.
PERMISSION_SHELL_UNDECLARED PERMISSION_DELETE_FILES
backend/frontend_builder.py, line 197
subprocess.run,
backend/frontend_builder.py, line 219
subprocess.run,
backend/frontend_builder.py, line 257
subprocess.run,
Show more
backend/mcp_wrapper.py, line 17
process = subprocess.Popen(
backend/namespace_middleware.py, line 87
os.remove(path)
backend/api/settings.py, line 351
subprocess.Popen(["open", str(folder)])
backend/api/settings.py, line 353
subprocess.Popen(["xdg-open", str(folder)])
backend/db/snapshot.py, line 357
os.remove(p)
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
backend/frontend_builder.py, line 704
const res = await fetch('/api/build-status', {{
backend/frontend_builder.py, line 784
const res = await fetch('/api/build-retry', {{
desktop_pet/antigravity_heartbeat.py, line 113
with urllib.request.urlopen(req, timeout=3) as resp:
Show more
desktop_pet/heartbeat_engine.py, line 121
res = urllib.request.urlopen(req, timeout=10)
desktop_pet/heartbeat_engine.py, line 316
f"不要手动 curl 明文 token。\n"
desktop_pet/opencode_heartbeat.py, line 99
response = requests.get(url, timeout=10, auth=auth)
desktop_pet/opencode_heartbeat.py, line 127
response = requests.get(url, timeout=10, auth=auth)
desktop_pet/opencode_heartbeat.py, line 206
response = requests.post(
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
backend/config.py, line 5
1. Legacy .env with app-level keys (DATABASE_URL etc.)? → migrate to config.json
backend/config.py, line 12
IMPORTANT: config.py NEVER writes to .env. The .env → config.json migration is
backend/config.py, line 13
read-only and one-directional. .env files containing only Docker Compose vars
Show more
backend/config.py, line 184
"""Build a config dict from flat key-value pairs (.env or env vars)."""
backend/config.py, line 201
"""One-time migration: read legacy .env and build a config dict.
backend/config.py, line 202
Only triggers if .env contains app-level keys (DATABASE_URL, API_TOKEN, etc.),
backend/config.py, line 204
dotenv_path = ROOT_DIR / ".env"
backend/db/neo4j_client.py, line 6
# 加载环境变量:支持从项目根目录查找 .env(避免从backend子目录运行时找不到)
backend/db/neo4j_client.py, line 2232
password = os.getenv("dbpassword", "password")
backend/scripts/migrate_neo4j_to_sqlite.py, line 295
if not os.getenv("dbpassword"):
desktop_pet/heartbeat_engine.py, line 109
token = os.getenv("CF_MAIL_AUTH_TOKEN", "")
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
demo.db, line 1
SQLite format 3 @ � L &