registry  /  terminalhire  /  0.15.0

terminalhire@0.15.0

Local-first job matching for developers — ambient job matches in the Claude Code spinner. Matching runs on your machine; your profile never leaves it.

AI Security Review

scanned 2d ago · by lpm-firewall-ai

No confirmed malicious attack surface. The package has consent-gated Claude Code UI integration and job-matching network behavior aligned with its stated purpose.

Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
npm install prints notice; user commands such as terminalhire init/login/jobs/refresh activate features
Impact
User-approved modification of Claude settings and local terminalhire state; no unconsented exfiltration or lifecycle control-surface mutation found
Mechanism
consent-gated local configuration, local profile/cache storage, and package-aligned API fetches
Rationale
Static inspection found risky primitives, but they are user-invoked or consent-gated and aligned with a terminal job-matching/Claude Code integration. The install-time hook only prints a notice and does not write files, execute hidden payloads, or make network calls.
Evidence
package.jsonpostinstall.jsinstall.jsstatusline-install.jsdist/bin/jpi-dispatch.jsdist/bin/jpi-init.jsdist/bin/jpi-statusline-launch.jsdist/bin/spinner.jsdist/bin/jpi-refresh.js~/.claude/settings.json~/.terminalhire/config.json~/.terminalhire/index-cache.json~/.terminalhire/github-token.enc~/.terminalhire/key~/.terminalhire/profile.enc~/.terminalhire/web-session~/.terminalhire/statusline-launch.js~/.terminalhire/statusline-foreign.json
Network endpoints12
terminalhire.comwww.terminalhire.comapi.github.comgithub.com/login/device/codegithub.com/login/oauth/access_tokenboards-api.greenhouse.ioapi.ashbyhq.comapi.lever.cohimalayas.appweworkremotely.comhn.algolia.comapi.opire.dev

Decision evidence

public snapshot
AI called this Clean at 86.0% confidence as Benign with medium false-positive risk.
Evidence for block
  • package.json has postinstall lifecycle hook
  • install.js/statusline-install.js can modify ~/.claude/settings.json after typed consent
  • dist/bin/jpi-statusline-launch.js can spawn a preserved foreign statusLine command
  • CLI reads/writes local ~/.terminalhire profile, token, cache, and config files
Evidence against
  • postinstall.js is print-only, skips CI/non-TTY, no writes or network
  • install.js requires typed yes before spinner settings writes and backs up settings
  • statusline-install.js requires typed yes before statusLine writes and preserves existing statusLine
  • dist/bin/jpi-dispatch.js routes user-invoked subcommands; no hidden import-time payload observed
  • Network calls are package-aligned job/GitHub/terminalhire APIs and mostly user-command or refresh driven
  • GitHub/web session tokens are stored locally/encrypted or used for intended authenticated API calls
Behavioral surface
Source
ChildProcessCryptoDynamicRequireEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsObfuscatedUrlStrings
ManifestNo manifest risk signals triggered.
scanned 42 file(s), 3.18 MB of source, external domains: 127.0.0.1, api.ashbyhq.com, api.github.com, api.lever.co, api.opire.dev, apply.workable.com, boards-api.greenhouse.io, github.com, himalayas.app, hn.algolia.com, jobs.ashbyhq.com, jobs.lever.co, news.ycombinator.com, terminalhire.com, weworkremotely.com, www.terminalhire.com

Source & flagged code

9 flagged · loading source
package.jsonView file
scripts.postinstall = node ./postinstall.js
High
Install Time Lifecycle Scripts

Package defines install-time lifecycle scripts.

package.jsonView on unpkg
scripts.postinstall = node ./postinstall.js
Medium
Ambiguous Install Lifecycle Script

Install-time lifecycle script is not statically allowlisted and needs review.

package.jsonView on unpkg
dist/bin/jpi-init.jsView file
7import { createInterface } from "readline"; L8: import { spawnSync } from "child_process"; L9: var __dirname = fileURLToPath(new URL(".", import.meta.url));
High
Child Process

Package source references child process execution.

