Skills/npm/kuuhaku

kuuhaku@0.2.10

CAUTION· startup only

Publisher 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.

Registry npm (MCP server) · listed in the official MCP RegistryPublisher kuuhaku · publishing for 44 daysInstalls 0Last detonated 4d ago

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.

$vet-skills run --secrets JEV_API_KEY=kuuhaku.dev,TYPESAFE_API_KEY=kuuhaku.dev -- npx -y kuuhaku

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 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
1.5sprocessdependency install exit 0
21sprocessrelaunched with a decoy KUUHAKU_TOKEN (tagged; nothing real)
42sclaimedstartup only: exited before answering, asking for KUUHAKU_TOKEN (a decoy value was refused)
42sprocessscript backend runs setup only
42sprocessno install scripts to re-run

Static findings

HIGH
Destructive file system command detectedlib/wiring.js:85 · Destructive file system command detected// 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.
AST05
HIGH
Access to sensitive file pathslib/urls.js:8 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files…^"']*)["'])?\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.
AST05
HIGH
Access to sensitive file pathslib/calls.js:233 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesconst 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.
AST05
HIGH
Access to sensitive file pathslib/calls.js:605 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesconst 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.
AST05
MEDIUM
npx invocation of non-well-known packagebin/kuuhaku.js:206 · npx invocation of non-well-known package — may execute untrusted codeclaude 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.
AST06
HIGH
Access to sensitive file pathslib/wiring.js:54 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesconst 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.
AST05
HIGH
URL with embedded credentialslib/wiring.js:30 · URL with embedded credentials — may be phishing or credential leaking// 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.
AST07
HIGH
Access to sensitive file pathslib/suggest.js:10 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// 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.
AST05
HIGH
Access to sensitive file pathsscan.js:33 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// 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.
AST05
HIGH
Access to sensitive file pathsscan.js:34 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesfor (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.
AST05
HIGH
Hidden zero-width characters detectedlib/adapters.js:124 · Hidden zero-width characters detected — may conceal content… 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.
AST07
HIGH
Access to sensitive file pathslib/check.js:14 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files…=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.
AST05
HIGH
Access to sensitive file pathslib/wiring.js:79 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesif (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.
AST05
HIGH
Access to sensitive file pathslib/wiring.js:26 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// 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.
AST05
HIGH
Hidden zero-width characters detectedlib/repo_meta.js:526 · Hidden zero-width characters detected — may conceal contentconst 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.
AST07
HIGH
Access to sensitive file pathsscan.js:129 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesconst 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.
AST05
HIGH
Access to sensitive file pathslib/check.js:34 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// 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.
AST05
HIGH
Access to sensitive file pathslib/repo_meta.js:461 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files…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.
AST05
HIGH
Access to sensitive file pathslib/merge.js:299 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// 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.
AST05
HIGH
Access to sensitive file pathslib/java.js:290 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// 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.
AST05
HIGH
Access to sensitive file pathslib/merge.js:324 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesconst 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.
AST05
HIGH
Access to sensitive file pathslib/wiring.js:138 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// 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.
AST05
HIGH
Access to sensitive file pathslib/urls.js:181 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files…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.
AST05
MEDIUM
File type combined with upload actionbin/kuuhaku.js:187 · File type combined with upload action — agent may exfiltrate local data files${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.
AST07
LOW
Fake instruction boundary tagREADME.md:69 · Fake instruction boundary tag · informational: not an instruction filenode 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.
AST01
LOW
Instructs the agent to modify its persistent memory or instruction filesbin/kuuhaku.js:190 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction file${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.
AST01
LOW
Instructs the agent to modify its persistent memory or instruction filesbin/kuuhaku.js:436 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction fileconst 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.
AST01
LOW
Instructs the agent to modify its persistent memory or instruction filesbin/kuuhaku.js:207 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction file${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.
AST01

Cost to the agent

Instructions loaded
≈65 tok
1 file · 40 in bundle
Tool list per prompt
≈0 tok
0 tools · 0 per tool
Handshake
no reply
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 0

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%
  1. 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.
  2. Destructive file system command detected≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  3. 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.
  4. 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.
  5. Hidden zero-width characters detected≈ +4 on the totalKeep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
  6. npx invocation of non-well-known package≈ +2 on the totalPin versions and sources; vendor anything fetched at install time.
Publish a new version to npm, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim kuuhakuPropose a patch to the maintainer