registry  /  terminalhire  /  0.16.1

terminalhire@0.16.1

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 is a developer job-matching CLI with consent-gated local config writes and user-invoked network features.

Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
npm install prints notice; CLI commands such as terminalhire init/jobs/sync/statusline activate features.
Impact
Can modify local terminalhire/Claude settings and send selected profile data only after user-invoked consent flows; no unconsented install-time exfiltration found.
Mechanism
consent-gated CLI job matching/profile sync and Claude spinner/statusLine integration
Rationale
Static inspection found risky primitives, but they are consistent with the package's advertised CLI functions and are gated by explicit commands/consent. The install lifecycle hook only prints a notice, so there is no concrete malicious install-time or import-time behavior.
Evidence
package.jsonpostinstall.jsinstall.jsstatusline-install.jsdist/bin/jpi-dispatch.jsdist/bin/jpi.jsdist/bin/jpi-sync.js~/.terminalhire/config.json~/.terminalhire/index-cache.json~/.terminalhire/github-token.enc~/.terminalhire/profile.enc~/.terminalhire/web-session~/.terminalhire/tier1.json~/.claude/settings.json
Network endpoints4
terminalhire.com/api/indexterminalhire.com/api/leadwww.terminalhire.com/api/profile-syncapi.github.com

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 script: node ./postinstall.js.
  • User-invoked install.js/statusline-install.js can write ~/.claude/settings.json and ~/.terminalhire files after typed consent.
  • Runtime commands can read local profile/GitHub token and call terminalhire/GitHub APIs for job matching, chat, sync, and claims.
Evidence against
  • postinstall.js is print-only, skips CI/non-TTY, performs no network calls or file writes.
  • dist/bin/jpi-dispatch.js dispatches network/file/execution behavior behind explicit CLI subcommands, not import-time execution.
  • install.js and statusline-install.js prompt for typed yes before modifying Claude settings and create backups.
  • Profile sync and lead submission show consent previews and require user action before POSTing profile fields.
  • child_process usage is package-aligned: spawning bundled CLI helpers, git/gh for user-invoked claim submission, or detached local learning.
Behavioral surface
Source
ChildProcessCryptoDynamicRequireEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsObfuscatedUrlStrings
ManifestNo manifest risk signals triggered.
scanned 43 file(s), 3.44 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-chat.jsView file
4938}); L4939: import { spawn } from "child_process"; L4940: function openInBrowser(url) {
High
Child Process

Package source references child process execution.

dist/bin/jpi-chat.jsView on unpkg · L4938
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-init.jsView file
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.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.0 matchedIdentity = npm:dGVybWluYWxoaXJl:0.16.0 similarity = 0.884 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; ... L92: const raw = readFileSync2(CONFIG_FILE, "utf8"); L93: const parsed = JSON.parse(raw); L94: return { ...DEFAULT_CONFIG, ...parsed }; ... L192: const candidates = [ L193: join3(__dirname, "..", "..", "package.json"), L194: 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-chat.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