Loading npm security reports…
Loading npm security reports…
@buzzni/happy-cli@1.1.10-aplus.408: npm security report – allowed | LPM Firewall
Allowed — no malicious behavior detected
37 low-signal patterns reviewed and cleared.
AI security reviewscanned on Nov 10, 2026, 07:06 UTC · by lpm-firewall-ai The reviewed install hook performs package setup and may install pinned companion CLIs only during a global non-CI install. The credential and command-output findings point to isolated PoC or smoke-test code using synthetic inputs, with no malicious behavior identified in the inspected entrypoints.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
The postinstall hook runs during installation; companion tools are installed only for global non-CI installs. Runtime functionality starts when a CLI command is invoked.
Impact
No automatic credential theft, unrelated collection, or concealed execution was found in the inspected paths. A global non-CI install may add companion CLIs.
Mechanism
The install hook checks bundled files, unpacks bundled archives, adjusts node-pty permissions on macOS, and may install pinned companion tools. The flagged browser PoC and sandbox smoke files use synthetic data and local test services.
public snapshot
Evidence for AI clean decision
The postinstall hook verifies bundled dependencies, unpacks included tools, fixes node-pty permissions, and invokes the companion-tool installer. Companion tool installation runs only for a global, non-CI install and can be skipped with HAPPY_SKIP_COMPANION_TOOLS. The companion installer uses fixed package names and versions to install Codex and Claude account-management tools. Browser PoC tests use a synthetic token and bind test services to loopback; the rollback script requires an explicit --run argument. The smoke test exercises a synthetic TLS endpoint without internet credentials. Evidence against
A global non-CI installation can automatically install additional companion CLI tools through npm and uv. The CLI has runtime paths that load environment configuration and launch daemon, browser, and agent functionality. 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 150 files · 12.2 MB of source
39 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 auth.openai.com b.poc-two.test bridge.invalid c.poc-three.test claude.ai console.anthropic.com dev-studio.example developers.google.com dl.google.com example.com example.invalid feed.test github.com goo.gle happy.engineering huggingface.co oauth2.googleapis.com openbox.org other.com platform.claude.com private.allowed.test prod-studio.example registry.npmjs.org saycode.ai shop.example studio.example tunnel.example www.apple.com www.googleapis.com www.iana.org x.example Findings6 critical · 14 high · 11 medium · 6 low Source & flagged code29 flagged The lines the automated scan flagged. The review checked them and cleared this version.
High Install time lifecycle scriptsCleared
Package defines install-time lifecycle scripts.
package.json View on unpkg Medium Ambiguous install lifecycle scriptCleared
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 processCleared
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 Credential exfiltrationCleared
Source appears to send environment or credential material to an external endpoint.
dist/main-CukhxcaA.mjs View on unpkg · L3 Medium Install persistenceCleared
Source writes installer persistence such as shell profile or service configuration.
dist/main-CukhxcaA.mjs View on unpkg · L3 Shared code excerpt · 2 findings · 9 lines 3 import chalk from 'chalk' ;
4 import { al as SandboxConfigSchema, am as parseOrgEndpointBinding, an as [redacted], d as decodeBase64, z as decrypt, Q as HAPPY_AI_AUTH_SOURCE_ENV, ao as aiA...
5 import { G as [redacted], H as [redacted], I as initializeSandbox, J as resolveSessionSandboxPolicyMode, K loadCmlLessonHost, L RE...
High EvalCleared
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 }
dist/difficultyRoutingArtifacts-Dd5ZRcr2.cjs View file Medium Dynamic requireCleared
Package source references dynamic require/import behavior.
dist/difficultyRoutingArtifacts-Dd5ZRcr2.cjs View on unpkg · L2 Code excerpt · 2 lines 3 var crypto = require ('node:crypto' );
4 var node_fs = require ('node:fs' );
dist/managedRuntimeBoot-x-tLw0Rv.mjs View file Low Weak cryptoCleared
Package source references weak cryptographic algorithms.
dist/managedRuntimeBoot-x-tLw0Rv.mjs View on unpkg · L6 Code excerpt · 12 lines 6 import { randomBytes, timingSafeEqual, createHash, createCipheriv, randomUUID } from 'node:crypto' ;
7 import { createServer } from 'node:http' ;
8 import { spawn, spawnSync, execFile } from 'node:child_process' ;
9 import { open, rm, mkdir, lstat, readdir, realpath, opendir, readlink, readFile, stat } from 'node:fs/promises' ;
⋯
60 import './egressProxy-BNKeRoTv.mjs' ;
61 import 'node:dns/promises' ;
scripts/agent-browser/native/macEgressFence.live.check.ts View file High Same file environment network executionCleared
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'
⋯
Critical Hardcoded runtime data exfiltrationCleared
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 Command output exfiltrationCleared
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 Encrypted payload temp executionCleared
Source decrypts an embedded payload, writes it to disk, and executes it through a child process.
dist/types-CFvqzOnK.cjs View on unpkg Scanner record · 1 line context = }\n if (!parsed || parsed.schemaVersion !== 1 || !Array.isArray(parsed.pending) || !parsed.pending.every(isRevokeTarget))\n throw new PendingRevocationQueueError(`Browser task revocation queue ${file} has an unsupported format`);\n return parsed.pending;\n}\nfunction writeQueueFileDurably(file, data) {\n const dir = path.dirname(file);\n const temporary = path.join(dir, `.${path.basename(file)}.${crypto$1.randomUUID()}.tmp`);\n try {\n const fd = node_fs.openSync(temporary, "wx", 384);\n try {\n node_fs.writeFileSync(fd, data);\n node_fs.fsyncSync(fd);\n } finally {\n node_fs.closeSync(fd);\n }\n node_fs.renameSync(temporary, file);\n } catch (error) {\n node_fs.rmSync(temporary, { force: true });\n throw error;\n }\n if (process.pla
High Sandbox evasion gated capabilityCleared
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/types-CFvqzOnK.cjs View on unpkg · L4 Code excerpt · 12 lines 4 var happyWire = require ( );
scripts/script-egress-proxy.test.mjs View file High Cloud metadata accessCleared
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 contextCleared
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-ilnV_wGu.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: () => node_module.createRequire ((typeof document === 'undefined' ? require ( + ). (__filename).href : (_documentCurrentScript && _document...
Critical Trigger reachable dangerous capabilityCleared
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/main-ilnV_wGu.cjs View on unpkg · L7 High Trigger reachable credential exfiltrationCleared
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/main-ilnV_wGu.cjs View on unpkg · L7 High Trigger reachable persistenceCleared
A manifest entrypoint or package-local install chain reaches persistence behavior.
dist/main-ilnV_wGu.cjs View on unpkg · L7 Shared code excerpt · 3 findings · 12 lines Trigger-reachable chain: manifest.main -> dist/index.cjs -> dist/main-ilnV_wGu.cjs
7 var api = require ('./types-CFvqzOnK.cjs' );
8 var node_child_process = require ( );
Medium Ships native binaryCleared
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 helperCleared
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]
node_modules/@buzzni/saycode-cli/index.mjs View file Medium Oversized source fileCleared
Package contains source files above the normal full-analysis size ceiling.
node_modules/@buzzni/saycode-cli/index.mjs View on unpkg Scanner record · 4 lines path = node_modules/@buzzni/saycode-cli/index.mjs
kind = oversized_source_file
sizeBytes = 7345721
magicHex = [redacted]
Medium Oversized CLI entrypointCleared
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 = 7345721
magicHex = [redacted]
node_modules/zod/src/v3/tests/string.test.ts View file High Semantic analysis limitedCleared
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
Critical Previous version dangerous deltaCleared
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/browserRuntime/runtimeMain.mjs View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @buzzni/happy-cli@1.1.10-aplus.407
matchedIdentity = npm:QGJ1enpuaS9oYXBweS1jbGk:1.1.10-aplus.407
similarity = 0.992
summary = stored previous version shares package body but lacks this dangerous source file
Code↓ Cleared
Package metadata 8 findings
Medium Network Cleared
Medium Environment variables Cleared
Medium Structural risk force deep review Cleared
Low Non install lifecycle scripts Cleared
Low Scripts present Cleared
Low High entropy strings Cleared
as
as
6 import { spawn, execFile, execFileSync, execSync, exec as exec$2 } from 'node:child_process' ;
7 import { mkdir, lstat, realpath, stat, open, rename, unlink, readFile, readdir, mkdtemp, writeFile, rm, link, copyFile, constants as constants$2, opendir, cp, access as access$1, c...
16 import tweetnacl from 'tweetnacl' ;
17 import axios, { AxiosError } from 'axios' ;
18 import os$1, { homedir as homedir$1 } from 'os' ;
Code excerpt · 3 lines 727 if (!capability.ok) throw new Error ("SCOPE_CLAUDE_SANDBOX_UNAVAILABLE" );
728 const wrapped = await wrapCommand ('exec /bin/sh -c "$HAPPY_SCOPE_CLAUDE_COMMAND"' );
729 const launch = (options) => {
High Remote agent bridgeCleared
Source exposes local file and command tools to a remote model endpoint.
dist/main-CukhxcaA.mjs View on unpkg · L5 Code excerpt · 7 lines 5 import { G as [redacted], H as [redacted], I as initializeSandbox, J as resolveSessionSandboxPolicyMode, K as loadCmlLessonHost, L as RE...
6 import { spawn, execFile, execFileSync, execSync, exec as exec$2 } from 'node:child_process' ;
7 import { mkdir, lstat, realpath, stat, open, rename, unlink, readFile, readdir, mkdtemp, writeFile, rm, link, copyFile, constants as constants$2, opendir, cp, access as access$1, c...
⋯
609 if (!opts?.isolatedAutomationContext && !endpointRouting && emptyPluginServers.length === 0 && (!opts?.settingsPath || !opts.sandbox && denyRules.length === 0 )) return opts?.settin...
610 const rawSettings = opts?.settingsPath ? readFileSync (opts.settingsPath, "utf8" ) : "{}" ;
611 let parsedSettings;
⋯
3883 const gateway = requireManagedGateway (envelo
High Spawned bundled service listenerCleared
Source launches a detached bundled service that exposes a broad-bound HTTP listener.
dist/main-CukhxcaA.mjs View on unpkg · L3 Code excerpt · 7 lines Detached bundled service listener: dist/main-CukhxcaA.mjs launches a Node helper and exposes a broad-bound HTTP listener.
3 import chalk from 'chalk' ;
4 import { al as SandboxConfigSchema, am as parseOrgEndpointBinding, an as [redacted], d as decodeBase64, z as decrypt, Q as HAPPY_AI_AUTH_SOURCE_ENV, ao as aiA...
5 import { G as [redacted], H as [redacted], I as initializeSandbox, J as resolveSessionSandboxPolicyMode, K as loadCmlLessonHost, L as RE...
6 import { spawn, execFile, execFileSync, execSync, exec as exec$2 } from 'node:child_process' ;
7 import { mkdir, lstat, realpath, stat, open, rename, unlink, readFile, readdir, mkdtemp, writeFile, rm, link, copyFile, constants as constants$2, opendir, cp, access as access$1, c...
⋯
16 import tweetnacl from 'tweetnacl' ;
17 im
62 import './frames-DyoJjc7N.mjs' ;
104 return { quiesced: true , exitCode: 0 , signal: null , providerState };
312 parsed = JSON.parse (raw.toString ("utf8" ));
23 // 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
'@slopus/happy-wire'
5 var axios = require ('axios' );
6 var remoteTerminal = require ('./remoteTerminal-CLPRw8kh.cjs' );
13 var path = require ('node:path' );
14 var node_child_process = require ('node:child_process' );
15 var nativeHostPrimitives = require ('./nativeHostPrimitives-BAVdozDU.cjs' );
404 function formatRunTime ({ at, timeZone }) {
405 const zone = [timeZone, Intl.DateTimeFormat ().resolvedOptions ().timeZone].find ((candidate) => {
406 if (!candidate) return false ;
576 status: z.z.enum (["passed" , "failed" , "timed-out" , "aborted" ]),
577 exitCode: z.z.number ().int ().nullable (),
578 timedOut: z.z.boolean (),
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?.
'node:child_process'
9 var fs = require ('node:fs/promises' );
18 var tweetnacl = require ('tweetnacl' );
19 var axios = require ('axios' );
20 var os$1 = require ('os' );
117 persistence.SandboxConfigSchema.parse ({}),
234 const signal = /terminated by signal (SIG[A-Z0-9 ]+)/.exec (text)?.[1 ] ?? signalOfExitCode (text);