Loading npm security reports…
Loading npm security reports…
very-happy-cli@0.2.220: Remote code execution – flagged | LPM Firewall
Flagged — allowed with a warning
Allowed by default policy, but 25 findings warrant review before installing.
AI security reviewscanned on Nov 22, 2026, 11:21 UTC · by lpm-firewall-ai The earlier review correctly identified a reachable default-start self-update, but the source shows it updates this package through npm and provides a persisted "off" setting. The current rule classifies same-package npm self-updates with an off switch as suspicious, so the evidence supports a warning rather than a remote-code-execution block.
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
Daemon startup requests update policy; when a valid newer autoUpdateVersion is supplied and automatic updates are enabled, the daemon installs it.
Impact
The configured server can cause the installed CLI to be replaced with another release. The current self-update rule treats same-package npm updates with an off switch as warning-level behavior.
Mechanism
The daemon fetches /v1/version/cli, uses autoUpdateVersion as its target, and invokes npm install -g very-happy-cli@<version>.
Evidence
dist/run-BbZgH0IU.cjs dist/cliUpdate-Y34VGe9Y.mjs Global npm installation of very-happy-cli; prefix is determined at runtime.
${configured serverUrl}/v1/version/cli (README default server: veryhappy.dev)
npm registry selected by npm configuration
Decision evidencepublic snapshot Evidence for warning
The daemon requests an update-policy refresh on startup. The refresh makes a GET to the configured server’s /v1/version/cli endpoint and requests JSON. The update controller can select the server’s autoUpdateVersion as its automatic target. Automatic updates are enabled unless the persisted cliAutoUpdate setting is "off"; its fallback is "idle". The installer runs npm install globally for very-happy-cli@<version>. After evaluating the target, the controller calls the installer. Evidence against
The update request sends an Accept header; the inspected request does not include credentials or user data. The update installs this package itself through npm, and the feature has an explicit off setting. The package describes itself as a CLI and daemon for the Very Happy workspace; updating that CLI serves its stated function. 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 376 files · 7.44 MB of source
21 external domains referenced
127.0.0.1 accounts.google.com api.cluster-fluster.com api.deepseek.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 Findings5 critical · 8 high · 7 medium · 5 low Source & flagged code17 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 350 const execAsync = promisify (exec);
351 const CLIENT_ID = "681255809395-[redacted].apps.googleusercontent.com" ;
Medium Dynamic require
Package source references dynamic require/import behavior.
dist/query-CMazU9l-.cjs View on unpkg · L2 Code excerpt · 2 lines 3 var claudeAgentSdk = require ('@anthropic-ai/claude-agent-sdk' );
4 var promptCacheTtl = require ('./promptCacheTtl-B8PCzE6k.cjs' );
High Trigger reachable persistence
A manifest entrypoint or package-local install chain reaches persistence behavior.
dist/install-5EnWXTlX.cjs View on unpkg · L4 Medium Install persistence
Source writes installer persistence such as shell profile or service configuration.
dist/install-5EnWXTlX.cjs View on unpkg · L4 Shared code excerpt · 2 findings · 12 lines Trigger-reachable persistence chain: manifest.main -> dist/index.cjs -> dist/index-BxEQmbWO.cjs -> dist/main-Blag_2EX.cjs -> dist/install-5EnWXTlX.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 ( );
Critical Hardcoded runtime data exfiltration
Source sends credentials or rich application records to a package-controlled external receiver enabled by default.
dist/accountService-BWE2Bp-e.mjs View on unpkg · L4 Code excerpt · 12 lines Source sends the broad process environment to a literal external destination.
4 import { aA as AGENT_PROFILE_FEATURE_LAUNCH, aB as AgentProfileAddRequestSchema, aC as [redacted], aD as [redacted], aE as AgentP...
5 import { spawn } from 'node:child_process' ;
6 import { A as ACCOUNT_STRIPPED_ENV_KEYS } from './claudeAccountEnv-HVPRla8B.mjs' ;
⋯
20 }
21 function classifyClaudeCheck (exitCode, output, now) {
22 (exitCode === ) { status: , at: now };
Critical Credential exfiltration
Source appears to send environment or credential material to an external endpoint.
dist/run-BbZgH0IU.cjs View on unpkg · L11 Critical Trigger reachable dangerous capability
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/run-BbZgH0IU.cjs View on unpkg · L11 High Trigger reachable credential exfiltration
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/run-BbZgH0IU.cjs View on unpkg · L11 Shared code excerpt · 3 findings · 12 lines 11 var tmp = require ('tmp' );
12 var axios = require ('axios' );
13 var sessionMetadata = require ( );
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-CYFV9tEm.cjs View on unpkg · L24 Code excerpt · 11 lines Cross-file remote execution chain: dist/codexCommand-CYFV9tEm.cjs spawns dist/resources-BZ_Be0qM.cjs; helper contains network access plus dynamic code execution.
24 var codexTermination = require ('./codexTermination-BLKD_F02.cjs' );
25 var node_child_process = require ('node:child_process' );
26 var persistence = require ('./persistence-C4pWmnhc.cjs' );
⋯
51 require ('tweetnacl' );
52 require ('axios' );
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/detectCLI-CbkZldgP.cjs View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = very-happy-cli@0.2.219
matchedIdentity = npm:dmVyeS1oYXBweS1jbGk:0.2.219
similarity = 0.875
summary = stored previous version shares package body but lacks this dangerous source file
High Runtime package install
Package source invokes a package manager install command at runtime.
dist/detectCLI-CbkZldgP.cjs View on unpkg · L2 Code excerpt · 5 lines 3 var child_process = require ('child_process' );
4 var os = require ( );
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 = ggk-happy@1.2.26
matchedPath = scripts/ripgrep_launcher.cjs
matchedIdentity = npm:Z2drLWhhcHB5:1.2.26
similarity = 1.000
summary = normalized source hash matched finalized malicious source
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" );
if
0
return
"ok"
38 const res = await fetch (`${record.baseUrl}/v1/messages` , {
48 model: record.models?.[0 ] ?? DEFAULT_CHECK_MODEL,
'./sessionMetadata-B44cL4Xj.cjs'
20 var auth = require ('./auth-DXyTfxX4.cjs' );
21 var child_process = require ('child_process' );
22 var _package = require ('./package-C1EpwSuo.cjs' );
143 return sessionLock.parseAutoRestartLandings (JSON.parse (node_fs.readFileSync (file, "utf8" )), now ());
158 const server = await fetchServer ();
159 if (server) return { metadata: server, source: "server" };
Critical Encrypted payload temp execution
Source decrypts an embedded payload, writes it to disk, and executes it through a child process.
dist/run-BbZgH0IU.cjs View on unpkg Scanner record · 1 line context = espace = /*#__PURE__*/_interopNamespaceDefault(tmp);\n\nconst AUTO_RESTART_LANDINGS_FILE = "auto-restart-landings.json";\nfunction autoRestartLandingStore(homeDir, now = Date.now) {\n const file = path.join(homeDir, AUTO_RESTART_LANDINGS_FILE);\n return {\n read() {\n try {\n return sessionLock.parseAutoRestartLandings(JSON.parse(node_fs.readFileSync(file, "utf8")), now());\n } catch {\n return {};\n }\n },\n write(landings) {\n const tmp = `${file}.${process.pid}.tmp`;\n node_fs.writeFileSync(tmp, JSON.stringify(landings), { mode: 384 });\n node_fs.renameSync(tmp, file);\n }\n };\n}\n\nasync function resolveRelaunchMetadata(snapshot, fetchServer) {\n try {\n const server = await fetchServer();\n if (server) return
53
require ('./time-Czc6cWej.cjs' );
273 function commandFailed (exitCode, status) {
274 return typeof exitCode === "number" && exitCode !== 0 || status === "failed" || status === "declined" ;
1054 /* @__PURE__ */ React.createElement (ink.Box, { flexDirection: "column" , alignItems: "center" }, actionInProgress ? /* @__PURE__ */ React.createElement (ink.Text,
'os'
8 const DSH_PACKAGE = "@deepseek-ai/dsh" ;
9 const DSH_INSTALL_COMMAND = `npm install -g ${DSH_PACKAGE}` ;
10 const DSH_MIN_NODE = "24.9.0" ;