{"score":80,"grade":"B","scannedAt":"2026-12-05T23:02:26.670Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"@flotic/minitok","version":"1.5.4","license":"SEE LICENSE IN LICENSE","repository":"https://github.com/floticinfo/minitok","firstPublished":"2026-08-26T07:01:09.036Z","lastPublished":"2026-10-24T17:12:31.133Z","versions":34,"maintainers":1,"files":190,"bytes":1672547,"hosts":["api.anthropic.com","api.minitok.dev","api.openai.com","console.anthropic.com","generativelanguage.googleapis.com","minitok.dev","oauth2.googleapis.com","openrouter.ai","www.googleapis.com"]},"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/postinstall-mcp.mjs"},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"src/cli/gui-commands.js","line":5,"snippet":"…LOCKED = new Set([\".env\", \".env.local\", \".env.production\", \"id_rsa\", \"id_ed25519\", \"credentials.json\"]);"},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"src/pipeline/implementer.js","line":53,"snippet":"/^\\.npmrc$/i,"},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"src/pipeline/implementer.js","line":57,"snippet":"/^\\.git-credentials$/i,"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/cli/commands/account.js","line":20,"snippet":"fs.writeFileSync(temp, JSON.stringify({ ...normalized, saved_at: new Date().toISOString() }), { mode: 0o600, flag: \"wx\" });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/cli/commands/account.js","line":22,"snippet":"fs.renameSync(temp, filePath);"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"src/cli/commands/account.js","line":47,"snippet":"…on removeAccountSession(filePath = ACCOUNT_FILE) { try { fs.unlinkSync(filePath); } catch {} }"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/cli/commands/account.js","line":49,"snippet":"const { spawn } = require(\"node:child_process\");"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/cli/commands/activate.js","line":29,"snippet":"…ey && envName && /^[A-Z_][A-Z0-9_]*$/i.test(envName)) key = process.env[envName];"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/cli/commands/agent.js","line":10,"snippet":"const mode = resolveMode(options.mode ?? process.env.MINITOK_MODE ?? \"on\");"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"src/cli/commands/agent.js","line":15,"snippet":"const tokenFile = options.tokenFile || process.env.MINITOK_MCP_AUTH_TOKEN_FILE || runtimeTokenPath();"},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/goal/application.js","line":69,"snippet":"const req = http.request({ protocol: target.protocol, hostname: target.hostname, port: target.port || 80, path: `${target.pathname}${target.search}`, method"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/pipeline/check.js","line":5,"snippet":"const { execFileSync, execFile } = require(\"child_process\");"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"src/pipeline/check.js","line":23,"snippet":"const result = execFileSync(\"bash\", [\"-c\", \"printf '%s|%s' \\\"$MSYSTEM\\\" \\\"$(uname -s)\\\"\"], { encoding: \"utf8\", stdio: [\"ignore\", \"pipe\", \"ignore\"], timeout:"},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/core/http.js","line":86,"snippet":"const { ProxyAgent } = require(\"undici\");"},{"rule":"network","severity":"info","title":"Makes network requests","file":"src/core/http.js","line":111,"snippet":"response = await fetch(urlString, { ...options, ...(dispatcher ? { dispatcher } : {}), signal: controller.signal });"}],"vulns":[],"installScripts":["postinstall"],"server":{"name":"dev.minitok/minitok","title":"minitok","description":"Verified coding workflows with planning, verification, bounded retries, evidence, and evolution.","websiteUrl":"https://minitok.dev/docs","repository":"https://github.com/floticinfo/minitok","version":"1.5.4"}}