Loading npm security reports…
Loading npm security reports…
@buzzni/happy-cli@1.1.10-aplus.369: npm security report – allowed | LPM Firewall
Allowed — no malicious behavior detected
46 low-signal patterns reviewed and cleared.
AI security reviewscanned on Oct 30, 2026, 00:40 UTC · by lpm-firewall-ai The flagged credential use is tied to the package’s push-notification client and configured Happy server. The postinstall companion-tool step is gated to eligible global installs, and the flagged smoke and browser tests use synthetic data.
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
Push notifications during account-backed daemon operation; companion-tool installation is gated to global installs outside CI.
Impact
No unrelated collection, credential theft, or unauthorized account action was identified in the reviewed paths.
Mechanism
The push client uses the configured Happy server URL with the account credential to fetch that account’s push tokens.
public snapshot
Evidence for AI clean decision
The manifest exposes the CLI through dist/index.cjs and dist/index.mjs. The companion-tool installer skips unless the install is global and outside CI; it also supports HAPPY_SKIP_COMPANION_TOOLS. The push client receives an account credential and the configured Happy server URL; its token request is for push tokens. The flagged smoke test uses a synthetic local TLS endpoint, and the browser fixture uses a synthetic harness token. Evidence against
The package has a postinstall hook that unpacks tools, adjusts node-pty permissions on macOS, and may install companion CLIs on eligible global installs. The CLI and its server code use subprocesses and network services as part of the package’s stated developer-tool purpose. 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 136 files · 10.5 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 · 24 high · 11 medium · 5 low Source & flagged code38 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 Encrypted payload temp executionCleared
Source decrypts an embedded payload, writes it to disk, and executes it through a child process.
dist/types-B9CcvIph.cjs View on unpkg Scanner record · 1 line context = E = 384;\nconst PRIVATE_DIR_MODE = 448;\nasync function writePrivateFile(path, content) {\n await fs.writeFile(path, content, { encoding: "utf-8", mode: PRIVATE_FILE_MODE });\n await fs.chmod(path, PRIVATE_FILE_MODE);\n}\nasync function replacePrivateFile(path, content) {\n const tmp = `${path}.tmp`;\n await fs.rm(tmp, { force: true });\n await fs.writeFile(tmp, content, { encoding: "utf-8", mode: PRIVATE_FILE_MODE, flag: "wx" });\n await fs.rename(tmp, path);\n}\nfunction writePrivateFileSync(path, content) {\n node_fs.writeFileSync(path, content, { encoding: "utf-8", mode: PRIVATE_FILE_MODE });\n node_fs.chmodSync(path, PRIVATE_FILE_MODE);\n}\nfunction hardenHappyHomePermissions() {\n if (process.platform === "win32") return;\n const targets = [\n [configuration.ha
Code excerpt · 3 lines 2536 stdio: ["ignore" , "ignore" , "ignore" , ],
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/browserBridgeConfig-CaTlK-SZ.cjs View file Medium Dynamic requireCleared
Package source references dynamic require/import behavior.
dist/browserBridgeConfig-CaTlK-SZ.cjs View on unpkg · L2 Code excerpt · 2 lines 3 var crypto = require ('node:crypto' );
4 var fs = require ('node:fs/promises' );
scripts/agent-browser/native/macBrowserDnsLan.live.check.ts View file Medium Install persistenceCleared
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 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 Credential exfiltrationCleared
Source appears to send environment or credential material to an external endpoint.
dist/main-iV40s8NG.cjs View on unpkg · L5 Critical Trigger reachable dangerous capabilityCleared
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/main-iV40s8NG.cjs View on unpkg · L5 High Trigger reachable credential exfiltrationCleared
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/main-iV40s8NG.cjs View on unpkg · L5 High Trigger reachable persistenceCleared
A manifest entrypoint or package-local install chain reaches persistence behavior.
dist/main-iV40s8NG.cjs View on unpkg · L5 Shared code excerpt · 4 findings · 12 lines 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
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-iV40s8NG.cjs; helper contains network access plus dynamic code execution.
3 var browserTaskEnv = require ('./browserTaskEnv-CUmfE6jV.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...
High Spawned bundled service listenerCleared
Source launches a detached bundled service that exposes a broad-bound HTTP listener.
dist/main-BhobbVLU.mjs View on unpkg · L1 Code excerpt · 6 lines Detached bundled service listener: dist/main-BhobbVLU.mjs launches a Node helper and exposes a broad-bound HTTP listener.
1 import {createRequire as _pkgrollCR}from "node:module" ;const require=_pkgrollCR (import .meta.url);import { a as launchBootstrapSchema, e as equalLaunchProof, b as launchAuthProof, d a...
2 import { P as [redacted], Q as [redacted], S as initializeSandbox, U as SandboxConfigSchema, V as resolveSessionSandboxPolicyMode, W as ...
3 import chalk from 'chalk' ;
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 = 6287690
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 = 6287690
magicHex = [redacted]
dist/electronGuiPreload.cjs#virtual:normalized:round1 View file High Semantic analysis limitedCleared
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/electronGuiPreload.cjs#virtual:normalized:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 13
dist/browserSessionBrokerContract-CC5vYaGy.cjs View file High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/browserSessionBrokerContract-CC5vYaGy.cjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @buzzni/happy-cli@1.1.10-aplus.260
matchedPath = [redacted]-CC5vYaGy.cjs
matchedIdentity = npm:QGJ1enpuaS9oYXBweS1jbGk:1.1.10-aplus.260
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/config-CxqFbzP2.cjs View on unpkg Scanner record · 7 lines matchType = token_shingles
matchedPackage = @buzzni/happy-cli@1.1.10-aplus.260
matchedPath = dist/config-CLHijNM1.cjs
matchedIdentity = npm:QGJ1enpuaS9oYXBweS1jbGk:1.1.10-aplus.260
similarity = 1.000
shingleOverlap = 48
summary = source token shingles overlapped finalized malicious source
dist/browserSessionBrokerContract-rWpazLfs.mjs View file High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/browserSessionBrokerContract-rWpazLfs.mjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @buzzni/happy-cli@1.1.10-aplus.260
matchedPath = [redacted]-rWpazLfs.mjs
matchedIdentity = npm:QGJ1enpuaS9oYXBweS1jbGk:1.1.10-aplus.260
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/runOpenClaw-Dt52UQQI.cjs View on unpkg Scanner record · 7 lines matchType = token_shingles
matchedPackage = @buzzni/happy-cli@1.1.10-aplus.260
matchedPath = dist/runOpenClaw-bYwYwY1n.cjs
matchedIdentity = npm:QGJ1enpuaS9oYXBweS1jbGk:1.1.10-aplus.260
similarity = 1.000
shingleOverlap = 48
summary = source token shingles overlapped finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/browserSessionBrokerMain.mjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @buzzni/happy-cli@1.1.10-aplus.260
matchedPath = dist/browserSessionBrokerMain.mjs
matchedIdentity = npm:QGJ1enpuaS9oYXBweS1jbGk:1.1.10-aplus.260
similarity = 1.000
summary = normalized source hash matched finalized malicious source
dist/difficultyRoutingArtifacts-Dd5ZRcr2.cjs View file High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/difficultyRoutingArtifacts-Dd5ZRcr2.cjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @buzzni/happy-cli@1.1.10-aplus.260
matchedPath = dist/difficultyRoutingArtifacts-Dd5ZRcr2.cjs
matchedIdentity = npm:QGJ1enpuaS9oYXBweS1jbGk:1.1.10-aplus.260
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/egressProxy-BGaZP5E0.cjs View on unpkg Scanner record · 7 lines matchType = token_shingles
matchedPackage = @buzzni/happy-cli@1.1.10-aplus.260
matchedPath = dist/egressProxy-B5ejDLBy.cjs
matchedIdentity = npm:QGJ1enpuaS9oYXBweS1jbGk:1.1.10-aplus.260
similarity = 1.000
shingleOverlap = 48
summary = source token shingles overlapped finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/egressProxy-BNKeRoTv.mjs View on unpkg Scanner record · 7 lines matchType = token_shingles
matchedPackage = @buzzni/happy-cli@1.1.10-aplus.260
matchedPath = dist/egressProxy-Bpt-0mt5.mjs
matchedIdentity = npm:QGJ1enpuaS9oYXBweS1jbGk:1.1.10-aplus.260
similarity = 1.000
shingleOverlap = 48
summary = source token shingles overlapped finalized malicious source
High Known malware source similarityCleared
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 = @buzzni/happy-cli@1.1.10-aplus.260
matchedPath = dist/lib.cjs
matchedIdentity = npm:QGJ1enpuaS9oYXBweS1jbGk:1.1.10-aplus.260
similarity = 0.813
shingleOverlap = 39
summary = source token shingles overlapped finalized malicious source
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
"ipc"
2537 execArgv: ["--max-old-space-size=32" ]
High Sandbox evasion gated capabilityCleared
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/types-B9CcvIph.cjs View on unpkg · L4 Code excerpt · 12 lines 4 var happyWire = require ('@slopus/happy-wire' );
5 var axios = require ('axios' );
6 var chalk = require ('chalk' );
⋯
16 var fs = require ('node:fs/promises' );
17 var node_child_process = require ('node:child_process' );
18 var policy = require ('./policy-CbI-rpp6.cjs' );
⋯
165 "tools/licenses" ,
166 "package.json"
167 ];
⋯
202 "@slopus/happy-wire" : "file:../happy-wire" ,
203 "@stablelib/base64" : "^2.0.1" ,
204 "@stablelib/hex" : "^2.0.1" ,
'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}` )
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
var chalk = require ('chalk' );
6 var node_child_process = require ('node:child_process' );
7 var fs = require ('node:fs/promises' );
16 var tweetnacl = require ('tweetnacl' );
17 var axios = require ('axios' );
18 var os$1 = require ('os' );
110 persistence.SandboxConfigSchema.parse ({}),
427 const env = persistence.sanitizeChildEnv (process.env, { boundary: "in-session" });
428 env.CLAUDE_CODE_ENTRYPOINT = resolveHappyEntrypoint (process.env.CLAUDE_CODE_ENTRYPOINT);
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/main-iV40s8NG.cjs View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @buzzni/happy-cli@1.1.10-aplus.367
matchedIdentity = npm:QGJ1enpuaS9oYXBweS1jbGk:1.1.10-aplus.367
similarity = 0.792
summary = stored previous version shares package body but lacks this dangerous source file
High Credential redirect persistenceCleared
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/main-iV40s8NG.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/main-iV40s8NG.cjsvar node_readline = require('node:readline');
var promises$1 = require('node:readline/promises');
const authEnv = Object.fromEntries(persistence.CLAUDE_AUTH_OVERRIDE_ENV_KEYS.map((key) => [key, ""]));
authEnv.CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST = "1";
authEnv.CLAUDE_CODE_OAUTH_TOKEN = oauthToken;
const version = initialized.claude_code_version?.match(/^2\.1\.(\d+)$/);
env.CLAUDE_CODE_ENTRYPOINT = resolveHappyEntrypoint(process.env.CLAUDE_CODE_ENTRYPOINT);
if (opts?.emitSessionStateEvents) env.CLAUDE_CODE_EMIT_SESSION_STATE_EVENTS = "1";
High Remote agent bridgeCleared
Source exposes local file and command tools to a remote model endpoint.
dist/main-iV40s8NG.cjs View on unpkg · L5 Code excerpt · 9 lines 5 var chalk = require ('chalk' );
6 var node_child_process = require ('node:child_process' );
7 var fs = require ('node:fs/promises' );
⋯
456 if (emptyPluginServers.length === 0 && (!opts?.settingsPath || !opts.sandbox && denyRules.length === 0 )) return opts?.settingsPath;
457 const rawSettings = opts?.settingsPath ? node_fs.readFileSync (opts.settingsPath, "utf8" ) : "{}" ;
458 let parsedSettings;
⋯
2404 const gateway = requireManagedGateway (envelope);
2405 const base = managedGatewayClientBaseUrl (envelope);
2406 if (envelope.agent === "claude" ) {
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
4 import { spawn, execFileSync, execSync, execFile, exec as exec$2 } from 'node:child_process' ;
5 import { mkdir, readFile, mkdtemp, writeFile, rm, open, rename, unlink, readdir, link, lstat, realpath, stat, copyFile, constants as constants$1, opendir, access as access$1, chmod...