Loading npm security reports…
Loading npm security reports…
very-happy-cli@0.2.189: Clean npm security report (Allow) | LPM Firewall
npm / very-happy-cli / 0.2.189 Remote multi-agent workspace CLI with deep Claude integration, native terminal streaming, and self-hosting.
Allowed — no malicious behavior detected
27 low-signal patterns reviewed and cleared.
AI security reviewscanned on Oct 31, 2026, 06:15 UTC · by lpm-firewall-ai The postinstall hook performs local setup for platform tools and node-pty; daemon persistence is behind an explicit install subcommand. The flagged decryption is dotenv vault handling, and the reviewed team requests send tokens to the configured service.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review; previous stored version diff introduced dangerous source
Trigger
Install runs the postinstall tool setup; daemon persistence requires the user to run `daemon install`.
Impact
The reviewed behavior provides CLI tools and optional remote workspace features; no unauthorized credential transfer or hidden persistence was found.
Mechanism
The hook unpacks platform-specific tool archives locally and fixes `node-pty` permissions. Team requests use the configured server URL.
Evidence
tools/unpacked /Library/LaunchDaemons/com.happy-cli.daemon.plist
public snapshot
Evidence for AI clean decision
The postinstall hook runs only the tool unpacker and the `node-pty` permission fix. The unpacker resolves archives from the matching platform-specific optional package and extracts them for the CLI. Daemon persistence is installed through the explicit `daemon install` subcommand. The flagged decryption code is a dotenv AES-GCM vault routine; it decrypts configured dotenv data. Team requests send bearer tokens to the configured server URL. Evidence against
The package has a postinstall hook and supports daemon persistence, both of which warranted review. The CLI handles credentials for its intended remote workspace and Claude integration. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Filesystem · Network · Shell · Web socket
Supply chain High entropy strings · Possible obfuscation · URL strings
Manifest No manifest risk signals triggered.
Scanned 304 files · 5.57 MB of source
20 external domains referenced
127.0.0.1 accounts.google.com api.cluster-fluster.com api.openai.com auth.openai.com claude.ai code.claude.com console.anthropic.com developers.google.com docs.openclaw.ai github.com goo.gle happy.mereith.com host.example.ts.net oauth2.googleapis.com opencode.ai registry.npmjs.org veryhappy.dev www.apple.com www.googleapis.com Findings4 critical · 11 high · 7 medium · 5 low Source & flagged code19 flagged The lines the automated scan flagged. The review checked them and cleared this version.
High Install time lifecycle scriptsCleared
Package defines install-time lifecycle scripts.
package.json View on unpkg Medium Ambiguous install lifecycle scriptCleared
Install-time lifecycle script is not statically allowlisted and needs review.
package.json View on unpkg Shared scanner record · 2 findings · 1 line scripts.postinstall = node scripts/unpack-tools.cjs && node scripts/fix-pty-perms.cjs
High Child processCleared
Package source references child process execution.
bin/very-happy.mjs View on unpkg · L5 Code excerpt · 2 lines 6 import { execFileSync } from 'child_process' ;
7 import { fileURLToPath } from 'url' ;
dist/registerCommonHandlers-DWkTysjD.mjs View file High ShellCleared
Package source references shell execution.
dist/registerCommonHandlers-DWkTysjD.mjs View on unpkg · L127 Code excerpt · 3 lines 127 if (process.platform !== "win32" ) return "posix" ;
128 const shell = (process.env.COMSPEC || "powershell.exe" ).toLowerCase ();
129 return shell.includes ("powershell" ) || shell.includes ("pwsh" ) ? "powershell" : "cmd" ;
Medium Dynamic requireCleared
Package source references dynamic require/import behavior.
dist/template-17HATY_Y.cjs View on unpkg · L2 Code excerpt · 2 lines 3 var index = require ('./index-BOe6dKnL.cjs' );
4
High Trigger reachable persistenceCleared
A manifest entrypoint or package-local install chain reaches persistence behavior.
dist/install-DNbIEJUk.cjs View on unpkg · L4 Medium Install persistenceCleared
Source writes installer persistence such as shell profile or service configuration.
dist/install-DNbIEJUk.cjs View on unpkg · L4 Shared code excerpt · 2 findings · 12 lines Trigger-reachable persistence chain: manifest.main -> dist/index.cjs -> dist/index-4TpmBb2Q.cjs -> dist/main-ndpVIaSG.cjs -> dist/install-DNbIEJUk.cjs
4 var require$$0 = require ('fs' );
5 var child_process = require ('child_process' );
6 var trimIdent = require ('./trimIdent-4gvk9Wk6.cjs' );
⋯
22
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/piTerminal-MtxDtBE2.cjs View on unpkg · L86 Code excerpt · 9 lines 86 return {
87 url: `http://127.0.0.1:${server.address().port}${path}` ,
88 stop: () => new Promise ((resolve, reject) => {
⋯
94 async function runPiTerminal (args) {
95 const terminalId = terminalToolContext.resolveMcpTerminalId ({ VH_TERMINAL_ID: process.env.VH_TERMINAL_ID });
96 if (!terminalId) throw new Error ("Run `very-happy pi --terminal` inside a Very Happy terminal (VH_TERMINAL_ID is required)." );
Critical Credential exfiltrationCleared
Source appears to send environment or credential material to an external endpoint.
dist/run-DSfNcR62.mjs View on unpkg · L6 Code excerpt · 10 lines 6 import * as tmp from 'tmp' ;
7 import axios from 'axios' ;
8 import { readFileSync, openSync, fsyncSync, closeSync, renameSync, existsSync, readdirSync, statSync, unlinkSync, realpathSync, promises, constants as constants$1, writeFileSync, m...
9 import { join, isAbsolute, resolve, dirname, sep, basename, relative } from 'node:path' ;
10 import { f as ensurePrivateDirectorySync, w as writePrivateFileSync, c as configuration } from './configuration-1FabKklB.mjs' ;
11 { T TurnActivityTracker, A ApiClient } ;
High Sandbox evasion gated capabilityCleared
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/mirrorProtocol-D2vTWteS.mjs View on unpkg · L1 Code excerpt · 12 lines 1 import { spawn, execFileSync, execFile } from 'node:child_process' ;
2 import { createHash, randomUUID } from 'node:crypto' ;
⋯
5 import { realpath, lstat, stat, mkdir, copyFile, symlink, readdir } from 'node:fs/promises' ;
6 import { f as ensurePrivateDirectorySync, w as writePrivateFileSync } from './configuration-1FabKklB.mjs' ;
7 import { x as AGENT_VERSION_SOURCES } from ;
Critical Encrypted payload temp executionCleared
Source decrypts an embedded payload, writes it to disk, and executes it through a child process.
dist/run-Ca8BiNCp.cjs View on unpkg Scanner record · 1 line context = ersion(to)) return null;\n if (typeof at !== "number" || !Number.isFinite(at) || source !== "auto" && source !== "manual") return null;\n return { from, to, at, source };\n}\nfunction lastInstallStore(homeDir) {\n const file = path.join(homeDir, "cli-update-last.json");\n return {\n read() {\n try {\n return parseLastInstall(JSON.parse(node_fs.readFileSync(file, "utf8")));\n } catch {\n return null;\n }\n },\n write(record) {\n const tmp = `${file}.${process.pid}.tmp`;\n node_fs.writeFileSync(tmp, JSON.stringify(record));\n node_fs.renameSync(tmp, file);\n }\n };\n}\n\nconst ANNOUNCE_FIRST_DELAY_MS = 9e4;\nconst ANNOUNCE_JITTER_MS = 6e4;\nconst ANNOUNCE_FOLLOW_UP_MS = 5 * 6e4;\nfunction announcedVersion(payload) {\n if
Critical Trigger reachable dangerous capabilityCleared
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/run-Ca8BiNCp.cjs View on unpkg · L8 Code excerpt · 12 lines Trigger-reachable chain: manifest.main -> dist/index.cjs -> dist/index-4TpmBb2Q.cjs -> dist/main-ndpVIaSG.cjs -> dist/run-Ca8BiNCp.cjs
High Copied package dependency bridgeCleared
Package metadata claims a different repository identity while copied source loads a runtime dependency bridge.
dist/selfCheck-BQ_H2Sns.mjs View on unpkg · L49 Code excerpt · 4 lines package = very-happy-cli; repositoryIdentity = very-happy; dependency = expo-server-sdk
49 // External packages imported on demand
50 ["expo-server-sdk" , () => import ('expo-server-sdk' )],
51 ["ink" , () => import ('ink' )],
High Cross file remote execution contextCleared
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/codexCommand-BfoRP6E9.cjs View on unpkg · L21 Code excerpt · 11 lines Cross-file remote execution chain: dist/codexCommand-BfoRP6E9.cjs spawns dist/resources-BZ_Be0qM.cjs; helper contains network access plus dynamic code execution.
21 var codexTermination = require ('./codexTermination-IrLZQzKC.cjs' );
22 var node_child_process = require ('node:child_process' );
23 var persistence = require ('./persistence-CrzC7yr_.cjs' );
⋯
41 require ('tweetnacl' );
42 require ('axios' );
dist/connect-0lSugpjf.mjs#virtual:normalized:round1 View file High Semantic analysis limitedCleared
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/connect-0lSugpjf.mjs#virtual:normalized:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 9
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
scripts/ripgrep_launcher.cjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = ozaiya-cli@0.11.28
matchedPath = scripts/ripgrep_launcher.cjs
matchedIdentity = npm:b3phaXlhLWNsaQ:0.11.28
similarity = 1.000
summary = normalized source hash matched finalized malicious source
dist/codexAppServerClient-CO9f4Jr8.cjs View file Critical Previous version dangerous deltaCleared
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/codexAppServerClient-CO9f4Jr8.cjs View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = very-happy-cli@0.2.190
matchedIdentity = npm:dmVyeS1oYXBweS1jbGk:0.2.190
similarity = 0.875
summary = stored previous version shares package body but lacks this dangerous source file
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
logger.logger.info ("Daemon plist already exists. Uninstalling first..." );
23 child_process.execSync (`launchctl unload ${PLIST_FILE}` , { stdio: "inherit" });
54 <key>StandardErrorPath</key>
55 <string>${os.homedir ()}/.happy/daemon.err</string>
77 async function install () {
78 if (process.platform !== "darwin" ) {
79 throw new Error ("Daemon installation is currently only supported on macOS" );
100 return await new Promise ((resolve, reject) => {
101 const child = node_child_process.spawn (runtime.PI_ACP_PI_COMMAND, args, {
import
as
as
from
'./api-B0yN68XH.mjs'
15 import { a as authAndSetupMachineIfNeeded } from './auth-CyrVvWHF.mjs' ;
16 import { spawn, execSync } from 'child_process' ;
17 import { p as packageJson } from './package-DTcaIhjW.mjs' ;
25 import { validatorCompiler, seri
'./index-WKyN-bNy.mjs'
116 raw = JSON.parse (text);
147 if (isShebangScript (script2)) {
148 return { kind: "unsupported" , script: script2, message: 'A "#!" setup script needs a POSIX shell; native Windows runs setup through cmd.exe. Add "setupWindows" with cmd syntax.' };
var tmp = require ('tmp' );
9 var axios = require ('axios' );
10 var node_fs = require ('node:fs' );
17 var auth = require ('./auth-DQKSpaEf.cjs' );
18 var child_process = require ('child_process' );
19 var _package = require ('./package-CYDdLA6R.cjs' );
113 const server = await fetchServer ();
114 if (server) return { metadata: server, source: "server" };
126 const value = JSON.parse (node_fs.readFileSync (receiptPath (home, id), "utf8" ));
127 if (value.operationId !== id || typeof value.claimId !== "string" || !["prepared" , "spawning" , "spawned" , "delivered" , "completed" ].includes (value.phase)) throw new Error
High Trigger reachable credential exfiltrationCleared
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/run-Ca8BiNCp.cjs View on unpkg · L8 Code excerpt · 12 lines Trigger-reachable credential exfiltration chain: manifest.main -> dist/index.cjs -> dist/index-4TpmBb2Q.cjs -> dist/main-ndpVIaSG.cjs -> dist/run-Ca8BiNCp.cjs
8 var tmp = require ('tmp' );
9 var axios = require ('axios' );
10 var node_fs = require ('node:fs' );
⋯
17 var auth = require ('./auth-DQKSpaEf.cjs' );
18 var child_process = require ('child_process' );
19 var _package = require ('./package-CYDdLA6R.cjs' );
⋯
113 const server = await fetchServer ();
114 if (server) return { metadata: server, source: "server" };
115 } catch {
⋯
125 try {
126 const value = JSON.parse (node_fs.readFileSync (receiptPath (home, id), "utf8" ));
127 if (value.operationId !== id || typeof value.claimId !== "string" || !["prepared" , "spawning" , "spawned" , "delivered" , "completed" ].includes (value
43 require ('./time-XwEZxKGc.cjs' );
241 function commandFailed (exitCode, status) {
242 return typeof exitCode === "number" && exitCode !== 0 || status === "failed" || status === "declined" ;
1020 /* @__PURE__ */ React.createElement (ink.Box, { flexDirection: "column" , alignItems: "center" }, actionInProgress ? /* @__PURE__ */ React.createElement (ink.Text,