Loading npm security reports…
Loading npm security reports…
@indigoai-us/hq-cli@5.345.208: npm security report – allowed | LPM Firewall
Allowed — no malicious behavior detected
38 low-signal patterns reviewed and cleared.
AI security reviewscanned on Nov 6, 2026, 02:43 UTC · by lpm-firewall-ai The lifecycle hook installs the package’s own optional hook engine and removes its own launcher shims. The flagged credential, network, and metadata paths serve explicit CLI functions and did not show an unrelated exfiltration or hidden action.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
Postinstall installs the package’s optional hook engine and cleans up its own Windows launchers; OAuth collection and job probing run through CLI features.
Impact
No unrelated credential transfer, concealed execution, or unsolicited account action was established.
Mechanism
The OAuth collector uses Claude credentials with Anthropic’s API. A user-run job probe sends readiness information to the configured HQ API with an Outpost token. Machine identity lookup obtains an EC2 instance ID for Outpost lane setup or creation.
Evidence
~/.hq/capacity ~/.claude/ dist/lib/hook-engine/resolve.js
Network endpoints3
api.anthropic.com hqapi.hq.computer 169.254.169.254
Decision evidencepublic snapshot Evidence for AI clean decision
The postinstall hook invokes the package’s native hook-engine installer and removes its own Windows PowerShell launch shims. Claude OAuth collection is skipped unless its collector is enabled, except when a caller explicitly allows disabled collection. The Claude OAuth collector reads Claude Code credentials for requests to Anthropic’s own API. The job probe posts readiness data with an Outpost instance token to the HQ jobs-status endpoint when the probe runs. The machine-identity code describes its IMDS lookup as limited to Outpost lane creation and setup, to obtain an instance ID. Evidence against
The package defines postinstall and prepare lifecycle scripts. The package includes network requests, process execution, and machine-identity lookup as CLI capabilities. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Filesystem · Network · Shell
Supply chain High entropy strings · Minified · URL strings
Manifest No manifest risk signals triggered.
Scanned 1,153 files · 16.2 MB of source
29 external domains referenced
127.0.0.1 a.co api.anthropic.com api.github.com api.indigo-hq.com api.openai.com api.slack.com api.x.ai app.fireflies.ai chatgpt.com cli-chat-proxy.grok.com console.anthropic.com docs.hq.computer example.com github.com gmailmcp.googleapis.com hq.computer hq.getindigo.ai hq.indigo.ai hqapi.hq.computer indigoai-public.s3.amazonaws.com json-schema.org nodejs.org notes.granola.ai onboarding.hq.computer registry.npmjs.org schemas.microsoft.com www.apple.com www.googleapis.com Oversized source lightweight scan
dist/hq-cloud-sync-runner/bin/sync-runner.js 5.00 MB file, sampled 256 KB
Filesystem Environment variables High entropy strings URL strings a.co hqapi.hq.computer
Findings3 critical · 21 high · 8 medium · 6 low Source & flagged code30 flagged The lines the automated scan flagged. The review checked them and cleared this version.
Critical Red install lifecycle scriptCleared
Install-time lifecycle script matches a deterministic static-gate block pattern.
package.json View on unpkg High Install time lifecycle scriptsCleared
Package defines install-time lifecycle scripts.
package.json View on unpkg Shared scanner record · 2 findings · 1 line scripts.postinstall = node scripts/install-hook-engine.mjs || node -e "process.exit(0)"
High Child processCleared
Package source references child process execution.
dist/startup-registration.js View on unpkg · L18 Code excerpt · 3 lines 18 */
19 import { spawnSync } from "node:child_process" ;
20 import { stringDerivedPackageRoot } from "./utils/hq-roots.js" ;
dist/utils/self-update.js#virtual:normalized:round1 View file High ShellCleared
Package source references shell execution.
dist/utils/self-update.js#virtual:normalized:round1 View on unpkg · L1044 Code excerpt · 3 lines 1044 }
1045 // npm regenerates hq.ps1 on every Windows install. PowerShell prefers it to
1046 // hq.cmd, and a Restricted execution policy then blocks every hq command.
dist/utils/update-command-supervisor.cjs View file Medium Dynamic requireCleared
Package source references dynamic require/import behavior.
dist/utils/update-command-supervisor.cjs View on unpkg · L2 Code excerpt · 2 lines 3 const { spawn: nativeSpawn } = require ("node:child_process" );
4 const fs = require ("node:fs" );
Low Weak cryptoCleared
Package source references weak cryptographic algorithms.
dist/commands/storage-offload.js View on unpkg · L55 Code excerpt · 12 lines 55 import * as path from "node:path" ;
56 import { spawn, execFile } from "node:child_process" ;
57 import { GetObjectCommand, HeadObjectCommand, PutObjectCommand, } from "@aws-sdk/client-s3" ;
⋯
313 else if (status === 403 ) {
314 what = "Forbidden (no error body: credentials expired or access denied)" ;
315 }
⋯
424 const fromChecksum = res.ChecksumSHA256 && !res.ChecksumSHA256. ( )
dist/lib/mesh/live/daemon/install.js View file High Trigger reachable persistenceCleared
A manifest entrypoint or package-local install chain reaches persistence behavior.
dist/lib/mesh/live/daemon/install.js View on unpkg · L7 Medium Install persistenceCleared
Source writes installer persistence such as shell profile or service configuration.
dist/lib/mesh/live/daemon/install.js View on unpkg · L7 Shared code excerpt · 2 findings · 12 lines Trigger-reachable persistence chain: manifest.main -> dist/index.js -> dist/main.js -> dist/utils/self-update.js -> [redacted].js
7 * - Windows: per-user Scheduled Task ai.getindigo.hq-mesh-daemon registered
8 * from a rendered task XML via schtasks.exe (no native dependencies)
9 *
⋯
16 import * as path from "node:path" ;
17 { spawnSync } ;
dist/commands/core-job-probe-native.js View file High Same file environment network executionCleared
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/commands/core-job-probe-native.js View on unpkg · L129 Code excerpt · 7 lines 129 : "hq" ;
130 const plan = planResolvedCommandSpawn (executable, args, process.env);
131 const r = spawnSync (plan.cmd, plan.args, { encoding: "utf8" , stdio: ["ignore" , "pipe" , "ignore" ], shell: plan.shell, ...(plan.windowsVerbatimArguments ? { windowsVerbatimArguments:...
132 return Promise.resolve ({ code: r.status ?? (r.error ? 127 : 1 ), stdout: r.stdout ?? "" });
dist/lib/capacity/collectors/claude-oauth.js View file Critical Credential exfiltrationCleared
Source appears to send environment or credential material to an external endpoint.
dist/lib/capacity/collectors/claude-oauth.js View on unpkg · L6 Critical Trigger reachable dangerous capabilityCleared
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/lib/capacity/collectors/claude-oauth.js View on unpkg · L6 Shared code excerpt · 2 findings · 12 lines 6 * or the credentials JSON under ~/.claude/ on Linux). GETs
7 * https://api.anthropic.com/api/oauth/usage with the oauth-2025-04-20 beta
8 * header. This module does not invoke the claude CLI except
⋯
31 */
32 import { execFile, spawnSync } from "node:child_process" ;
33 * crypto ;
High Cloud metadata accessCleared
Source reaches cloud instance metadata or link-local credential endpoints.
dist/lib/lanes/machine-identity.js View on unpkg · L11 Code excerpt · 12 lines 11 */
12 import { spawnSync } from "node:child_process" ;
13 import * as os from "node:os" ;
14 export const IMDS_HOST = "169.254.169.254" ;
15 export const IMDS_TOKEN_URL = `http://${IMDS_HOST}/latest/api/token` ;
16 export const IMDS_INSTANCE_ID_URL = `http://${IMDS_HOST}/latest/meta-data/instance-id` ;
⋯
30
assets/lanes-hooks/hq-lanes-drain.sh View file Medium Ships build helperCleared
Package ships non-JavaScript build or shell helper files.
assets/lanes-hooks/hq-lanes-drain.sh View on unpkg Scanner record · 4 lines path = assets/lanes-hooks/hq-lanes-drain.sh
kind = build_helper
sizeBytes = 620
magicHex = [redacted]
assets/scaffold/.claude/hooks/validate-policy-frontmatter.sh View file High Payload in excluded dirCleared
Package hides binary, compressed, or executable-looking payloads in test/fixture/hidden paths.
assets/scaffold/.claude/hooks/validate-policy-frontmatter.sh View on unpkg Scanner record · 4 lines path = assets/scaffold/.claude/hooks/validate-policy-frontmatter.sh
kind = payload_in_excluded_dir
sizeBytes = 21475
magicHex = [redacted]
dist/hq-cloud-sync-runner/bin/sync-runner.js View file Medium Oversized source fileCleared
Package contains source files above the normal full-analysis size ceiling.
dist/hq-cloud-sync-runner/bin/sync-runner.js View on unpkg Scanner record · 4 lines path = dist/hq-cloud-sync-runner/bin/sync-runner.js
kind = oversized_source_file
sizeBytes = 5243021
magicHex = [redacted]
Medium Oversized CLI entrypointCleared
Package contains an oversized executable-looking CLI entrypoint.
dist/hq-cloud-sync-runner/bin/sync-runner.js View on unpkg Scanner record · 4 lines path = dist/hq-cloud-sync-runner/bin/sync-runner.js
kind = oversized_cli_entrypoint
sizeBytes = 5243021
magicHex = [redacted]
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/lib/search-index/index.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @indigoai-us/hq-cli@5.345.145
matchedPath = dist/lib/search-index/index.js
matchedIdentity = npm:QGluZGlnb2FpLXVzL2hxLWNsaQ:5.345.145
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/utils/version-gate.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @indigoai-us/hq-cli@5.345.145
matchedPath = dist/utils/version-gate.js
matchedIdentity = npm:QGluZGlnb2FpLXVzL2hxLWNsaQ:5.345.145
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/lib/lanes/models.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @indigoai-us/hq-cli@5.345.145
matchedPath = dist/lib/lanes/models.js
matchedIdentity = npm:QGluZGlnb2FpLXVzL2hxLWNsaQ:5.345.145
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/lib/lanes/monitor.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @indigoai-us/hq-cli@5.345.145
matchedPath = dist/lib/lanes/monitor.js
matchedIdentity = npm:QGluZGlnb2FpLXVzL2hxLWNsaQ:5.345.145
similarity = 1.000
summary = normalized source hash matched finalized malicious source
dist/lib/work-context/windows-acl.js View file High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/lib/work-context/windows-acl.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @indigoai-us/hq-cli@5.345.145
matchedPath = dist/lib/work-context/windows-acl.js
matchedIdentity = npm:QGluZGlnb2FpLXVzL2hxLWNsaQ:5.345.145
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/commands/lanes-hold.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @indigoai-us/hq-cli@5.345.145
matchedPath = dist/commands/lanes-hold.js
matchedIdentity = npm:QGluZGlnb2FpLXVzL2hxLWNsaQ:5.345.145
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/lib/lanes/outpost-dispatch.js View on unpkg Scanner record · 7 lines matchType = token_shingles
matchedPackage = @indigoai-us/hq-cli@5.345.145
matchedPath = dist/lib/lanes/outpost-dispatch.js
matchedIdentity = npm:QGluZGlnb2FpLXVzL2hxLWNsaQ:5.345.145
similarity = 1.000
shingleOverlap = 48
summary = source token shingles overlapped finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/lib/lanes/reconcile-install.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @indigoai-us/hq-cli@5.345.145
matchedPath = dist/lib/lanes/reconcile-install.js
matchedIdentity = npm:QGluZGlnb2FpLXVzL2hxLWNsaQ:5.345.145
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/lib/monitor.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @indigoai-us/hq-cli@5.345.145
matchedPath = dist/lib/monitor.js
matchedIdentity = npm:QGluZGlnb2FpLXVzL2hxLWNsaQ:5.345.145
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/lib/node-binary.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @indigoai-us/hq-cli@5.345.145
matchedPath = dist/lib/node-binary.js
matchedIdentity = npm:QGluZGlnb2FpLXVzL2hxLWNsaQ:5.345.145
similarity = 1.000
summary = normalized source hash matched finalized malicious source
dist/lib/search-index/max-doc-bytes.js View file High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/lib/search-index/max-doc-bytes.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @indigoai-us/hq-cli@5.345.145
matchedPath = dist/lib/search-index/max-doc-bytes.js
matchedIdentity = npm:QGluZGlnb2FpLXVzL2hxLWNsaQ:5.345.145
similarity = 1.000
summary = normalized source hash matched finalized malicious source
dist/utils/self-update.js#virtual:normalized:round1
1 finding
Package metadata 8 findings
Medium Network Cleared
Medium Environment variables Cleared
Medium Structural risk force deep review Cleared
Low Non install lifecycle scripts Cleared
Low Scripts present Cleared
Low High entropy strings Cleared
includes
"-"
425 ? Buffer.from (res.ChecksumSHA256, "base64" ).toString ("hex" )
543 * subcommand is already reported as "update HQ" ; any failure here passes the
544 * script's own stderr through instead of guessing.
import
from
"node:child_process"
18 import semver from "semver" ;
55 stdout: r.stdout ?? "" ,
56 stderr: r.error ? r.error.message : (r.stderr ?? "" ),
62 const raw = readFileSync (file);
63 const buf = Buffer.isBuffer (raw) ? raw : Buffer.from (String (raw));
64 if ((buf.length >= 2 && buf[0 ] === 0xff && buf[1 ] === 0xfe) || buf.includes (0 )) {
⋯
142 commandExists: (name) => hasProbeCommand (name, env),
143 fetcher: stubs ? async () => { throw new Error ("HQ_JOB_TEST_STUB blocked real network fetch" ); } : (url, init) => fetch (url, init) };
High Command output exfiltrationCleared
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/commands/core-job-probe-native.js View on unpkg · L130 Code excerpt · 9 lines 130 const plan = planResolvedCommandSpawn (executable, args, process.env);
131 const r = spawnSync (plan.cmd, plan.args, { encoding: "utf8" , stdio: ["ignore" , "pipe" , "ignore" ], shell: plan.shell, ...(plan.windowsVerbatimArguments ? { windowsVerbatimArguments:...
132 return Promise.resolve ({ code: r.status ?? (r.error ? 127 : 1 ), stdout: r.stdout ?? "" });
133 }
⋯
139 statSize, isFile, isDirectory, realpath, readText: (f) => fs.readFileSync (f, "utf8" ), writeState,
140 writeStderr: (line) => process.stderr.write (line),
141 listSecrets: stubs ? async () => { throw new Error ("HQ_JOB_TEST_STUB blocked real hq secrets list" ); } : listSecrets,
142 commandExists: (name) => hasProbeCommand (name, env),
143 fetcher: stubs ? async () => { throw new Error ("HQ_JOB_TEST_STUB blocked re
import
as
from
"node:crypto"
83 export function defaultClaudeCredentialsPath (home = os.homedir ()) {
84 return path.join (home, ".claude" , ".credentials.json" );
284 retryAfter = response.headers?.get ("retry-after" ) ?? null ;
285 text = status === 200 ? await response.text () : "" ;
High Trigger reachable credential exfiltrationCleared
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/lib/capacity/collectors/claude-oauth.js View on unpkg · L6 Code excerpt · 11 lines Trigger-reachable credential exfiltration chain: manifest.main -> dist/index.js -> dist/commands/mcp-serve.js -> dist/utils/resident-package-preload.js -> dist/lib/capacity/collect.js -> [redacted]-oauth.js
6 * or the credentials JSON under ~/.claude/ on Linux). GETs
7 * https://api.anthropic.com/api/oauth/usage with the oauth-2025-04-20 beta
8 * header. This module does not invoke the claude CLI except
⋯
31 */
32 import { execFile, spawnSync } from "node:child_process" ;
33 import * as crypto from "node:crypto" ;
⋯
82 }
83 export function defaultClaudeCredentialsPath (home = os.homedir ()) {
84 return path.join (home, ".claude" , ".credentials.json" );
⋯
284 retryAfter = response.headers?.get ("retry-after" ) ?? null ;
285 text = status === 200 ? await response.text () :
return null ;
31 const body = (result.stdout ?? "" ).trim ();
32 return body.length > 0 ? body : null ;
35 process.stderr.write (`hq lanes: IMDS request failed for ${url}: ${err instanceof Error ? err.message : String(err)}\n` );