kuuhaku@0.2.10
CAUTION· startup onlyPublisher claims: "Ask who calls a route, what a change breaks or who reads a field, across a system's repos." Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Startup only; authenticated tool behavior not tested.- Tested
- server startup over stdio (initialize sent) · every file read, file written and host contacted by what ran
- Not tested
- the tool list (the server exited before answering) · what the tools do when called with real credentials
- Needs
- KUUHAKU_TOKEN — give it to the server where it runs, through vet-skills run --secrets, so the value never enters the server's environment. Never paste a credential into a chat, a ticket or a report.
What this means for the label: Caution here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.
Before you give it your token
- It will ask for
JEV_API_KEYTYPESAFE_API_KEYConfiguration, not credentials: API_CONNECTOR_URL, API_URL, APP_URL, CATALOGUE_HOST, EXPO_PUBLIC_FRONTEND_PROXY_PORT, GIT_INDEX_FILE, GITHUB_ACTIONS, GITHUB_REPOSITORY, HOST_PORT, JEV_API_URL, JEV_MAX_ITEMS, NEXT_PUBLIC_API_URL, USER_HOST, VITE_API- Where it talks to
- kuuhaku.dev (its own)Also osv.dev, pub.dev, maven.org, golang.org, typesafe.ai, resend.com — not the publisher's domain; check what for before connecting.
- What we saw when it ran
- no credential files read · no network
- What we could not test
- the tool list (the server exited before answering) · what the tools do when called with real credentials
Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names osv.dev, pub.dev, maven.org, golang.org, typesafe.ai, resend.com as well as its own vendor. The guard injects JEV_API_KEY, TYPESAFE_API_KEY only into requests to kuuhaku.dev (and its subdomains) and refuses the rest.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; startup only; authenticated tool behavior not tested) on 2026-11-21 and scored it 71/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Destructive file system command detected; Access to sensitive file paths; Access to sensitive file paths. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 42 s · 2 scenarios · 0 deviationsStatic findings
// A Dockerfile or Caddyfile comments with `#` like a config file; `rm -rf /var/cache/*` in one is no comment.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.…^"']*)["'])?\s*\)|os\.environ\[\s*["']([A-Za-z_][A-Za-z0-9_]*)["']\s*\]|process\.env(?:\.([A-Za-z_][A-Za-z0-9_]*)|\[\s*["'`]([A-Za-z_][A-Za-z0-9_]*)["'`]\s*\])/; /…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const match = /^(?:process\.env|import\.meta\.env)(?:\.([A-Za-z_]\w*)|\[["']([A-Za-z_]\w*)["']\])$/.exec(target.text());Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const env = value && /^process\.env\.([A-Z0-9_]+)$/.exec(value.text());Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.claude mcp add ${COMMAND} -- npx ${COMMAND} mcp ${dim("# Claude Code; Cursor runs the same command")}Fix: Pin versions and sources; vendor anything fetched at install time.const ADDRESS_LINE = /host|url|uri|addr|endpoint|getenv|environ|process\.env|getInstances|choose\(|serviceId|service-id|lb:|FeignClient|discovery|baseurl|base_url/i;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// Credentials and the query never leave a URL in what the scan writes: `https://admin:pw@reports/?token=x` → `https://reports/`.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// that is not a URL is taken as the key too, since that is an easy slip in a .env file.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// The scanner's own .env (API keys) is read into the environment; existing variables win.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.for (const [key, value] of Object.entries(readEnv(__dirname, [".env"]))) process.env[key] ??= value;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.… try { walk(JSON.parse(fs.readFileSync(path.join(dir, name), "utf8").replace(/^ /, "").replace(/\/\*[\s\S]*?\*\/|^\s*\/\/.*$/gm, "").replace(/,(\s*[}\]])/g, "$1…Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.…=true", "-c", "core.quotePath=false", ...args], { cwd, env: { ...process.env, ...env }, encoding: "utf8", stdio: ["ignore", "pipe", "ignore"], maxBuffer: 256 * 1024…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.if (entry.isFile() && (exts.has(path.extname(entry.name).toLowerCase()) || /^(Dockerfile|nginx\.conf|Caddyfile|\.env.*)$/.test(entry.name))) yield full;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// Brackets around a value read from a .env file while a URL is worked out (see contextOf).Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const settings = (() => { try { return JSON.parse(fs.readFileSync(file, "utf8").replace(/^/, "").replace(/\/\*[\s\S]*?\*\/|^\s*\/\/.*$/gm, "")); } catch { return null; } })();Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.const env = exists ? readEnv(repoPath, decl.env_files || [".env", ".env.example", "env-example.env", ".env-prod"]) : {};Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// The commit's files, written by git through an index of its own. Files git ignores (a local .env) are copied from theFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…s the code reads, and how many files read each one. const ENV_READS = [/process\.env(?:\.([A-Z0-9_]+)|\[["']([A-Z0-9_]+)["']\])/g, /System\.getenv\(\s*"([A-Z0-9_]+)…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// its base URL names (the value the scanner kept, from code or .env), else the one repo on the other side whose routesFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// Datasources the properties name, as env-style keys so repo_meta.databases reads them like an .env.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const source = client.baseUrl.kind !== "env" ? "literal in code" : client.baseUrl.value === client.baseUrl.fallback ? "code fallback" : `${client.baseUrl.name} in .env`;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// A value compose could not interpolate (`${DB_HOST}` with no .env beside it) says nothing; the repo's own .env does.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…test(match[0].slice(head.length)); if (rhs && /["'`]|getenv|environ|process\.env|GetEnvironmentVariable|env::var|\w\s*\(|getInstances/.test(rhs)) add(match[1].r…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.${COMMAND} push [graph.json] upload a graph written earlier ${dim("(default: the last scan)")}Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.node export_front.js bench/out/<system>/graph.json --to ../codemap_web/public/explore # a public gallery exampleFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.${COMMAND} agents write an AGENTS.md per repo: its routes, callers, queues and what breaksFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.const target = has("--write") ? (repo.path && fs.existsSync(repo.path) ? path.join(repo.path, "AGENTS.md") : null) : path.join(out, repo.id.replace(/[^\w.-]/g, "_"), "AGENTS.md");Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.${COMMAND} agents --write ${dim("# an AGENTS.md in every repo, for the assistants working there")}Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.Cost to the agent
Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.
Known vulnerabilities
No advisories in OSV for kuuhaku@0.2.10 as of 4d ago. This is the package itself, not its dependencies.
What would make this Verified
9 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Unclaimed publisher≈ +8 on the totalClaim kuuhaku: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Destructive file system command detected≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- URL with embedded credentials≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Hidden zero-width characters detected≈ +4 on the totalKeep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
- npx invocation of non-well-known package≈ +2 on the totalPin versions and sources; vendor anything fetched at install time.