Loading npm security reports…
Loading npm security reports…
very-happy-cli@0.2.186: Agent extension lifecycle risk – flagged | LPM Firewall
npm / very-happy-cli / 0.2.186 Remote multi-agent workspace CLI with deep Claude integration, native terminal streaming, and self-hosting.
Flagged as agent extension risk
Allowed by default with warning: install-time first-party agent extension setup was detected.
AI security reviewscanned on Oct 25, 2026, 10:26 UTC · by lpm-firewall-ai The package has agent integration behavior that changes assistant configuration and persists across sessions, warranting a warning under the first-party agent setup policy. Its install hook is limited to unpacking tools and fixing terminal helper permissions, and the terminal hook setup is command-driven and removable.
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
Runtime assistant setup creates the profile files; terminal hook changes occur through the hook installation command.
Impact
These changes affect later agent sessions and persist until removed or changed. The inspected sources do not establish credential transfer or malicious execution.
Mechanism
The profile setup writes a Claude instruction file under the package’s assistant home. The hook command updates Claude settings to register terminal mirroring callbacks.
Evidence
dist/bootstrap-B7YvJcVK.cjs dist/bootstrap-MFmMruyB.mjs dist/installTerminalHooks-BETLKAtd.cjs dist/installTerminalHooks-By7gBMEF.mjs dist/run-B2ZorDI7.cjs dist/run-CmA3cPD_.mjs dist/main-pkH_VRP-.mjs
Decision evidencepublic snapshot Evidence for warning
The CLI creates a package-owned assistant directory and writes a Claude instruction file there when that file is absent; its runtime invokes this setup. The package also includes code that writes terminal mirror hooks into Claude settings, creating a persistent agent integration. Evidence against
The postinstall hook only unpacks platform tools and repairs the terminal helper’s executable permissions. Terminal hooks are installed through a command path that supports removal; the source checks tmux and updates Claude settings only when the configuration changes. 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 302 files · 5.50 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 High Install time lifecycle scripts
Package defines install-time lifecycle scripts.
package.json View on unpkg Medium Ambiguous install lifecycle script
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 process
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' ;
Code excerpt · 2 lines 349 const execAsync = promisify (exec);
350 const CLIENT_ID = "681255809395-[redacted].apps.googleusercontent.com" ;
Medium Dynamic require
Package source references dynamic require/import behavior.
dist/logger-L0pLBOLK.cjs View on unpkg · L2 Code excerpt · 2 lines 3 var chalk = require ('chalk' );
4 var node_util = require ('node:util' );
High Trigger reachable persistence
A manifest entrypoint or package-local install chain reaches persistence behavior.
dist/install-C1y_g7kj.cjs View on unpkg · L4 Medium Install persistence
Source writes installer persistence such as shell profile or service configuration.
dist/install-C1y_g7kj.cjs View on unpkg · L4 Shared code excerpt · 2 findings · 12 lines Trigger-reachable persistence chain: manifest.main -> dist/index.cjs -> dist/index-W8wlfp57.cjs -> dist/main-VyiAJXfb.cjs -> dist/install-C1y_g7kj.cjs
4 var require$$0 = require ('fs' );
5 var child_process = require ('child_process' );
6 var trimIdent = require ('./trimIdent-4gvk9Wk6.cjs' );
⋯
22 logger.logger.info ( );
High Same file environment network execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/piTerminal-DVr2W6bI.cjs View on unpkg · L85 Code excerpt · 9 lines 85 return {
86 url: `http://127.0.0.1:${server.address().port}${path}` ,
87 stop: () => new Promise ((resolve, reject) => {
⋯
93 async function runPiTerminal (args) {
94 const terminalId = terminalToolContext.resolveMcpTerminalId ({ VH_TERMINAL_ID: process.env.VH_TERMINAL_ID });
95 if (!terminalId) throw new Error ("Run `very-happy pi --terminal` inside a Very Happy terminal (VH_TERMINAL_ID is required)." );
Critical Credential exfiltration
Source appears to send environment or credential material to an external endpoint.
dist/run-CmA3cPD_.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-DbCHeEeP.mjs' ;
11 import { T TurnActivityTracker, A ApiClient } ;
High Sandbox evasion gated capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/mirrorProtocol-Did0-1jn.cjs View on unpkg · L2 Code excerpt · 11 lines 3 var node_child_process = require ('node:child_process' );
4 var node_crypto = require ('node:crypto' );
⋯
117 try {
118 raw = JSON.parse (text);
119 } catch {
⋯
149 if (isShebangScript (script2)) {
150 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.' };
Critical Encrypted payload temp execution
Source decrypts an embedded payload, writes it to disk, and executes it through a child process.
dist/run-B2ZorDI7.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 capability
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/run-B2ZorDI7.cjs View on unpkg · L8 Code excerpt · 12 lines Trigger-reachable chain: manifest.main -> dist/index.cjs -> dist/index-W8wlfp57.cjs -> dist/main-VyiAJXfb.cjs -> dist/run-B2ZorDI7.cjs
High Copied package dependency bridge
Package metadata claims a different repository identity while copied source loads a runtime dependency bridge.
dist/selfCheck-CkUezhrg.cjs View on unpkg · L51 Code excerpt · 4 lines package = very-happy-cli; repositoryIdentity = very-happy; dependency = expo-server-sdk
51 // External packages imported on demand
52 ["expo-server-sdk" , () => import ('expo-server-sdk' )],
53 ["ink" , () => import ('ink' )],
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/codexCommand-CWrFt3Ne.cjs View on unpkg · L21 Code excerpt · 11 lines Cross-file remote execution chain: dist/codexCommand-CWrFt3Ne.cjs spawns dist/resources-CqwHPhdK.cjs; helper contains network access plus dynamic code execution.
21 var codexTermination = require ('./codexTermination-DErS0cGt.cjs' );
22 var node_child_process = require ('node:child_process' );
23 var persistence = require ('./persistence-CIzOAWK6.cjs' );
⋯
40 require ('tweetnacl' );
41 require ('axios' );
dist/connect-839tEkPN.cjs#virtual:normalized:round1 View file High Semantic analysis limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/connect-839tEkPN.cjs#virtual:normalized:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 9
High Known malware source similarity
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
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/daemonSupervisor-alqGPANc.cjs View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = very-happy-cli@0.2.185
matchedIdentity = npm:dmVyeS1oYXBweS1jbGk:0.2.185
similarity = 0.967
summary = stored previous version shares package body but lacks this dangerous source file
Package metadata 8 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
Low Non install lifecycle scripts
"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" );
⋯
99 return await new Promise ((resolve, reject) => {
100 const child = node_child_process.spawn (runtime.PI_ACP_PI_COMMAND, args, {
as
as
from
'./api-DUFy21Nf.mjs'
15 import { a as authAndSetupMachineIfNeeded } from './auth-DP3eN2Fv.mjs' ;
16 import { spawn, execSync } from 'child_process' ;
17 import { p as packageJson } from './package-DagIeOhi.mjs' ;
25 import { validatorCompiler, seri
300 async function linkIntoWorktree (sourceRoot, worktree, entries, platform = process.platform) {
'tmp'
9 var axios = require ('axios' );
10 var node_fs = require ('node:fs' );
17 var auth = require ('./auth-CImUXAjH.cjs' );
18 var child_process = require ('child_process' );
19 var _package = require ('./package-BuATIMpK.cjs' );
112 const server = await fetchServer ();
113 if (server) return { metadata: server, source: "server" };
125 const value = JSON.parse (node_fs.readFileSync (receiptPath (home, id), "utf8" ));
126 if (value.operationId !== id || typeof value.claimId !== "string" || !["prepared" , "spawning" , "spawned" , "delivered" , "completed" ].includes (value.phase)) throw new Error
High Trigger reachable credential exfiltration
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/run-B2ZorDI7.cjs View on unpkg · L8 Code excerpt · 12 lines Trigger-reachable credential exfiltration chain: manifest.main -> dist/index.cjs -> dist/index-W8wlfp57.cjs -> dist/main-VyiAJXfb.cjs -> dist/run-B2ZorDI7.cjs
8 var tmp = require ('tmp' );
9 var axios = require ('axios' );
10 var node_fs = require ('node:fs' );
⋯
17 var auth = require ('./auth-CImUXAjH.cjs' );
18 var child_process = require ('child_process' );
19 var _package = require ('./package-BuATIMpK.cjs' );
⋯
112 const server = await fetchServer ();
113 if (server) return { metadata: server, source: "server" };
114 } catch {
⋯
124 try {
125 const value = JSON.parse (node_fs.readFileSync (receiptPath (home, id), "utf8" ));
126 if (value.operationId !== id || typeof value.claimId !== "string" || !["prepared" , "spawning" , "spawned" , "delivered" , "completed" ].includes (value
42
require ('./time-DcICfW0N.cjs' );
240 function commandFailed (exitCode, status) {
241 return typeof exitCode === "number" && exitCode !== 0 || status === "failed" || status === "declined" ;
1019 /* @__PURE__ */ React.createElement (ink.Box, { flexDirection: "column" , alignItems: "center" }, actionInProgress ? /* @__PURE__ */ React.createElement (ink.Text,