MCP server safety grade
MemoryLayer
Local-first persistent memory for AI agents, with reasoning and formal verification.
npx -y @raajvamsy/memorylayer · npm @raajvamsy/memorylayer 1.7.1 · score 80/100 · scanned 2026-12-05
What it can do
- Not seen: Network access
- Yes: Writes or deletes files
- Yes: Runs programs or shell commands
- Yes: Reads environment variables
- Not seen: Runs code built at runtime
These are normal for many MCP servers. They tell you what the server could do with the access you give it.
Risk signals
- Runs a script automatically when installed (postinstall)
package.jsonnode scripts/postinstall.mjs
- Runs a script automatically when installed (preinstall)
package.jsonnode scripts/preinstall.mjs
Package facts
| Weekly downloads | — |
|---|---|
| First published | 2026-06-22 |
| This version published | 2026-09-20 |
| Versions | 8 |
| Maintainers | 1 |
| Licence | MIT |
| Source repository | github.com/raajvamsy/MemoryLayer |
| Runs scripts on install | preinstall, postinstall |
| Files in package | 35 (7,138 KB) |
| Web addresses in code | api.memorylayer.in memorylayer.in |
Where we saw each capability (9 examples)
- Writes, moves or deletes files
dist/ide/cursor/hooks/before_submit_prompt.js:20if (firstTurn) { try { fs.writeFileSync(flag, "1"); } catch {} } - Writes, moves or deletes files
dist/ide/shared/hooks/common.js:30try { fs.unlinkSync(flagPath(key, name)); } catch {} - Runs shell commands or other programs
dist/ide/shared/hooks/common.js:85const { execSync } = require("child_process"); - Runs shell commands or other programs
dist/ide/shared/hooks/common.js:86return execSync("git rev-parse HEAD 2>/dev/null", { cwd, timeout: 1500 }) - Reads environment variables (where API keys usually live)
dist/ide/claude/hooks/cwd_changed.js:32const envFile = process.env.CLAUDE_ENV_FILE;
- Runs shell commands or other programs
dist/ide/claude/hooks/db_helper.js:14const { execFileSync } = require("child_process"); - Writes, moves or deletes files
dist/premium/loader.js:45…FetchBlob(t,e).then(a=>{try{f.mkdirSync(o,{recursive:!0}),f.writeFileSync(n,a.wire),f.writeFileSync(r,a.sig)}catch{}return a}).finally(()=>this.blobInflight.del - Reads environment variables (where API keys usually live)
dist/premium/loader.js:45…key.fill(0),this.keyCache.delete(t)}moduleVersion(t){return(process.env.npm_package_version??"1").split(".")[0]||"1"}async prefetchKey(t){const e=this.moduleVer - Reads environment variables (where API keys usually live)
dist/ide/claude/hooks/session_start.js:41const envFile = process.env.CLAUDE_ENV_FILE;
Badge
Maintainer? Add it to your README:
[](https://nodekya.com/mcp/in-memorylayer-memorylayer)
The badge updates when we re-grade a new release from the registry.
Automated scan of the published package, not a security audit. A good grade means we found none of the patterns we check for (method). Think we got it wrong? Email hello@primemoverindustries.com and we re-check within 2 days.
Need a package that isn't here checked, or a fresh check of an unreleased version? Check any npm or PyPI package (US$9).
This grade as JSON (free, for agents).