Loading npm security reports…
Loading npm security reports…
very-happy-cli@0.2.132: 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 12, 2026, 18:06 UTC · by lpm-firewall-ai No concrete credential theft, remote payload execution, or install-time Claude configuration mutation was found. The explicit command still alters a global AI-agent hook surface and should be warned on.
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
The user runs very-happy install-terminal-hooks, then starts Claude in a qualifying Very Happy terminal.
Impact
Claude session event data can be mirrored into the package's local daemon; this changes an AI-agent control surface.
Mechanism
User-invoked Claude hook installation and localhost session forwarding.
Evidence
dist/installTerminalHooks-CPZ3vVn8.cjs scripts/terminal_mirror_forwarder.cjs ~/.claude/settings.json
public snapshot
Evidence for warning
The explicit install-terminal-hooks command writes SessionStart and SessionEnd command hooks into the user's Claude settings. The installed hook forwards hook JSON to a local daemon when a Very Happy terminal identifier is present. Evidence against
The postinstall hook only unpacks bundled platform tools and restores node-pty executable permissions. The Claude settings mutation is reachable only through the named CLI subcommand, not during npm installation. The forwarding script exits unless it runs in a marked Very Happy terminal and sends only to localhost. 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.48 MB of source
16 external domains referenced
127.0.0.1 accounts.google.com api.cluster-fluster.com api.openai.com auth.openai.com claude.ai console.anthropic.com developers.google.com github.com goo.gle happy.mereith.com oauth2.googleapis.com registry.npmjs.org veryhappy.dev www.apple.com www.googleapis.com Findings3 critical · 12 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 · 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-DHkYfENQ.cjs View on unpkg · L2 Code excerpt · 2 lines 3 var agentGuidance = require ('./agentGuidance-R9MH5Cd5.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-D1gHXtkw.mjs View on unpkg · L4 Medium Install persistence
Source writes installer persistence such as shell profile or service configuration.
dist/index-D1gHXtkw.mjs View on unpkg · L4 Shared code excerpt · 2 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 as readDaemonState, l as logger, c as configuration, A as clearDaemonState, B as ensurePrivateDirectory, D as hardenPrivateFile, p as packageJson, g as 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-Dn7s2iaT.cjs View on unpkg · L17 High Sandbox evasion gated capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/index-Dn7s2iaT.cjs View on unpkg · L17 High Trigger reachable credential exfiltration
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/index-Dn7s2iaT.cjs View on unpkg · L17 High Trigger reachable persistence
A manifest entrypoint or package-local install chain reaches persistence behavior.
dist/index-Dn7s2iaT.cjs View on unpkg · L17 Shared code excerpt · 4 findings · 12 lines Trigger-reachable chain: manifest.main -> dist/index.cjs -> dist/index-Dn7s2iaT.cjs
17 var claudeAgentSdk = ( );
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-CjopZZg3.cjs View on unpkg · L10 Code excerpt · 11 lines Cross-file remote execution chain: dist/index-CjopZZg3.cjs spawns dist/index-Dn7s2iaT.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-ByHu69K5.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-ByHu69K5.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 = @buzzni/happy-cli@1.1.10-aplus.113
matchedPath = scripts/ripgrep_launcher.cjs
matchedIdentity = npm:QGJ1enpuaS9oYXBweS1jbGk:1.1.10-aplus.113
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.
scripts/claude_local_launcher.cjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @buzzni/happy-cli@1.1.10-aplus.113
matchedPath = scripts/claude_local_launcher.cjs
matchedIdentity = npm:QGJ1enpuaS9oYXBweS1jbGk:1.1.10-aplus.113
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 = @buzzni/happy-cli@1.1.10-aplus.113
matchedPath = dist/index.cjs
matchedIdentity = npm:QGJ1enpuaS9oYXBweS1jbGk:1.1.10-aplus.113
similarity = 0.787
shingleOverlap = 37
summary = source token shingles overlapped finalized malicious source
Code↓
Package metadata 8 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
Low Non install lifecycle scripts
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' ;
require
'@anthropic-ai/claude-agent-sdk'
18 var axios = require ('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}` , {
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/index-Dn7s2iaT.cjs View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = very-happy-cli@0.2.137
matchedIdentity = npm:dmVyeS1oYXBweS1jbGk:0.2.137
similarity = 0.871
summary = stored previous version shares package body but lacks this dangerous source file
High Credential redirect persistence
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/index-Dn7s2iaT.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-Dn7s2iaT.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 });