Skills/npm/skill-memory-bank

skill-memory-bank@5.4.2

CAUTION· install only

Publisher claims: "Universal long-term project memory + dev toolkit for AI coding agents (Claude Code, Codex, Cursor, OpenCode, Pi, Hermes)" Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry npm (MCP server)Publisher fockus · publishing for 4 daysInstalls 423Last detonated 1 h ago

Coverage

Bundled scripts ran with no arguments; no agent task scenario for this bundle.
Tested
8 of 75 bundled scripts run with no arguments (the rest were not run: per-bundle cap), with decoy credentials in the environment · every file read, file written and host contacted by what ran
Not tested
use of the skill by an agent

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-24 and scored it 72/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Fake instruction boundary tag; Privileged sudo command; Privileged sudo command. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 1 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.0sprocessbundled script run in the sandbox with no arguments
0.0sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.1sprocessexec /usr/bin/dirname
0.1sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.2sprocessexited 1: ModuleNotFoundError: No module named 'mb_bank_lint_backlog'
0.2sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.3sprocessexited 1: ModuleNotFoundError: No module named 'mb_work_items'
0.3sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.4sprocessexited 1: ModuleNotFoundError: No module named 'mb_drive_state'
0.4sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.5sprocessexited 1: ModuleNotFoundError: No module named 'mb_team_state'
0.5sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.6sprocessexited 2: mb_flow_busy.py: error: the following arguments are required: bank
0.6sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.7sprocess8 of 75 bundled scripts run with no arguments (the rest were not run: per-bundle cap)
0.7sprocessscript backend runs setup only
0.7sprocessscript backend runs setup only
0.7sprocessno install scripts to re-run

Static findings

