{"score":100,"grade":"A","scannedAt":"2026-12-05T23:05:30.138Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"dear-agent","version":"0.2.3","license":"MIT","repository":"https://github.com/BitmapAsset/dear-agent","firstPublished":"2026-06-30T09:23:56.200Z","lastPublished":"2026-06-30T09:50:10.958Z","versions":5,"maintainers":1,"files":5,"bytes":35222,"hosts":[]},"capabilities":{"network":false,"files":true,"shell":false,"env":true,"dynamicCode":false},"findings":[{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/index.js","line":17,"snippet":"const BASE_DIR = process.env.DEAR_AGENT_DIR && process.env.DEAR_AGENT_DIR.trim().length > 0"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"dist/index.js","line":18,"snippet":"? path.resolve(process.env.DEAR_AGENT_DIR)"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/index.js","line":73,"snippet":"await fs.writeFile(file, `# ${dateISO} (${weekdayOf(dateISO)})\\n\\n` + block.trimEnd() + \"\\n\", \"utf8\");"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/index.js","line":77,"snippet":"await fs.appendFile(file, sep + block.trimEnd() + \"\\n\", \"utf8\");"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"dist/index.js","line":117,"snippet":"await fs.writeFile(path.join(mediaDir(d), safe), bytes);"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.BitmapAsset/dear-agent","description":"Your AI agent keeps your diary for you. Local-first, private, works in any agent.","repository":"https://github.com/BitmapAsset/dear-agent","version":"0.2.3"}}