Loading npm security reports…
Loading npm security reports…
very-happy-cli@0.2.138: 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 13, 2026, 12:13 UTC · by lpm-firewall-ai The package exposes an explicit global Claude-hook mutation and local session forwarding capability, which warrants a warning. Direct inspection found no automatic foreign agent-control mutation, self-dependency chain, or confirmed external secret exfiltration.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
The user runs very-happy install-terminal-hooks, then starts Claude inside a marked Very Happy web terminal.
Impact
The package can observe and mirror Claude hook payloads in that terminal context; the mutation is user-invoked rather than install-time.
Mechanism
Global Claude hook installation with loopback session-event forwarding.
Evidence
dist/index-Dbl5U_N0.mjs dist/installTerminalHooks-DfUGgeyb.mjs scripts/terminal_mirror_forwarder.cjs package.json ~/.claude/settings.json ~/.happy/daemon.state.json
public snapshot
Evidence for warning
The CLI has an explicit command that installs Claude SessionStart and SessionEnd hooks into the user's global settings. Those hooks run a package script that forwards Claude hook input to a local daemon. A postinstall hook automatically extracts bundled tools and changes executable permissions. Evidence against
The global Claude-settings change requires the explicit install-terminal-hooks command; it is not called by postinstall. The forwarding script exits unless it is inside a marked Very Happy terminal and sends only to 127.0.0.1. The reviewed postinstall scripts only unpack packaged tools and restore node-pty helper permissions. 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 56 files · 3.54 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 Findings2 critical · 15 high · 7 medium · 5 low Source & flagged code21 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 10 // Check if we're already running with the flags
11 const hasNoWarnings = process.execArgv.includes ('--no-warnings' );
12 const hasNoDeprecation = process.execArgv.includes ('--no-deprecation' );
Medium Dynamic require
Package source references dynamic require/import behavior.
dist/mcp-CN2UVfut.cjs View on unpkg · L2 Code excerpt · 2 lines 3 var agentGuidance = require ('./agentGuidance-4HV-BOge.cjs' );
4 var mcp_js = require ('@[redacted].js' );
Critical Credential exfiltration
Source appears to send environment or credential material to an external endpoint.
dist/index-Dbl5U_N0.mjs View on unpkg · L4 High Sandbox evasion gated capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/index-Dbl5U_N0.mjs View on unpkg · L4 Medium Install persistence
Source writes installer persistence such as shell profile or service configuration.
dist/index-Dbl5U_N0.mjs View on unpkg · L4 Shared code excerpt · 3 findings · 10 lines 4 import { j as getProjectPath, g as BUILTIN_TODO_DISCOVERY, p as projectPath, k as initializeSandbox, w as wrapCommand, d as contentLogMetadata, I as InvalidateSync, R as RawJSONLin...
5 import { z readDaemonState, l logger, c configuration, A clearDaemonState, B ensurePrivateDirectory, D hardenPrivateFile, p packageJson, g readSettings, E a...
Critical Trigger reachable dangerous capability
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/index-CRRK5P1r.cjs View on unpkg · L17 High Trigger reachable credential exfiltration
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/index-CRRK5P1r.cjs View on unpkg · L17 High Trigger reachable persistence
A manifest entrypoint or package-local install chain reaches persistence behavior.
dist/index-CRRK5P1r.cjs View on unpkg · L17 Shared code excerpt · 3 findings · 12 lines Trigger-reachable chain: manifest.main -> dist/index.cjs -> dist/index-CRRK5P1r.cjs
17 var claudeAgentSdk = require ('@anthropic-ai/claude-agent-sdk' );
18 var axios = require ('axios' );
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/index-3N-qu-RG.cjs View on unpkg · L10 Code excerpt · 11 lines Cross-file remote execution chain: dist/index-3N-qu-RG.cjs spawns dist/index-CRRK5P1r.cjs; helper contains network access plus dynamic code execution.
10 var path = require ('node:path' );
11 require ('node:child_process' );
12 require ('@agentclientprotocol/sdk' );
⋯
19 require ('@paralleldrive/cuid2' );
20 require ('axios' );
21 require ('node:events' );
dist/runOpenClaw-BcUmnBpW.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/runOpenClaw-BcUmnBpW.mjs#virtual:normalized:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 2
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
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/index.cjs View on unpkg Scanner record · 7 lines matchType = token_shingles
matchedPackage = claudeputer@1.1.41
matchedPath = dist/index.cjs
matchedIdentity = npm:Y2xhdWRlcHV0ZXI:1.1.41
similarity = 1.000
shingleOverlap = 40
summary = source token shingles overlapped finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
scripts/claude_local_launcher.cjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = ozaiya-cli@0.11.21
matchedPath = scripts/claude_local_launcher.cjs
matchedIdentity = npm:b3phaXlhLWNsaQ:0.11.21
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/index.mjs View on unpkg Scanner record · 7 lines matchType = token_shingles
matchedPackage = claudeputer@1.1.41
matchedPath = dist/index.mjs
matchedIdentity = npm:Y2xhdWRlcHV0ZXI:1.1.41
similarity = 0.925
shingleOverlap = 37
summary = source token shingles overlapped finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/lib.cjs View on unpkg Scanner record · 7 lines matchType = token_shingles
matchedPackage = claudeputer@1.1.41
matchedPath = dist/lib.cjs
matchedIdentity = npm:Y2xhdWRlcHV0ZXI:1.1.41
similarity = 0.833
shingleOverlap = 40
summary = source token shingles overlapped finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/lib.mjs View on unpkg Scanner record · 7 lines matchType = token_shingles
matchedPackage = claudeputer@1.1.41
matchedPath = dist/lib.mjs
matchedIdentity = npm:Y2xhdWRlcHV0ZXI:1.1.41
similarity = 0.744
shingleOverlap = 32
summary = source token shingles overlapped finalized malicious source
High Install time lifecycle scripts Code↓
Package metadata 8 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
Low Non install lifecycle scripts
as
as
as
as
as
as
as
as
6 import spawn$1, { spawn } from 'cross-spawn' ;
12 import fs, { watch, access } from 'fs/promises' ;
13 import { useStdout, useInput, Box, Text, render } from 'ink' ;
14 import React, { useState, useRef, useEffect, useCallback } from 'react' ;
15 import { query as query$1, AbortError } from '@anthropic-ai/claude-agent-sdk' ;
16 import axios, { AxiosError } from 'axios' ;
19
require ('node:events' );
22 var os$1 = require ('os' );
23 var child_process = require ('child_process' );
24 var cuid2 = require ('@paralleldrive/cuid2' );
108 metadata: snapshot.metadata,
109 metadataVersion: snapshot.metadataVersion,
143 const timeout = process.env.HAPPY_DAEMON_HTTP_TIMEOUT ? parseInt (process.env.HAPPY_DAEMON_HTTP_TIMEOUT) : 1e4;
144 const response = await fetch (`http://127.0.0.1:${state.httpPort}${path}` , {
High Credential redirect persistence
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/index-CRRK5P1r.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/index-CRRK5P1r.cjsvar node_readline = require('node:readline');
var promises$1 = require('node:readline/promises');
...controlToken ? { Authorization: `Bearer ${controlToken}` } : {}
this.claudeEnvVars = opts.claudeEnvVars;
this.claudeArgs = opts.claudeArgs;
if (!this.claudeArgs) return;
for (let i = 0; i < this.claudeArgs.length; i++) {
const arg = this.claudeArgs[i];
80 import { spawn } from 'node:child_process' ;
81 const child = spawn (process.env.VH_TEAM_PI_COMMAND || 'pi' , ['--extension' , ${JSON.stringify (extension)}, ...process.argv.slice (2 )], {stdio:'inherit' ,env:process.env,shell:process....
82 child.on ('error' ,()=>{process.stderr.write ('Very Happy could not launch pi\\n' );process.exitCode=1 });
83 child.on ('exit' ,(code)=>{process.exitCode=code ?? 1 });