CRITICAL
Fake instruction boundary tagSKILL.md:171 · Fake instruction boundary tagDispatch agents by name — `Agent(subagent_type="mb-manager", description="…", prompt="action: <action>\n\n<context>")`.Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
HIGH
Privileged sudo commandscripts/mb-deps-check.sh:88 · Privileged sudo command — agent may execute with elevated privileges"debian:python3>=3.11") echo "sudo apt install python3.11 (or: pyenv install 3.11)" ;;Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/_lib.sh:872 · Privileged sudo command — agent may execute with elevated privileges# — pip/sudo installs frequently place the skill under a root-ownedFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/mb-deps-check.sh:87 · Privileged sudo command — agent may execute with elevated privilegesdebian:python3) echo "sudo apt install python3" ;;Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedscripts/mb-codegraph.py:152 · Python subprocess execution detectedcheck = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Process kill commandscripts/mb-agree.sh:131 · Process kill command — agent can terminate processesif ! kill -0 "$pid" 2>/dev/null; thenFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandscripts/_lib.sh:110 · Process kill command — agent can terminate processesif kill -0 "$pid" 2>/dev/null; thenFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedscripts/mb_contract.py:102 · Python subprocess execution detectedproc = subprocess.Popen(["bash", "-c", cmd], cwd=cwd, stdout=subprocess.PIPE, stderr=subprocess.PIPE,Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Process kill commandscripts/_lib.sh:113 · Process kill command — agent can terminate processes# kill -0 failed: ESRCH (really gone) or EPERM (alive, just not ours).Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandscripts/mb-agree.sh:91 · Process kill command — agent can terminate processes# (`kill -0 "$pid"` fails). We additionally re-read the owner tokenFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandscripts/mb-deps-check.sh:91 · Privileged sudo command — agent may execute with elevated privilegesdebian:rg) echo "sudo apt install ripgrep" ;;Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandscripts/mb-lock.sh:94 · Process kill command — agent can terminate processes[ -n "$WAITER" ] && kill -TERM "$WAITER" 2>/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandscripts/_lib.sh:1019 · Process kill command — agent can terminate processes# Reclaim is keyed on OWNER LIVENESS (`kill -0`), NEVER on mtime/TTL, and NEVERFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedscripts/mb-codegraph.py:128 · Python subprocess execution detectedtoplevel = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Process kill commandscripts/mb-lock.sh:161 · Process kill command — agent can terminate processeskill -TERM -- "-$CHILD" 2>/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
npx invocation of non-well-known packagebin/memory-bank.js:3 · npx invocation of non-well-known package — may execute untrusted code// install.sh symlinks the skill to the directory it runs from, and the npx cacheFix: Pin versions and sources; vendor anything fetched at install time.
AST06
HIGH
Privileged sudo commandscripts/mb-deps-check.sh:90 · Privileged sudo command — agent may execute with elevated privilegesdebian:git) echo "sudo apt install git" ;;Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Destructive file system command detectedscripts/mb-fanout.sh:24 · Destructive file system command detected# `; rm -rf /` cannot break out, because the shell only ever sees it as the VALUEFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
npx invocation of non-well-known packagescripts/_lib.sh:855 · npx invocation of non-well-known package — may execute untrusted codeprintf '%s\n' "npx skill-memory-bank@latest install"Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
Python subprocess execution detectedscripts/mb-work-plan.sh:286 · Python subprocess execution detectedresult = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Privileged sudo commandscripts/mb-deps-check.sh:89 · Privileged sudo command — agent may execute with elevated privilegesdebian:jq) echo "sudo apt install jq" ;;Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedscripts/mb-codegraph.py:366 · Python subprocess execution detectedresult = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
File type combined with upload actionscripts/mb-codegraph.py:51 · File type combined with upload action — agent may exfiltrate local data filestwo builds of the same inputs produce byte-identical ``graph.json`` outputFix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
File type combined with upload actionscripts/mb-codegraph.py:461 · File type combined with upload action — agent may exfiltrate local data fileswrite time (privacy: ``graph.json`` is committable). Base output without theFix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
Process kill commandscripts/_lib.sh:92 · Process kill command — agent can terminate processes# `kill -0` alone is not a liveness test, it is a "can I signal it" test. For aFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandscripts/mb-lock.sh:105 · Process kill command — agent can terminate processeskill -TERM -- "-$CHILD" 2>/dev/null || kill -TERM "$CHILD" 2>/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandscripts/mb_fs_atomic.py:115 · Process kill command — agent can terminate processeskill mid-write leaves the file empty or half-written. The temp file isFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandscripts/mb-lock.sh:95 · Process kill command — agent can terminate processes[ -n "$WATCHER" ] && kill "$WATCHER" 2>/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File type combined with upload actionscripts/mb-review.sh:337 · File type combined with upload action — agent may exfiltrate local data files# Note: cases/<id>/files-touched.txt (design.md §6) is NOT read here. --inputFix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
npx invocation of non-well-known packagescripts/mb-upgrade.sh:127 · npx invocation of non-well-known package — may execute untrusted codeecho " npm: npx skill-memory-bank@latest install" >&2Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
LOW
Instructs the agent to modify its persistent memory or instruction filesscripts/mb-agree.sh:725 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction file# and/or AGENTS.md, whichever already exist — mirrors REQ-006's "write onlyFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
LOW
Instructs the agent to modify its persistent memory or instruction filesREADME.md:449 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction file| `/rules` | Key rules block at the top of CLAUDE.md / AGENTS.md — list / enable / disable / add / remove / init (onboarding) / sync, `--scope=user\|project` |Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01

Cost to the agent

Instructions loaded
≈5,837 tok
1 file · 80 in bundle

Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.

Known vulnerabilities

No advisories in OSV for skill-memory-bank@5.4.2 as of 31 min ago. This is the package itself, not its dependencies.

What would make this Verified

8 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Unclaimed publisher≈ +8 on the totalClaim fockus: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  2. Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  3. Destructive file system command detected≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  4. New publisher≈ +3 on the totalTime clears this on its own after 14 and 30 days. Claiming the handle (+50) is the fastest way past it.
  5. Python subprocess execution detected≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
  6. Process kill command≈ +2 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
Publish a new version to npm, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim fockusPropose a patch to the maintainer