{"score":80,"grade":"B","scannedAt":"2026-12-05T23:02:22.171Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"kuuhaku","version":"0.2.10","license":"FSL-1.1-MIT","firstPublished":"2026-10-11T06:26:24.216Z","lastPublished":"2026-10-22T06:50:23.976Z","versions":12,"maintainers":1,"files":39,"bytes":698803,"hosts":["api.kuuhaku.dev","api.osv.dev","api.resend.com","api.typesafe.ai","kuuhaku.dev","proxy.golang.org","pub.dev","repo1.maven.org"]},"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":"scan.js","line":100,"snippet":"const collectGarbage = vm.runInNewContext(\"gc\");"},{"rule":"network","severity":"info","title":"Makes network requests","file":"lib/calls.js","line":9,"snippet":"const CLIENT_NAME = /^(?:this\\.)?\\$?(axios|[aA]pi\\w*|\\w*[aA]pi|http\\w*|\\w*[hH]ttp\\w*|client|\\w*[cC]lient|instance|request|fetcher|ky|got|agent|service\\w*)$/;"},{"rule":"network","severity":"info","title":"Makes network requests","file":"lib/calls.js","line":14,"snippet":"{ patterns: [\"fetch($URL, $$$REST)\", \"fetch($URL)\"], url: \"$URL\", method: \"GET\", client: \"fetch\", method_key: \"method\" },"},{"rule":"network","severity":"info","title":"Makes network requests","file":"lib/calls.js","line":20,"snippet":"…\", method: \"GET\", client: \"$CLIENT\", client_filter: /^(http|axios|\\.ajax|jQuery\\.ajax)$/ },"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"lib/check.js","line":7,"snippet":"const { execFileSync, spawn } = require(\"child_process\");"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"lib/check.js","line":14,"snippet":"const git = (cwd, args, env = {}) => execFileSync(\"git\", [\"--no-optional-locks\", \"-c\", \"core.longpaths=true\", \"-c\", \"core.quotePath=false\", ...args], { cwd, env"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"lib/check.js","line":14,"snippet":"…\", \"-c\", \"core.quotePath=false\", ...args], { cwd, env: { ...process.env, ...env }, encoding: \"utf8\", stdio: [\"ignore\", \"pipe\", \"ignore\"], maxBuffer: 256 * 1024"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"lib/check.js","line":40,"snippet":"fs.rmSync(env.GIT_INDEX_FILE, { force: true });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"lib/check.js","line":72,"snippet":"fs.writeFileSync(file, JSON.stringify(config));"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"lib/check.js","line":75,"snippet":"…dirname, \"..\", \"scan.js\"), file, \"--out\", out], { env: { ...process.env, TYPESAFE_API_KEY: \"\", JEV_API_KEY: \"\", JEV_API_URL: \"\", [`${PREFIX}_CACHE_DIR`]: out },"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"lib/check.js","line":170,"snippet":"if (!keep) fs.rmSync(work, { recursive: true, force: true });"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"lib/cli_home.js","line":11,"snippet":"const env = (name) => process.env[`${PREFIX}_${name}`];"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"bin/kuuhaku.js","line":8,"snippet":"const { execFileSync, spawn } = require(\"child_process\");"}],"vulns":[],"installScripts":[],"server":{"name":"dev.kuuhaku/kuuhaku","title":"Kuuhaku","description":"Ask who calls a route, what a change breaks or who reads a field, across a system's repos.","websiteUrl":"https://kuuhaku.dev","version":"0.2.10"}}