{"score":80,"grade":"B","scannedAt":"2026-12-05T22:53:16.095Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@dinglebear/cortex","version":"3.13.2","license":"AGPL-3.0-only","repository":"https://github.com/dinglebear-ai/cortex","firstPublished":"2026-08-02T05:33:18.530Z","lastPublished":"2026-08-10T01:44:24.468Z","versions":13,"maintainers":1,"weeklyDownloads":121,"files":8,"bytes":101022,"hosts":["dinglebear.ai"]},"capabilities":{"network":true,"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/install.js"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"scripts/check-package.js","line":8,"snippet":"const { spawnSync } = require(\"node:child_process\");"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"scripts/check-package.js","line":63,"snippet":"const result = spawnSync(command, args, {"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"scripts/check-package.js","line":65,"snippet":"env: options.env || process.env,"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"scripts/check-package.js","line":283,"snippet":"fs.writeFileSync("},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"scripts/check-package.js","line":295,"snippet":"const env = { ...process.env };"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"scripts/check-package.js","line":311,"snippet":"const result = spawnSync(process.execPath, [binPath, \"--package-smoke\"], {"},{"rule":"network","severity":"info","title":"Makes network requests","file":"scripts/check-package.js","line":351,"snippet":"const request = https.request(url, { method: \"HEAD\" }, (response) => {"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"scripts/check-package.js","line":466,"snippet":"fs.rmSync(tempDir, { recursive: true, force: true });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"scripts/install.js","line":56,"snippet":"function extract(archive,destination,target) { fs.rmSync(destination,{recursive:true,force:true}); fs.mkdirSync(destination,{recursive:true}); if(target.archive"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"scripts/install.js","line":57,"snippet":"async function main() { if(process.env.CORTEX_RMCP_SKIP_DOWNLOAD===\"1\") { log(\"skipping binary download because CORTEX_RMCP_SKIP_DOWNLOAD=1\"); return; } const t"}],"vulns":[],"installScripts":["postinstall"],"server":{"name":"ai.dinglebear/cortex","title":"Cortex RMCP","description":"Self-hosted homelab log intelligence over MCP, CLI, and REST with SQLite/FTS.","websiteUrl":"https://github.com/dinglebear-ai/cortex","repository":"https://github.com/dinglebear-ai/cortex","version":"3.13.2"}}