{"score":80,"grade":"B","scannedAt":"2026-12-05T23:01:10.450Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@psraghuveer/memento","version":"0.9.2","license":"Apache-2.0","repository":"https://github.com/veerps57/memento","firstPublished":"2026-04-27T18:10:28.762Z","lastPublished":"2026-05-17T11:47:17.169Z","versions":29,"maintainers":1,"files":24,"bytes":763211,"hosts":["opencode.ai","runmemento.com"]},"capabilities":{"network":false,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"install-script","severity":"medium","title":"Runs a script automatically when installed (postinstall)","file":"package.json","snippet":"node ./scripts/postinstall.mjs"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"dist/chunk-6YPHBXW4.js","line":14,"snippet":"import { spawn } from 'node:child_process';"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/chunk-6YPHBXW4.js","line":566,"snippet":"…= null ? configuredCacheDir : resolveDefaultCacheDir({ env: process.env });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/chunk-6YPHBXW4.js","line":705,"snippet":"unlinkSync(absDest);"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/chunk-6YPHBXW4.js","line":707,"snippet":"renameSync(absTemp, absDest);"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/chunk-6YPHBXW4.js","line":1825,"snippet":"await writeFile(filePath, next2, { encoding: \"utf8\", mode: 384 });"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/chunk-6YPHBXW4.js","line":2811,"snippet":"env: { ...process.env, MEMENTO_DB: input.env.dbPath, MEMENTO_INIT_DONE: \"1\" },"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/chunk-6YPHBXW4.js","line":3129,"snippet":"const home = process.env[\"HOME\"] ?? \"~\";"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"scripts/postinstall.mjs","line":46,"snippet":"import { spawn } from 'node:child_process';"}],"vulns":[],"installScripts":["postinstall"],"server":{"name":"com.runmemento/memento","description":"Local-first, LLM-agnostic memory layer for AI assistants.","websiteUrl":"https://runmemento.com","repository":"https://github.com/veerps57/memento.git","version":"0.9.2"}}