MCP, MCP server
pensieve
Pensieve for Claude Code: semantic search over your repos, documents and past agent sessions, and your threads of work (MCP server), the skills for search and for closing out threads, and hooks that keep the index current.
Compatibility: Not stated.
Grade D
Two or more Medium findings, or a High. Only try it in a sandbox.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
INSTALL_REMOTE_SCRIPT SECRETS_PATH_CREDENTIAL
Why this grade
- INSTALL_REMOTE_SCRIPT Medium
Fetches a script from the network and runs it (a pipe to a shell, or an install hook with a URL).
install.sh, line 3
# curl -fsSL https://pensieve.tools/install.sh | sh - SECRETS_PATH_CREDENTIAL Medium
Mentions a credential store path (~/.ssh, id_rsa, .npmrc, .aws/credentials, credentials.json, .netrc).
pensieve/settings.py, line 23
".env*", "*credential*", "*secret*", "*password*", "id_rsa*", "id_ed25519*", "*.ovpn"],
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.
If you think this grade is wrong, email [email protected] with the entry link and your evidence. We aim to acknowledge within two working days and decide within seven. If we confirm an error, we aim to correct it within 24 hours of confirming it. These are aims, not guarantees.
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
can delete files.
PERMISSION_DELETE_FILES
bench/agent_search.py, line 62
p = subprocess.run(cmd, cwd=cwd, capture_output=True, text=True, timeout=timeout, stdin=subprocess.DEVNULL)
bench/build_v2.py, line 102
r = subprocess.run(["git", "-C", m.group(1), "remote", "get-url", "origin"],
bench/cards_build.py, line 65
r = subprocess.run(["gh", "auth", "token", "--user", user], capture_output=True, text=True)
Show more
bench/cards_build.py, line 81
r = subprocess.run(["gh", *args], capture_output=True, text=True, env=env, timeout=60)
bench/graph_states.py, line 33
r = subprocess.run(["gh", "auth", "token", "--user", user], capture_output=True, text=True)
bench/graph_states.py, line 52
r = subprocess.run(["gh", "pr", "view", num, "-R", repo, "--json", "state"], capture_output=True, text=True,
bench/sink_status.py, line 19
r = subprocess.run(["gh", *args], capture_output=True, text=True)
bench/threads_replay.py, line 110
r = subprocess.run(["claude", "-p", prompt, "--model", a.judge, "--no-session-persistence", "--tools", "",
bench/workflows.py, line 130
shutil.rmtree(plugin, ignore_errors=True)
pensieve/engine.py, line 92
shutil.rmtree(tmp, ignore_errors=True)
pensieve/migrate.py, line 608
shutil.rmtree(p)
pensieve/repos.py, line 999
shutil.rmtree(shadow_dir(root), ignore_errors=True)
pensieve/reset.py, line 39
shutil.rmtree(config.DATA_DIR / EXPORTS, ignore_errors=True)
pensieve/reset.py, line 102
shutil.rmtree(v2, ignore_errors=True)
pensieve/reset.py, line 103
shutil.rmtree(config.DATA_DIR / EXPORTS, ignore_errors=True)
pensieve/reset.py, line 106
shutil.rmtree(p, ignore_errors=True) if p.is_dir() else p.unlink(missing_ok=True)
Install and update
Serious
install fetches a script from the network. README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell.
INSTALL_REMOTE_SCRIPT INSTALL_DOCUMENTED_INSTALLER
README.md, line 26
curl -fsSL https://pensieve.tools/install.sh | sh
install.sh, line 3
# curl -fsSL https://pensieve.tools/install.sh | sh
install.sh, line 79
curl -LsSf https://astral.sh/uv/install.sh | sh
Show more
docs/listings.md, line 15
- **Install:** `curl -fsSL https://pensieve.tools/install.sh | sh`, then `pensieve integrate recommended`
site-src/docs/pages_a.py, line 156
{pre("curl -fsSL https://pensieve.tools/install.sh | sh")}</li>
site/docs/install/index.html, line 52
<pre><code>curl -fsSL https://pensieve.tools/install.sh | sh</code></pre></li>
site/index.html, line 831
<pre id="cmd">curl -fsSL https://pensieve.tools/install.sh | sh</pre>
site/llms.txt, line 12
curl -fsSL https://pensieve.tools/install.sh | sh
Network
Concern
can reach a host that is not written as a fixed address. can reach api.github.com. The description does not name that host.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
install.sh, line 39
curl -fL --progress-bar -o "$tmp/Pensieve.dmg" "$url" || { rm -rf "$tmp"; return 1; }
install.sh, line 70
REF="${PENSIEVE_REF:-$(curl -fsSL https://api.github.com/repos/TedHaley/pensieve/releases/latest 2>/dev/null \
bench/agent_search.py, line 169
out = json.load(urllib.request.urlopen(f"{API}/api/find?{q}", timeout=120))["results"]
Show more
bench/agent_search.py, line 251
with urllib.request.urlopen(r, timeout=60) as resp:
bench/mcp_bench.py, line 34
with urllib.request.urlopen(req, timeout=60) as r:
bench/workflows.py, line 174
with urllib.request.urlopen(r, timeout=60) as resp:
pensieve/cli.py, line 170
c = httpx.get(f"{base}/api/repo-check", params={"cwd": cwd}, timeout=30).json()
pensieve/cli.py, line 173
r = httpx.delete(f"{base}/api/sources/repos", params={"path": c["root"]}, timeout=30)
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_CREDENTIAL SECRETS_PATH_DOTENV
pensieve/files.py, line 26
".scala", ".sql", ".sh", ".zsh", ".bash", ".r", ".jl", ".lua", ".pl", ".ipynb", ".log", ".env.example",
pensieve/settings.py, line 23
".env*", "*credential*", "*secret*", "*password*", "id_rsa*", "id_ed25519*", "*.ovpn"],
site-src/docs/pages_a.py, line 125
<p>Pensieve never indexes files that look like secrets, such as <code>.env</code> files, keys and credentials.</p>
Show more
site-src/docs/pages_d.py, line 143
rets: password-manager kits, keys, <code>.env</code> files and credentials. The <code
README.md, line 329
Files that look like secrets (password-manager emergency kits, keys, `.env`, credentials) are never indexed; see `exclude_files`.
site/docs/index.html, line 116
<p>Pensieve never indexes files that look like secrets, such as <code>.env</code> files, keys and credentials.</p>
site/docs/privacy/index.html, line 50
<li>Pensieve never indexes files that look like secrets: password-manager kits, keys, <code>.env</code> files and credentials. The <code>exclude_files</code> setting lists the patt
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
uv.lock, line 1
version = 1
pensieve/static/app.js, line 1
import * as THREE from 'three';
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 6f0307ef4cde. can delete files. install fetches a script from the network. README documents an installer that pipes a download into a shell. The docs document an installer that pipes a download into a shell. can reach a host that is not written as a fixed address. can reach api.github.com. The description does not name that host. reads a credential or environment file. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: 6f0307ef4cde5df874f13418e5afb82d4366b4f3
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.