Loading npm security reports…
Loading npm security reports…
@buzzni/happy-cli: Policy block – 7 npm versions blocked | LPM Firewall
npm / Remote code execution / @buzzni/happy-cli A+ Dev Studio fork of slopus/happy. Mobile and Web client for Claude Code and Codex.
This report shows the evidence for @buzzni/happy-cli@1.1.10-aplus.434 . 7 of 212 known versions are blocked or flagged.
Blocked by LPM policy
Installs and executes package-manager installation flows for additional tools without a separate user request to install those tools.
What to do: remove this version and, if it ran, rotate the credentials it could reach. Remediation↓
AI security reviewscanned on Nov 22, 2026, 13:44 UTC · by lpm-firewall-ai The reachable postinstall hook automatically installs additional companion packages during non-CI global installs. This is a related tool setup flow, but it runs without a separate user request, so it is blocked as a dangerous capability.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
Package postinstall during a non-CI global installation.
Mechanism
Runs npm install -g for codex-multi-auth when no supported version is present, and uv tool install for saycode-claude-swap. HAPPY_SKIP_COMPANION_TOOLS opts out.
Attack narrative
During an eligible global install, the postinstall hook installs two companion tools through npm and uv. The package names and their relationship to the CLI are visible in source, but the installs happen without a separate request. The hook can be disabled with HAPPY_SKIP_COMPANION_TOOLS.
Evidence
package.json scripts/install-companion-tools.cjs
public snapshot
Evidence for block
The package’s postinstall hook runs scripts/install-companion-tools.cjs. On eligible installs, that script runs npm install -g for codex-multi-auth and uv tool install for saycode-claude-swap. The installs occur automatically on non-CI global installs; the environment variable HAPPY_SKIP_COMPANION_TOOLS disables them. Evidence against
The script describes these packages as companion CLIs for Codex and Claude workflows, so the tools are related to the package’s purpose. The hook skips CI, local installs, and users who set HAPPY_SKIP_COMPANION_TOOLS; it also keeps an already supported codex-multi-auth installation. No credential theft or unrelated data collection was established in the inspected paths. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell · Web socket
Supply chain High entropy strings · URL strings
Manifest No manifest risk signals triggered.
Scanned 188 files · 17.6 MB of source
50 external domains referenced
127.0.0.1 a.poc-one.test accounts.google.com api.anthropic.com api.cluster-fluster.com api.deepseek.com api.openai.com api.z.ai apis.opengateway.ai auth.openai.com b.poc-two.test bridge.invalid c.poc-three.test cdn.jsdelivr.net claude.ai console.anthropic.com dev-studio.example developer.mozilla.org developers.google.com dl.google.com example.com example.invalid fburl.com feed.test gist.github.com github.com goo.gle happy.engineering huggingface.co jimmy.warting.se json-schema.org lodash.com oauth2.googleapis.com openbox.org opencollective.com openjsf.org other.com platform.claude.com private.allowed.test prod-studio.example raw.githubusercontent.com react.dev reactjs.org registry.npmjs.org saycode.ai sharp.pixelplumbing.com shop.example studio.example tunnel.example underscorejs.org Oversized source lightweight scan
dist/win32-resident/chunk-EWQWQEP4.mjs 4.57 MB file, sampled 256 KB
Filesystem Network Environment variables Crypto Dynamic require High entropy strings URL strings api.cluster-fluster.com lodash.com openjsf.org underscorejs.org
dist/win32-resident/chunk-MF3XUFP5.mjs 6.32 MB file, sampled 256 KB
Filesystem Network Environment variables High entropy strings URL strings 127.0.0.1 accounts.google.com api.openai.com auth.openai.com console.anthropic.com developers.google.com github.com
Findings6 critical · 14 high · 11 medium · 6 low Source & flagged code29 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/verify-bundled-deps.cjs && node scripts/unpack-tools.cjs && node scripts/fix-node-pty-perms.cjs && node scripts/install-companion-tools.cjs
High Child process
Package source references child process execution.
bin/happy.mjs View on unpkg · L2 Code excerpt · 2 lines 3 import { execFileSync } from 'child_process' ;
4 import { readFileSync } from 'fs' ;
Critical Encrypted payload temp execution
Source decrypts an embedded payload, writes it to disk, and executes it through a child process.
dist/types-BTeHBdmp.mjs View on unpkg Scanner record · 1 line context = this.scope.variant, parsed)).toString("base64"))) {\n const existing = this.readEvent(name);\n if (!existing || JSON.stringify(existing) !== JSON.stringify(parsed)) throw new Error("Usage spool conflicting event retained");\n }\n }\n commit(name, contents, replace = false) {\n const temporary = join(this.directory, `${randomUUID()}.tmp`);\n let fd;\n try {\n fd = openSync(temporary, "wx", this.scope.publicCiphertext ? 420 : 384);\n if (this.scope.publicCiphertext) fchmodSync(fd, 420);\n writeFileSync(fd, contents);\n fsyncSync(fd);\n closeSync(fd);\n fd = void 0;\n try {\n if (replace) renameSync(temporary, join(this.directory, name));\n else linkSync(temporary, join(this.directory, name));\n } catch (e
Code excerpt · 3 lines 2604 stdio: ["ignore" , "ignore" , "ignore" , "ipc" ],
High Eval
Package source references dynamic code evaluation.
scripts/browser-poc/fixture.test.ts View on unpkg · L34 Code excerpt · 3 lines 34 for (const match of body.matchAll (/<script>([\s\S]*?)<\/script>/g)) {
35 expect (() => new Function (match[1 ]), `${path} script` ).not.toThrow ()
36 }
Medium Dynamic require
Package source references dynamic require/import behavior.
bin/happy-resident-session.mjs View on unpkg · L75 Code excerpt · 2 lines 75 process.argv[1 ] = fileURLToPath (entry)
76 await import (entry.href)
scripts/agent-browser/native/macBrowserDnsLan.live.check.ts View file Medium Install persistence
Source writes installer persistence such as shell profile or service configuration.
scripts/agent-browser/native/macBrowserDnsLan.live.check.ts View on unpkg · L9 Code excerpt · 12 lines 9 * sudo dscl . -delete /Users/_saycodetest; sudo dscl . -delete /Groups/_saycodetest;
10 * sudo rm -rf /private/var /tmp/saycode-dnslan
11 */
12 import assert from 'node:assert/strict'
13 import { spawn, spawnSync, type ChildProcess } from 'node:child_process'
14 import { chownSync, existsSync, mkdirSync, rmSync, writeFileSync } from 'node:fs'
15 import { createServer } from
scripts/agent-browser/native/macEgressFence.live.check.ts View file High Same file environment network execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
scripts/agent-browser/native/macEgressFence.live.check.ts View on unpkg · L13 Code excerpt · 8 lines 13 import assert from 'node:assert/strict'
14 import { spawn, spawnSync } from 'node:child_process'
15 import { chown, mkdtemp, rm, writeFile } from 'node:fs/promises'
16 import { createServer } from 'node:http'
17 import type { Server } from 'node:net'
⋯
23
Critical Hardcoded runtime data exfiltration
Source sends credentials or rich application records to a package-controlled external receiver enabled by default.
scripts/sandbox-linux-smoke.ts View on unpkg · L2 Code excerpt · 10 lines Source sends the broad process environment to a literal external destination.
2 import assert from 'node:assert/strict' ;
3 import { createServer } from 'node:http' ;
4 import { spawn, execFileSync } from 'node:child_process' ;
5 import { chmodSync, chownSync, existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs' ;
⋯
13
14 assert.equal (process.platform, 'linux' );
Critical Credential exfiltration
Source appears to send environment or credential material to an external endpoint.
dist/main-BNmoRZzR.cjs View on unpkg · L7 Critical Trigger reachable dangerous capability
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/main-BNmoRZzR.cjs View on unpkg · L7 High Spawned bundled service listener
Source launches a detached bundled service that exposes a broad-bound HTTP listener.
dist/main-BNmoRZzR.cjs View on unpkg · L7 High Trigger reachable credential exfiltration
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/main-BNmoRZzR.cjs View on unpkg · L7 High Trigger reachable persistence
A manifest entrypoint or package-local install chain reaches persistence behavior.
dist/main-BNmoRZzR.cjs View on unpkg · L7 Critical Command output exfiltration
Source executes local commands and sends command output to an external endpoint.
scripts/browser-poc/rollback.mjs View on unpkg Scanner record · 1 line bounded command output exfiltration = ilesync } from 'node:fs';\nimport { dirname, join } from 'node:path';\nimport { fileurltopath } from 'node:url';\nconst root = dirname(fileurltopath(import.meta.url));\nconst at = process.argv.indexof('--run'); const run = at >= 0 ? process.argv[at+1] : '';\nif (!/^[a-z0-9][a-z0-9-]{0,39}$/.test(run)) throw error('--run is required');\nconst path = join(root,'.abp',run,'env.json');\nconst reportpath = join(root,'.abp',run,'rollback-report.json');\nif (!existssync(path)) { const old = existssync(reportpath) ? json.parse(readfilesync(reportpath)) : { run, alreadydown:true }; console.log(json.stringify(old)); process.exit(0); }\nconst listed = execfilesync('docker', ['ps','-aq','--filter',`label=ai.saycode.abp-run=${run}`], {encoding:'utf8'}).trim();\nif
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/types-BIAlMGg9.cjs View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @buzzni/happy-cli@1.1.10-aplus.431
matchedIdentity = npm:QGJ1enpuaS9oYXBweS1jbGk:1.1.10-aplus.431
similarity = 0.908
summary = stored previous version shares package body but lacks this dangerous source file
High Sandbox evasion gated capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/types-BIAlMGg9.cjs View on unpkg · L10 Code excerpt · 12 lines 10 var z = require ('zod' );
11 var axios = ( );
scripts/script-egress-proxy.test.mjs View file High Cloud metadata access
Source reaches cloud instance metadata or link-local credential endpoints.
scripts/script-egress-proxy.test.mjs View on unpkg · L5 Code excerpt · 8 lines 5 test ('resolves and pins only registered public destinations' , async () => {
6 assert.equal (await authorizeDestination ('https://example.com' , ['https://example.com' ], [], async () => ['93.184.216.34' ]), '93.184.216.34' );
7 await assert.rejects (authorizeDestination ('https://other.com' , ['https://example.com' ], [], async () => ['93.184.216.34' ]), /ORIGIN_DENIED/);
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.cjs View on unpkg · L3 Code excerpt · 10 lines Cross-file remote execution chain: dist/index.cjs spawns dist/main-BNmoRZzR.cjs; helper contains network access plus dynamic code execution.
3 var launchMcpSeed = require ('./launchMcpSeed-BRNy3TDZ.cjs' );
4 var node_child_process = require ('node:child_process' );
5 var node_fs = require ('node:fs' );
⋯
13 execPath: process.execPath,
14 env: process.env,
15 resolveSaycodeManifest: () => moduleApi.createRequire ((typeof document === 'undefined' ? require ( + ). (__filename).href : (_documentCurrentScript && _documentCu...
Medium Ships native binary
Package ships native binary artifacts.
native/darwin-x64/browser-host.node View on unpkg Scanner record · 4 lines path = native/darwin-x64/browser-host.node
kind = native_binary
sizeBytes = 18888
magicHex = [redacted]
scripts/windows-browser-service.check.ps1 View file Medium Ships build helper
Package ships non-JavaScript build or shell helper files.
scripts/windows-browser-service.check.ps1 View on unpkg Scanner record · 4 lines path = scripts/windows-browser-service.check.ps1
kind = build_helper
sizeBytes = 15831
magicHex = [redacted]
dist/win32-resident/chunk-EWQWQEP4.mjs View file Medium Oversized source file
Package contains source files above the normal full-analysis size ceiling.
dist/win32-resident/chunk-EWQWQEP4.mjs View on unpkg Scanner record · 4 lines path = dist/win32-resident/chunk-EWQWQEP4.mjs
kind = oversized_source_file
sizeBytes = 4788473
magicHex = [redacted]
node_modules/@buzzni/saycode-cli/index.mjs View file Medium Oversized CLI entrypoint
Package contains an oversized executable-looking CLI entrypoint.
node_modules/@buzzni/saycode-cli/index.mjs View on unpkg Scanner record · 4 lines path = node_modules/@buzzni/saycode-cli/index.mjs
kind = oversized_cli_entrypoint
sizeBytes = 7612473
magicHex = [redacted]
node_modules/zod/src/v3/tests/string.test.ts View file High Semantic analysis limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
node_modules/zod/src/v3/tests/string.test.ts View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_alias_growth_limit_exceeded; limitedFiles = 1
Versions212 known versions Version Type Decision Report Released
1.1.10-aplus.434 latest Policy block: runs code the user cannot review Blocked Published Nov 22, 2026 1.1.10-aplus.433 Policy block: runs code the user cannot review Blocked Published Nov 22, 2026 1.1.10-aplus.432 Policy block: runs code the user cannot review Blocked Published Nov 22, 2026 1.1.10-aplus.431 — Allowed Published Nov 22, 2026 1.1.10-aplus.430 — Allowed Published Nov 21, 2026 1.1.10-aplus.429 Policy block: runs code the user cannot review Blocked Published Nov 20, 2026 1.1.10-aplus.428 Policy block: runs code the user cannot review Blocked Published Nov 19, 2026 1.1.10-aplus.427 — Allowed Published Nov 19, 2026 1.1.10-aplus.426 — Allowed Published Nov 19, 2026 1.1.10-aplus.425 — Allowed Published Nov 18, 2026 1.1.10-aplus.424 Policy block: runs code the user cannot review Blocked Published Nov 18, 2026 1.1.10-aplus.422 Policy block: runs code the user cannot review Blocked Published Nov 17, 2026 1.1.10-aplus.421 — Allowed Published Nov 16, 2026 1.1.10-aplus.420 — Allowed Published Nov 15, 2026 1.1.10-aplus.418 — Allowed Published Nov 15, 2026 1.1.10-aplus.416 — Allowed Published Nov 15, 2026 1.1.10-aplus.412 — Allowed Published Nov 11, 2026 1.1.10-aplus.410 — Allowed Published Nov 11, 2026 1.1.10-aplus.409 — Allowed Published Nov 10, 2026 1.1.10-aplus.408 — Allowed Published Nov 10, 2026 1.1.10-aplus.407 — Allowed Published Nov 10, 2026 1.1.10-aplus.404 — Allowed Published Nov 9, 2026 1.1.10-aplus.402 — Allowed Published Nov 8, 2026 1.1.10-aplus.400 — Allowed Published Nov 8, 2026 1.1.10-aplus.399 — Allowed Published Nov 8, 2026 1.1.10-aplus.396 — Allowed Published Nov 7, 2026 1.1.10-aplus.394 — Allowed Published Nov 6, 2026 1.1.10-aplus.393 — Allowed Published Nov 6, 2026 1.1.10-aplus.389 — Allowed Published Nov 5, 2026 1.1.10-aplus.388 — Allowed Published Nov 5, 2026 1.1.10-aplus.387 — Allowed Published Nov 5, 2026 1.1.10-aplus.385 — Allowed Published Nov 4, 2026 1.1.10-aplus.384 — Allowed Published Nov 4, 2026 1.1.10-aplus.382 — Allowed Published Nov 3, 2026 1.1.10-aplus.381 — Allowed Published Nov 2, 2026 1.1.10-aplus.380 — Allowed Published Nov 2, 2026 1.1.10-aplus.379 — Allowed Published Nov 2, 2026 1.1.10-aplus.378 — Allowed Published Nov 2, 2026 1.1.10-aplus.375 — Allowed Published Nov 1, 2026 1.1.10-aplus.374 — Allowed Published Nov 1, 2026 1.1.10-aplus.373 — Allowed Published Oct 31, 2026 1.1.10-aplus.372 — Allowed Published Oct 30, 2026 1.1.10-aplus.371 — Allowed Published Oct 30, 2026 1.1.10-aplus.370 — Allowed Published Oct 30, 2026 1.1.10-aplus.369 — Allowed Published Oct 30, 2026 1.1.10-aplus.367 — Allowed Published Oct 29, 2026 1.1.10-aplus.357 Credential exfiltration Warning Published Oct 25, 2026 1.1.10-aplus.351 Install hook abuse Warning Published Oct 22, 2026 1.1.10-aplus.300 Install hook abuse Warning Published Oct 7, 2026 1.1.10-aplus.293 Credential exfiltration Warning Published Oct 5, 2026 Show 40 more versions Show fewer versions Showing the 100 most recent of 212 known versions. 50 versions are still under review and not listed.
AI assessment confidence 90%
Certainty of the AI review, not severity.
Verdict details Intent, False-positive risk, Review stage, Firewall policy Runs code the user cannot review. An LPM review rule requires blocking this behavior, but the AI review did not find malware intent; this finding does not say the publisher attacks its users.
Package metadata npm Author Kirill Dubovitskiy
Version 1.1.10-aplus.434
Published Nov 22, 2026
License MIT
Dependencies 43
Integrity verified
Package size 110 MB
Files 1,396
Runtime surface package.json Entrypoints main → ./dist/index.cjs module → ./dist/index.mjs types → ./dist/index.d.cts exports map bin → happy, happy-browser-session-broker, happy-mcp
Runtime No engine / OS / CPU constraints
Artifact 152 MB unpacked · 1,396 files 2 signatures · provenance
Install lifecycle postinstall prepublishOnly
On this report AI security review Decision evidence Findings37 Flagged code29 Remediation Versions goo.gle
jimmy.warting.se
oauth2.googleapis.com
react.dev
saycode.ai
www.apple.com
www.googleapis.com
Package metadata 8 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
Low Non install lifecycle scripts
2605 execArgv: ["--max-old-space-size=32" ]
70 require ('./frames-C9ZL6IwF.cjs' );
129 return { quiesced: true , exitCode: 0 , signal: null , providerState };
337 parsed = JSON.parse (raw.toString ("utf8" ));
'node:http'
16 import { networkInterfaces } from 'node:os'
34 child.stdout!.on ('data' , (d) => { out += d })
35 const timer = setTimeout (() => { try { process.kill (-child.pid!, 'SIGKILL' ) } catch { /* gone */ } }, 90_000)
46 assert (existsSync (CHROME), `Chrome not found at ${CHROME}` )
// Optional real-account mode: SAYCODE_FENCE_ACCOUNT=<name> SAYCODE_FENCE_UID=<uid> (set by macEgressFence.account.sh).
24 const FENCED_ACCOUNT = process.env.SAYCODE_FENCE_ACCOUNT
25 const FENCED_UID = Number (process.env.SAYCODE_FENCE_UID ?? 471 )
15 assert.equal (process.env.HAPPY_SANDBOX_LINUX_SMOKE, '1' );
16 const uid = (name: string) => Number (execFileSync ('/usr/bin/id' , ['-u' , name], { encoding: 'utf8' }).trim ());
23 writeFileSync ('/etc/aplus/sandbox-policy.json' , '{"mode":"mandatory"}' );
24 writeFileSync ('/etc/aplus/claude-sandbox.json' , JSON.stringify ({ allowedDomains: ['api.anthropic.com' , 'platform.claude.com' , 'private.allowed.t
Shared code excerpt · 5 findings · 12 lines 7 var persistence = require ('./persistence-Bmh4_OxK.cjs' );
8 var http = require ('node:http' );
9 var node_stream = require ('node:stream' );
10 var api = require ('./types-BIAlMGg9.cjs' );
11 var node_child_process = require ('node:child_process' );
12 var fs = require ('node:fs/promises' );
⋯
120 persistence.SandboxConfigSchema.parse ({}),
121 process.cwd (),
122 "mandatory"
⋯
166 res.writeHead (status, { "content-type" : "application/json" , "cache-control" : "no-store" });
167 res.end (JSON.stringify ({ error: { code, message, type: "agent_plan_proxy_error" } }));
168 }
High Remote agent bridge
Source exposes local file and command tools to a remote model endpoint.
dist/main-BNmoRZzR.cjs View on unpkg · L10 Code excerpt · 9 lines 10 var api = require ('./types-BIAlMGg9.cjs' );
11 var node_child_process = require ('node:child_process' );
12 var fs = require ('node:fs/promises' );
⋯
264 return {
265 baseUrl: `http://127.0.0.1:${port}` ,
266 close: () => {
⋯
2291 }
2292 const settingsContent = node_fs.readFileSync (settingsPath, "utf-8" );
2293 const settings = JSON.parse (settingsContent);
require
'axios'
12 var node_events = require ('node:events' );
13 var fs = require ('node:fs/promises' );
14 var node_child_process = require ('node:child_process' );
15 var nativeHostPrimitives = require ('./nativeHostPrimitives-F1rVaPoW.cjs' );
98 if (bytes > maximum) throw new Error ("oversize usage spool file" );
99 return buffer.subarray (0 , bytes).toString ("utf8" );
9 test ('blocks metadata, loopback, RFC1918, carrier NAT and mixed public/private DNS answers' , async () => {
10 for (const address of ['127.0.0.1' , '169.254.169.254' , '10.0.0.1' , '172.16.0.1' , '192.168.0.1' , '100.64.0.1' , '0.0.0.0' , '224.0.0.1' , '::1' ]) {
16 await assert.rejects (authorizeDestination ('http://db:8090' , [], ['http://db:8090' ], async () => ['172.18.0.2' ]), /ORIGIN_DENIED/);
'u'
'rl'
pathToFileURL
16 readManifest: (path) => node_fs.readFileSync (path, "utf8" ),
20 const manifestPath = dependencies.resolveSaycodeManifest ();
21 const manifest = JSON.parse (dependencies.readManifest (manifestPath));
22 const saycodeBin = manifest.bin?.