Loading npm security reports…
Loading npm security reports…
very-happy-cli@0.2.160: AI-agent capability abuse – flagged | LPM Firewall
Flagged as AI-agent capability risk
Allowed by default with warning: agent-facing configuration or capability changes need review before use.
AI security reviewscanned on Sep 30, 2026, 10:28 UTC · by lpm-firewall-ai Inspected source supports explicit user-command agent configuration mutation, which the supplied policy classifies as warning-only. The command gate and guarded local forwarding do not support publication blocking.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
The user runs very-happy install-terminal-hooks.
Impact
Claude subsequently executes the installed hooks for session events, with forwarding restricted by terminal environment checks.
Mechanism
The installer merges SessionStart and SessionEnd command hooks into Claude settings; the forwarder conditionally posts hook input to the local daemon.
Evidence
dist/main-BwNIAI1A.mjs dist/installTerminalHooks-By7gBMEF.mjs scripts/terminal_mirror_forwarder.cjs settings.json
public snapshot
Evidence for warning
The explicit install-terminal-hooks command activates the hook installer. The installer targets Claude's global settings.json and saves modified settings. It adds command hooks with a wildcard matcher while preserving foreign hooks. The installed forwarder exits outside eligible Very Happy terminals and sends hook events to the local daemon. The npm postinstall invokes tool extraction and terminal permission repair. Evidence against
No covert installation of agent hooks or confirmed malicious attack was established. The forwarder's inspected destination is loopback, and its execution has environment guards. 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 263 files · 4.24 MB of source
19 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 oauth2.googleapis.com opencode.ai registry.npmjs.org veryhappy.dev www.apple.com www.googleapis.com Findings11 high · 7 medium · 5 low Source & flagged code15 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 · 3 lines 24 try {
25 child_process.execSync (`powershell -NoProfile -Command "Get-Command ${name} -ErrorAction SilentlyContinue"` , { stdio: "ignore" , windowsHide: true });
26 return true ;
Medium Dynamic require
Package source references dynamic require/import behavior.
dist/sessionOps-Dn8z85h_.cjs View on unpkg · L2 Code excerpt · 2 lines 3 var axios = require ('axios' );
4 var configuration = require ('./configuration-BSYpcPwE.cjs' );
Medium Install persistence
Source writes installer persistence such as shell profile or service configuration.
dist/install-CFY3tYtJ.mjs View on unpkg · L2 Code excerpt · 12 lines 2 import { existsSync, writeFileSync, chmodSync } from 'fs' ;
3 import { execSync } from 'child_process' ;
4 import { t as trimIdent } from './trimIdent-BAjmv_TG.mjs' ;
⋯
20 logger.info ("Daemon plist already exists. Uninstalling first..." );
21 execSync (`launchctl unload ${PLIST_FILE}` , { stdio: "inherit" });
22 }
⋯
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-C8a1OrNQ.mjs View on unpkg · L81 Code excerpt · 9 lines 81 return {
82 url: `http://127.0.0.1:${server.address().port}${path}` ,
83 stop: () => new Promise ((resolve, reject) => {
⋯
89 async function runPiTerminal (args) {
90 const terminalId = resolveMcpTerminalId ({ VH_TERMINAL_ID: process.env.VH_TERMINAL_ID });
91 if (!terminalId) throw new Error ("Run `very-happy pi --terminal` inside a Very Happy terminal (VH_TERMINAL_ID is required)." );
High Credential redirect persistence
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/run-CJzxoHVh.cjs View on unpkg Scanner record · 8 lines Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
dist/run-CJzxoHVh.cjsreturn serverMetadata.claudeSessionId ?? void 0;
return persistedMetadata?.claudeSessionId ?? void 0;
if (!metadata.codexThreadId) return { ok: false, reason: "no-backend-id", detail: "session has no Codex thread id" };
if (!mirrorProtocol.isClaudeSessionId(metadata.claudeSessionId)) {
if (!fs.conversationExists(metadata.path, metadata.claudeSessionId)) {
return { ok: false, reason: "conversation-missing", detail: `conversation ${metadata.claudeSessionId} is not on disk` };
function [redacted](authorization, controlToken) {
const candidate = authorization?.startsWith(prefix) ? authorization.slice(prefix.length) :
High Sandbox evasion gated capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/run-CJzxoHVh.cjs High Copied package dependency bridge
Package metadata claims a different repository identity while copied source loads a runtime dependency bridge.
dist/selfCheck-C9mVrQwf.mjs View on unpkg · L47 Code excerpt · 4 lines package = very-happy-cli; repositoryIdentity = very-happy; dependency = expo-server-sdk
47 // External packages imported on demand
48 ["expo-server-sdk" , () => import ('expo-server-sdk' )],
49 ["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-4zcccIoq.cjs View on unpkg · L16 Code excerpt · 11 lines Cross-file remote execution chain: dist/codexCommand-4zcccIoq.cjs spawns dist/resources-JDPugcDq.cjs; helper contains network access plus dynamic code execution.
16 var BaseReasoningProcessor = require ('./BaseReasoningProcessor-BFa9_rZA.cjs' );
17 var node_child_process = require ('node:child_process' );
18 var persistence = require ('./persistence-yKTH3-5X.cjs' );
⋯
36 require ('tweetnacl' );
37 require ('axios' );
High Trigger reachable persistence
A manifest entrypoint or package-local install chain reaches persistence behavior.
dist/install-BgoC2e_2.cjs View on unpkg · L4 Code excerpt · 12 lines Trigger-reachable persistence chain: manifest.main -> dist/index.cjs -> dist/index-DDeHXrIX.cjs -> dist/main-BkxJP6JQ.cjs -> dist/install-BgoC2e_2.cjs
4 var fs = require ('fs' );
5 var child_process = require ('child_process' );
6 var trimIdent = require ('./trimIdent-4gvk9Wk6.cjs' );
⋯
22 logger.logger.info ("Daemon plist already exists. Uninstalling first..." );
23 child_process.execSync (`launchctl unload ${PLIST_FILE}` , { stdio: "inherit" });
dist/connect-BpOdzNbE.mjs#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-BpOdzNbE.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 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.21
matchedPath = scripts/ripgrep_launcher.cjs
matchedIdentity = npm:b3phaXlhLWNsaQ:0.11.21
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
52
<key>StandardErrorPath</key>
53 <string>${os.homedir ()}/.happy/daemon.err</string>
75 async function install () {
76 if (process.platform !== "darwin" ) {
77 throw new Error ("Daemon installation is currently only supported on macOS" );
⋯
95 return await new Promise ((resolve, reject) => {
96 const child = spawn (runtime.PI_ACP_PI_COMMAND, args, {
Code excerpt · 11 lines 3 var node_child_process = require ('node:child_process' );
4 var index = require ('./index-DA7yINuk.cjs' );
⋯
8 var tmp = require ('tmp' );
9 var axios = require ('axios' );
10 var api = require ('./api-CgundNNX.cjs' );
⋯
119 { timeout: 5e3, maxBuffer: 32 * 1024 , windowsHide: true , shell },
120 (error, stdout) => error ? reject (error) : resolve (stdout)
121 );
122 });
123 async function probeAgentVersion (command, platform = process.platform, run = runVersionCommand) {
124 if (platform === "win32" ) {
38
require ('./time-DCuTyook.cjs' );
807 const confirmationTimeoutRef = React.useRef (null );
808 const { stdout } = ink.useStdout ();
809 const terminalWidth = stdout.columns || 80 ;
913 /* @__PURE__ */ React.createElement (ink.Box, { flexDirection: "column" , alignItems: "center" }, actionInProgress ? /* @__PURE__ */ React.createElement (ink.Text, { color
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" );