Loading npm security reports…
Loading npm security reports…
very-happy-cli@0.2.183: Agent extension lifecycle risk – flagged | LPM Firewall
npm / very-happy-cli / 0.2.183 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 23, 2026, 05:01 UTC · by lpm-firewall-ai Source inspection found automatic first-party assistant setup during assistant startup, but it is confined to the package's own assistant home. The terminal-hook configuration requires an explicit command, and the flagged runtime locations did not establish the reported payload execution.
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
Starting an assistant session through the daemon.
Impact
This configures the package-owned assistant's behavior; no effect on global Claude settings or unrelated agent configuration was established.
Mechanism
The runtime writes missing assistant instruction and memory files under the package's happy-home directory.
Evidence
dist/bootstrap-C50NkfPx.cjs dist/run-CxRJk9qq.cjs
public snapshot
Evidence for warning
Starting an assistant session automatically creates its assistant home and missing instruction and memory files. The installed Claude terminal hooks require an explicit CLI command and a tmux readiness check. The package postinstall runs tool unpacking and PTY permission repair. Evidence against
The assistant home is stored under the package's own happy-home directory, rather than the global Claude settings directory. The flagged runtime byte locations are ordinary log handling and daemon event handling; inspection did not find the claimed encrypted payload execution. 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 298 files · 5.44 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 · 10 high · 7 medium · 5 low Source & flagged code18 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' ;
dist/registerCommonHandlers-a9lHojSV.mjs View file High Shell
Package source references shell execution.
dist/registerCommonHandlers-a9lHojSV.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 require
Package source references dynamic require/import behavior.
dist/template-CeC1dYe-.cjs View on unpkg · L2 Code excerpt · 2 lines 3 var index = require ('./index-Fq-jxjsB.cjs' );
4
High Trigger reachable persistence
A manifest entrypoint or package-local install chain reaches persistence behavior.
dist/install-cn98bTCs.cjs View on unpkg · L4 Medium Install persistence
Source writes installer persistence such as shell profile or service configuration.
dist/install-cn98bTCs.cjs View on unpkg · L4 Shared code excerpt · 2 findings · 12 lines Trigger-reachable persistence chain: manifest.main -> dist/index.cjs -> dist/index-BdJs0465.cjs -> dist/main-4iiwYpCR.cjs -> dist/install-cn98bTCs.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-Cz4pW55d.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-CxRJk9qq.cjs View on unpkg · L8 Code excerpt · 12 lines 8 var tmp = require ('tmp' );
9 var axios = require ('axios' );
10 var node_fs = require ('node:fs' );
⋯
17 var auth = require ('./auth-CYtk9_ga.cjs' );
18 var child_process = require ('child_process' );
19 var _package = require ('./package-3aPiSpZj.cjs' );
High Copied package dependency bridge
Package metadata claims a different repository identity while copied source loads a runtime dependency bridge.
dist/selfCheck-CE7vlnNS.cjs View on unpkg · L50 Code excerpt · 4 lines package = very-happy-cli; repositoryIdentity = very-happy; dependency = expo-server-sdk
50 // External packages imported on demand
51 ["expo-server-sdk" , () => import ('expo-server-sdk' )],
52 ["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-Bqp2--g_.mjs View on unpkg · L11 Code excerpt · 6 lines Cross-file remote execution chain: dist/codexCommand-Bqp2--g_.mjs spawns dist/resources-CLdQfe3b.mjs; helper contains network access plus dynamic code execution.
11 import { C as CLAUDE_ATTACHMENT_KINDS, a as stageClaudeAttachments, b as appendStagedAttachmentsToPrompt } from './attachmentContent-DwY0uIg6.mjs' ;
12 import { useStdout, useInput, Box, Text, render } from 'ink' ;
13 import { c as claimSessionOrExit, a as applyServerSnapshot, b as applyReconnectReplay, w as withoutServerSnapshot, m as mergeReconnectMetadata, e as exitCursorStamp } from './sessi...
dist/connect-B5UbfmO3.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-B5UbfmO3.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/apiMachine-B-FNBIYG.cjs View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = very-happy-cli@0.2.177
matchedIdentity = npm:dmVyeS1oYXBweS1jbGk:0.2.177
similarity = 0.450
summary = stored previous version shares package body but lacks this dangerous source file
1 finding
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, {
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 ("Invalid ...
Critical Encrypted payload temp execution
Source decrypts an embedded payload, writes it to disk, and executes it through a child process.
dist/run-CxRJk9qq.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-CxRJk9qq.cjs View on unpkg · L8 Code excerpt · 12 lines Trigger-reachable chain: manifest.main -> dist/index.cjs -> dist/index-BdJs0465.cjs -> dist/main-4iiwYpCR.cjs -> dist/run-CxRJk9qq.cjs
8 var tmp = require ('tmp' );
9 var axios = require ('axios' );
10 var node_fs = require ('node:fs' );
⋯
17 var auth = require ('./auth-CYtk9_ga.cjs' );
18 var child_process = require ('child_process' );
19 var _package = require ('./package-3aPiSpZj.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.phase)) throw new Error
High Trigger reachable credential exfiltration
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/run-CxRJk9qq.cjs View on unpkg · L8 Code excerpt · 12 lines Trigger-reachable credential exfiltration chain: manifest.main -> dist/index.cjs -> dist/index-BdJs0465.cjs -> dist/main-4iiwYpCR.cjs -> dist/run-CxRJk9qq.cjs
8 var tmp = require ('tmp' );
9 var axios = require ('axios' );
10 var node_fs = require ('node:fs' );
⋯
17 var auth = require ('./auth-CYtk9_ga.cjs' );
18 var child_process = require ('child_process' );
19 var _package = require ('./package-3aPiSpZj.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
⋯
19 import { B as BaseReasoningProcessor, s as settleCodexSession } from './codexTermination-DsliWl_s.mjs' ;
20 import { execSync } from 'node:child_process' ;
21 import { r as readSettings, l as latchKeepAwake, e as evalu