dist/bin/jpi-init.jsView on unpkg · L7
91try { L92: const { maybePromptPeerConnect } = await import(pathToFileURL(resolveScript("peer-connect-prompt")).href); L93: let login;
Medium
Dynamic Require

Package source references dynamic require/import behavior.

dist/bin/jpi-init.jsView on unpkg · L91
dist/bin/jpi-statusline-launch.jsView file
49if (!cmd) return ""; L50: const r = spawnSync(cmd, { shell: true, input, timeout: 4e3 }); L51: return firstLine(r.stdout);
High
Shell

Package source references shell execution.

dist/bin/jpi-statusline-launch.jsView on unpkg · L49
dist/bin/jpi.jsView file
5import { isatty } from "tty"; L6: import net from "net"; L7: import { join } from "path"; ... L9: import { fileURLToPath } from "url"; L10: import { spawn } from "child_process"; L11: var TERMINALHIRE_DIR = process.env.TERMINALHIRE_DIR || join(homedir(), ".terminalhire"); L12: var INDEX_CACHE_FILE = join(TERMINALHIRE_DIR, "index-cache.json");
High
Same File Env Network Execution

A single source file combines environment access, network access, and code or shell execution; review context before blocking.

dist/bin/jpi.jsView on unpkg · L5
dist/bin/jpi-sync.jsView file
99{ id: "azure", synonyms: ["microsoft-azure"], related: [{ to: "aws", w: 0.4 }] }, L100: { id: "ci-cd", synonyms: ["cicd", "jenkins", "circleci", "circle-ci", "travis"], related: [{ to: "github-actions", w: 0.6 }, { to: "gitlab-ci", w: 0.6 }] }, L101: { id: "github-actions", parents: ["ci-cd"], synonyms: ["github-action"] }, ... L191: { id: "microservices" }, L192: { id: "websockets", synonyms: ["ws", "socket.io"], related: [{ to: "realtime", w: 0.6 }] }, L193: { id: "realtime", synonyms: ["real-time"] }, ... L774: "use strict"; L775: KDF_INFO = Buffer.from("terminalhire-chat-v1"); L776: } ... L1063: init_src(); L1064: TERMINALHIRE_DIR = join2(homedir(), ".terminalhire"); L1065: PROFILE_FILE = join2(TERMINALHIRE_DIR, "profile.enc");
High
Sandbox Evasion Gated Capability

Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.

dist/bin/jpi-sync.jsView on unpkg · L99
dist/bin/jpi-dispatch.jsView file
matchType = previous_version_dangerous_delta matchedPackage = terminalhire@0.16.1 matchedIdentity = npm:dGVybWluYWxoaXJl:0.16.1 similarity = 0.881 summary = stored previous version shares package body but lacks this dangerous source file
Critical
Previous Version Dangerous Delta

This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.

dist/bin/jpi-dispatch.jsView on unpkg
31Cross-file remote execution chain: dist/bin/jpi-dispatch.js spawns dist/bin/jpi-link.js; helper contains network access plus dynamic code execution. L31: function terminalhireDir() { L32: return join(homedir(), ".terminalhire"); L33: } ... L49: if (fromFile) return fromFile; L50: const env = process.env["TERMINALHIRE_WEB_SESSION"]; L51: return typeof env === "string" && env.length > 0 ? env : null; ... L91: const raw = readFileSync2(CONFIG_FILE, "utf8"); L92: const parsed = JSON.parse(raw); L93: return { ...DEFAULT_CONFIG, ...parsed }; ... L188: const candidates = [ L189: join3(__dirname, "..", "..", "package.json"), L190: join3(__dirname, "..", "package.json")
High
Cross File Remote Execution Context

Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.

dist/bin/jpi-dispatch.jsView on unpkg · L31

Findings

1 Critical6 High5 Medium6 Low
CriticalPrevious Version Dangerous Deltadist/bin/jpi-dispatch.js
HighInstall Time Lifecycle Scriptspackage.json
HighChild Processdist/bin/jpi-init.js
HighShelldist/bin/jpi-statusline-launch.js
HighSame File Env Network Executiondist/bin/jpi.js
HighSandbox Evasion Gated Capabilitydist/bin/jpi-sync.js
HighCross File Remote Execution Contextdist/bin/jpi-dispatch.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumDynamic Requiredist/bin/jpi-init.js
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowObfuscated
LowHigh Entropy Strings
LowUrl Strings