{"score":90,"grade":"A","scannedAt":"2026-12-05T23:05:02.620Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"smart-context-mcp","version":"1.21.0","license":"MIT","repository":"https://github.com/Arrayo/smart-context-mcp","firstPublished":"2026-03-27T07:21:59.750Z","lastPublished":"2026-09-18T08:45:17.067Z","versions":42,"maintainers":1,"files":110,"bytes":937316,"hosts":[]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":true},"findings":[{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"src/review/heuristics.js","line":18,"snippet":"…nd: 'eval', severity: 'high', re: EVAL_RE, message: 'use of eval()' },"},{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"src/tools/smart-shell.js","line":27,"snippet":"/(^|\\s)eval(\\s|$)/i,"},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"src/client-contract.js","line":19,"snippet":"…ssue !== \"ok\", pause persisted context writes and remediate local state before continuing.',"},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"src/repo-safety.js","line":104,"snippet":"…devctx/ to the project .gitignore before relying on project-local state.');"},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"src/server.js","line":536,"snippet":"…locked, read-only, missing, oversized, locked, or corrupted local state. Tracks: goal, status, pinned context, unresolved questions, current focus, blockers, ne"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/cache-warming.js","line":14,"snippet":"const isCacheWarmingEnabled = () => process.env.DEVCTX_CACHE_WARMING !== 'false';"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/cache-warming.js","line":15,"snippet":"const WARM_TOP_N_FILES = parseInt(process.env.DEVCTX_WARM_FILES || '50', 10);"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"scripts/claude-hook.js","line":29,"snippet":"if (process.env.DEVCTX_DEBUG === '1') {"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/diff-analysis.js","line":7,"snippet":"import { execFile as execFileCallback } from 'node:child_process';"},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/explain/explainer.js","line":12,"snippet":"{ kind: 'network', re: /\\b(fetch|axios|http\\.request|https\\.request|XMLHttpRequest|WebSocket)\\b/ },"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/explain/explainer.js","line":13,"snippet":"{ kind: 'process', re: /\\b(process\\.(env|exit|kill|chdir)|child_process|execSync|spawnSync|execFile|spawn)\\b/ },"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/utils/fs.js","line":51,"snippet":"fs.writeFileSync(fullPath, content, 'utf8');"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/git-blame.js","line":7,"snippet":"import { execFile as execFileCallback } from 'node:child_process';"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/index-manager.js","line":34,"snippet":"fs.writeFileSync(metaPath, JSON.stringify(meta, null, 2), 'utf8');"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/index.js","line":1235,"snippet":"await fsp.writeFile(indexPath, JSON.stringify(index), 'utf8');"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.Arrayo/smart-context-mcp","description":"Reduces AI agent token usage by 90% via context compression and task checkpoint persistence.","repository":"https://github.com/Arrayo/smart-context-mcp","version":"1.21.0"}}