skillhook@0.14.7
CAUTION· install onlyPublisher claims: "Turn this machine into a webhook endpoint that runs Agent Skills with Claude Code or Codex." Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Nothing executable in the bundle ran; the trace covers the install step only.- Tested
- every file read, file written and host contacted by what ran
- Not tested
- use of the skill by an agent
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (1 scenario; nothing executable in the bundle ran; the trace covers the install step only) on 2026-11-21 and scored it 69/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: Access to sensitive file paths; 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 · 0 s · 1 scenarios · 0 deviationsStatic findings
const out = { ...env };Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* login kept with the same key; else both from `.env`, where login keeps them. A key without a cloud of its own (kept byFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* Keeps a key in `.env` (mode 600) with the cloud it was checked against, as `skillhook cloud login` does (and theFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose./** What Claude Code reads as settings; its login (`.credentials.json`, the keychain), `.claude.json` and sessions stay the account's own. */Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// settings), or a long-lived token / API key kept in `.env`. A skill picks one or a pool with `account:`; the queueFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const CODEX_PRIVATE = new Set(["auth.json", "models_cache.json", "log", "logs", "memories", "tmp", ".DS_Store", ".credentials.json"]);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…ic: source !== "local", auth: result.skill.auth.type, secret_env: result.secret?.env ?? null, secret: result.secret?.generated ?? null, auth_note: result.authNote }…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose....(authenticated ? {} : { hint: "run `codex login` in a terminal as this user, or put OPENAI_API_KEY in .env" }),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…loud (docs/cloud.md). Written by `skillhook cloud connect`; the token lives in `.env` as SKILLHOOK_CLOUD_TOKEN. Nothing leaves the machine while `enabled` is false.…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.… only fire while it is awake (missed slots follow each hook's catch_up)`, "run: sudo pmset -a sleep 0", { sleep_minutes: sleep }); } } // runners and…Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell....(authenticated ? {} : { hint: claudeConfigDir ? `run \`${hintDir}claude login\` in a terminal as this user` : "run `claude login` in a terminal as this user, or put ANTHROPIC_API_KEY in .env" }),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose./** Secrets from the .env file only. */Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose./** Local declaration of non-sensitive .env configuration; unknown names stay private. */Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* Secrets visible to the server: the `.env` file in the skillhook directory, with the processFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* Secrets visible to the server: the `.env` file in the skillhook directory, with the processFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.check("runners", "claude", "fail", `${version}${claude.auth.detail}`, "run `claude login` in a terminal (subscription) or put ANTHROPIC_API_KEY in .env", data);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.… frontmatter block sets runner, model, auth and filters. Secrets live in <home>/.env and are never returned by tools except right after generation. A repository can…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.check("runners", "codex", "fail", `${version}${codex.auth.detail}`, "run `codex login` in a terminal (ChatGPT) or put OPENAI_API_KEY in .env", data);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.return `${state} in .env. Configure the sender to send ${how}. Show or rotate it with: skillhook secret generate ${skill.name} --force`;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* account is a `claude setup-token` token and an `api_key` account an API key, both kept in `.env`.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const automatic = autoUpdateEnabled(config) && Boolean(install.command) && !install.blocked && !failed;Fix: Pin versions and sources; vendor anything fetched at install time.…ol("set_secret", { title: "Set secret", description: "Stores a secret in <home>/.env (mode 600). `name` is an ENV_VAR_NAME, a skill name (its secret_env) or \"admin…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.envFile: path.join(home, ".env"),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…ecrets", { title: "List secret names", description: "Names of secrets in <home>/.env (values are never returned).", inputSchema: z.object({}) }, wrap(async () => ok…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.import { autoUpdateEnabled, checkForUpdate, detectInstall, lastInstall, registryUrl, releaseNotesUrl, updateChecksDisabled, updateStatusFromCache } from "./update.js";Fix: Pin versions and sources; vendor anything fetched at install time.* account is a `claude setup-token` token and an `api_key` account an API key, both kept in `.env`.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose./** The `.env` name holding the token or key of a `token` / `api_key` account. Default `SKILLHOOK_ACCOUNT_<NAME>_TOKEN` / `_API_KEY`. */Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.env: z.array(z.string()).optional().describe("env var names from .env to expose to the agent"),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose./** Secrets from the .env file only; defaults to `secrets`. */Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…illhook", "cloud link", "fail", `cloud.enabled but ${CLOUD_TOKEN_ENV} is not in .env`, "run: skillhook cloud connect --force (or: skillhook cloud disconnect)", { …Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.auto_update: z.boolean().default(true),Fix: Pin versions and sources; vendor anything fetched at install time.… frontmatter block sets runner, model, auth and filters. Secrets live in <home>/.env and are never returned by tools except right after generation.\nA repository ca…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose./** `"auto_update": false` in skillhook.json keeps the check and the notices but installs nothing by itself. */Fix: Pin versions and sources; vendor anything fetched at install time.export function autoUpdateEnabled(config) {Fix: Pin versions and sources; vendor anything fetched at install time.// The account the queue picked: its directory and only its credential (whatever `.env` or `claude.config_dir` said).Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* `skillhook` command beside it; installed again with `--prefix`), pnpm, bun, yarn or Volta, an npx cache, a project'sFix: Pin versions and sources; vendor anything fetched at install time.…rTool("get_config", { title: "Get config", description: "The effective skillhook.json (defaults applied), which keys the running server applies live (`hot_keys`) and which need a restart (`restart_keys`: host, port), and what is pending a …Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why." # env: [GITHUB_TOKEN] # secrets from .env to expose to the agent",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…{VERSION}; it restarts itself onto ${status.latest} once no job is running when auto_update is on (otherwise: POST /control/restart, or skillhook service restart)` }; const running = await findRu…Fix: Pin versions and sources; vendor anything fetched at install time.const automatic = autoUpdateEnabled(options.config) && Boolean(install.command) && !install.blocked;Fix: Pin versions and sources; vendor anything fetched at install time./** argv that upgrades this install; absent when the user has to do it by hand (source checkout, npx cache, a project's dependency). */Fix: Pin versions and sources; vendor anything fetched at install time./** Secrets from the .env file only (see buildRunEnv). */Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.… the job's task outcome is read. `text` (default): the agent may write `response.json` in the job directory; `file`: it is asked to; `structured`: the runner must answer with JSON matching `schema` (`claude --json-schema` / `codex --output…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…he next and last runs.\nJobs are directories under <home>/jobs/<id> with payload.json, prompt.md, stdout.log, result.md and, when the agent reported one, response.json. A job's `status` says how the process ended; its `outcome` (completed,…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why./** Env var names (from `.env` or the server environment) exposed to the agent. */Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* and its cloud), plus the Sentry settings and kill switch. Never a skill's secret (writing the skill's would overwrite them), never written from the cloud.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.export declare function autoUpdateEnabled(config?: {Fix: Pin versions and sources; vendor anything fetched at install time.export declare function buildMcpServer(paths: Paths, env?: NodeJS.ProcessEnv): McpServer;Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.* and its cloud), plus the Sentry settings and kill switch. Never a skill's secret (writing the skill's would overwrite them), never written from the cloud.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell./** `"auto_update": false` in skillhook.json keeps the check and the notices but installs nothing by itself. */Fix: Pin versions and sources; vendor anything fetched at install time.* `auto_update` on, install a newer version with the package manager that installed this one. The next command runs it;Fix: Pin versions and sources; vendor anything fetched at install time.const CLAUDE_SHARED = ["settings.json", "CLAUDE.md", "agents", "commands", "skills", "output-styles"];Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.check("skillhook", "secrets", mode === 0o600 ? "ok" : "warn", `${paths.envFile} mode ${mode.toString(8)}`, mode === 0o600 ? undefined : `chmod 600 ${paths.envFile}`);Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.* `skillhook` command beside it; installed again with `--prefix`), pnpm, bun, yarn or Volta, an npx cache, a project'sFix: Pin versions and sources; vendor anything fetched at install time.…N} and has ${busy} job(s) in progress; it restarts itself once they finish when auto_update is on (or later: skillhook service restart)` }; const restart = await restartServ…Fix: Pin versions and sources; vendor anything fetched at install time.* is in `.env` (`token`, `api_key`). Probed with the account's environment, so it is exactly what a run would get.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.return { method: "npx", display: `npx ${spec}` };Fix: Pin versions and sources; vendor anything fetched at install time.* Starts `skillhook update --refresh` detached: the registry check and, with `auto_update` on, the install (seeFix: Pin versions and sources; vendor anything fetched at install time.… the account's own (`~/.codex` / `~/.claude`): Codex shares everything but `auth.json` (config, MCP servers, skills, plugins, sessions), Claude Code shares `settings.json`, `CLAUDE.md`, agents, commands, skills and output styles. Its login…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.// This request never restarts the server: with auto_update on, `serve` restarts itself onto the new version onceFix: Pin versions and sources; vendor anything fetched at install time.// `CODEX_HOME` or API key in `.env` applies to the diagnosis exactly as to the runs, and nothing else from `.env` showsFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…erTool("update_config", { title: "Update config", description: "Change skillhook.json: `set` maps dotted keys to values ({\"concurrency\": 3, \"defaults.model\": \"sonnet\"}), `unset` lists dotted keys to remove. One validated write; an in…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.… false, error: `skillhook ${VERSION} runs from ${target.method === "npx" ? "the npx cache" : target.method === "project" ? "a project's node_modules" : "a source checkout…Fix: Pin versions and sources; vendor anything fetched at install time.Cost to the agent
Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.
Known vulnerabilities
No advisories in OSV for @meterapp/skillhook@0.14.7 as of 3d ago. This is the package itself, not its dependencies.
What would make this Verified
11 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Unclaimed publisher≈ +8 on the totalClaim meterapp: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- 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.
- Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- Auto-update or dynamic fetch configuration≈ +4 on the totalPin versions and sources; vendor anything fetched at install time.
- npx invocation of non-well-known package≈ +2 on the totalPin versions and sources; vendor anything fetched at install time.
- File type combined with upload action≈ +2 on the totalRemove the call, or declare the host in frontmatter and explain in the README what is sent and why.