{"score":100,"grade":"A","scannedAt":"2026-12-05T23:10:32.429Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"imali-commander","version":"1.2.2","license":"SEE LICENSE IN LICENSE","repository":"https://github.com/IMALI-DEFI/imali-commander","firstPublished":"2026-11-24T14:53:30.406Z","lastPublished":"2026-11-24T14:55:38.353Z","versions":2,"maintainers":1,"files":19,"bytes":63804,"hosts":["api.imali-defi.com","www.apple.com"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/audit.js","line":24,"snippet":"…   if (fs.statSync(file).size + line.length > MAX_BYTES) fs.renameSync(file, `${file}.1`);"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/config.js","line":8,"snippet":"export function configDir(env = process.env) {"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/config.js","line":12,"snippet":"export function configFile(env = process.env) {"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/config.js","line":16,"snippet":"export function readConfig(env = process.env) {"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/config.js","line":30,"snippet":"fs.writeFileSync(tmp, JSON.stringify(config, null, 2) + '\\n', { mode: 0o600 });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/config.js","line":31,"snippet":"fs.renameSync(tmp, file);"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"bin/imali-commander.js","line":7,"snippet":"import { execFileSync } from 'node:child_process';"},{"rule":"network","severity":"info","title":"Makes network requests","file":"bin/imali-commander.js","line":105,"snippet":"const res = await fetch(`http://${settings.host === '0.0.0.0' ? '127.0.0.1' : settings.host}:${settings.port}/health`, { signal: AbortSignal.timeout(1500) }"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"bin/imali-commander.js","line":158,"snippet":"try { execFileSync('git', ['--version'], { stdio: 'ignore' }); gitOk = true; } catch {}"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"bin/imali-commander.js","line":223,"snippet":"try { execFileSync(cmd, args, { stdio: quiet ? 'ignore' : 'inherit' }); return true; } catch { return false; }"},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/license.js","line":34,"snippet":"const res = await fetch(`${licenseApi(env)}${path}`, {"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.IMALI-DEFI/imali-commander","description":"Safe, scoped folder access for AI assistants: one folder, no shell, audit log, read-only mode.","repository":"https://github.com/IMALI-DEFI/imali-commander","version":"1.2.2"}}