Loading npm security reports…
Loading npm security reports…
kiku-agent@1.4.19: Dependency script approval risk – blocked | LPM Firewall
Blocked: dependency script approvals
Approved dependency scripts may execute during installation.
AI security reviewscanned on Nov 15, 2026, 08:51 UTC · by lpm-firewall-ai The package manifest explicitly grants install-script approval to other packages, matching the dependency script approval abuse rule. The approvals are limited to two esbuild versions, but the unrequested approval is still a block condition.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
A package manager processes package.json during installation.
Mechanism
The allowScripts field approves esbuild@0.25.12 and esbuild@0.28.2 to run install scripts without a separate approval.
Policy narrative
During installation, package managers that honor this manifest setting can run install scripts from the two approved esbuild versions without separate user approval.
Decision evidencepublic snapshot
Evidence for block
package.json declares allowScripts approvals for esbuild@0.25.12 and esbuild@0.28.2, authorizing those packages’ install scripts. The approval grants are in the package manifest, so a package manager that honors this setting can run the approved dependency scripts during installation. Evidence against
The approvals are limited to two esbuild versions, which are build tooling dependencies. No preinstall, install, or postinstall lifecycle script appears in package.json. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell
Supply chain High entropy strings · URL strings
Manifest Copyleft license
Scanned 406 files · 7.64 MB of source
50 external domains referenced
10.0.0.1 10.0.0.7 10.142.196.166 10.147.20.166 127.0.0.1 169.254.169.254 172.31.80.1 192.168.1.120 192.168.1.157 192.168.1.5 8.8.8.8 a.example a.test a100-colab-test.trycloudflare.com abc-def-123.trycloudflare.com abc-def.trycloudflare.com accounts.google.com act.chinesemov.com admin.kiku.com aggregator.example ai.google.dev aiqicha.baidu.com api-docs.deepseek.com api.anthropic.com api.bgm.tv api.bilibili.com api.com api.deepseek.com api.example.com api.groq.com api.open-meteo.com api.openai.com api.weibo.com app.example.com attacker.example.com auth.com auth.example.test b.example baike.baidu.com bgm.tv bilibili.com blocked-site.com blog.example.com cdn.example.com cdn.jsdelivr.net cdn.tailwindcss.com chaoliunews.com claude.ai colab.research.google.com console.groq.com Findings19 high · 6 medium · 7 low Source & flagged code24 flagged server/web-chat/core/browserLauncher.js View file High Child process
Package source references child process execution.
server/web-chat/core/browserLauncher.js View on unpkg · L1 Code excerpt · 2 lines 1 import { spawn } from 'node:child_process' ;
2
Code excerpt · 3 lines 26 const quote = a => `"${String(a).replace(/"/g, '""')}"` ;
27 return spawn ([quote (cmd), ...args.map (quote)].join (' ' ), { ...options, shell: true , windowsHide: options.windowsHide ?? true });
28 }
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
server/agent/youtubeAuth.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = kiku-agent@1.4.17
matchedPath = server/agent/youtubeAuth.js
matchedIdentity = npm:a2lrdS1hZ2VudA:1.4.17
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Low Eval
Package source references a known benign dynamic code generation pattern.
server/agent/mathEvaluator.js View on unpkg · L1105 Code excerpt · 3 lines 1105 try {
1106 const fnWrapper = new Function (
1107 '__env' , '__print' , '__range' , '__len' , '__sum' , '__min' , '__max' , '__abs' , '__round' , '__sorted' ,
High Semantic analysis limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
server/agent/doctor.js View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_alias_growth_limit_exceeded; limitedFiles = 7
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
server/agent/doctor.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = kiku-agent@1.4.17
matchedPath = server/agent/doctor.js
matchedIdentity = npm:a2lrdS1hZ2VudA:1.4.17
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Medium Dynamic require
Package source references dynamic require/import behavior.
server/agent/tests/webChatInferenceControl.test.js View file Medium Unsafe vm context
Package source executes code through a VM context API.
server/agent/tests/webChatInferenceControl.test.js View on unpkg · L10 Code excerpt · 12 lines 10 const temp = fs.mkdtempSync (path.join (os.tmpdir (), 'kiku-inference-' ));
11 process.env.KIKU_DATA_DIR = temp;
12 process.env.NODE_ENV = 'test' ;
⋯
34 res.end = (data = '' ) => { res.chunks += data; res.writableEnded = true ; res.emit ('finish' ); };
35 res.json = () => JSON.parse (res.chunks);
36 return res;
⋯
38
server/web-chat/routes/staticRoute.js View file Low Weak crypto
Package source references weak cryptographic algorithms.
server/web-chat/routes/staticRoute.js View on unpkg · L10 Code excerpt · 12 lines 10 const __filename = fileURLToPath (import .meta.url);
11 const __dirname = path.dirname (__filename);
12 const PUBLIC_DIR = path.resolve (__dirname, '../../../public' );
⋯
32
33 const FALLBACK_FAVICON_SVG = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="#0e131f"/><text x="32" y="44" font-size="34" te...
34
35 function sendFallbackFavicon (res) {
36 const raw = Buffer. (FALLBACK_FAVICON_SVG, );
High Sandbox evasion gated capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
server/agent/updateNotifier.js View on unpkg · L2 Code excerpt · 12 lines 2 import path from 'node:path' ;
3 import { spawnSync } from 'node:child_process' ;
4 import readline from 'node:readline' ;
⋯
27 const raw = fs.readFileSync (UPDATE_CACHE_FILE, 'utf8' );
28 const parsed = JSON.parse (raw);
29 if (!parsed || typeof parsed !== 'object' ) return ;
High Cloud metadata access
Source reaches cloud instance metadata or link-local credential endpoints.
server/web-chat/ui/docsBuilder.js View on unpkg · L5 Code excerpt · 12 lines 5 const __filename = fileURLToPath (import .meta.url);
6 const __dirname = path.dirname (__filename);
7 const TOKENS_PATH = path.resolve (__dirname, '../../../tokens.css' );
⋯
11 function getTokensCss () {
12 if (process.env.NODE_ENV === 'production' && cachedTokens) {
13 return cachedTokens;
⋯
36 <meta name="theme-color" content= />
High Copied package dependency bridge
Package metadata claims a different repository identity while copied source loads a runtime dependency bridge.
server/agent/researchJobs.js View on unpkg · L118 Code excerpt · 4 lines package = kiku-agent; repositoryIdentity = jujingyi_kikuuu; dependency = @vercel/functions
118 try {
119 const mod = await import ('@vercel/functions' );
120 if (typeof mod.waitUntil === 'function' ) {
High Cross file remote execution context
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
server/agent/commands.js View on unpkg · L26 Code excerpt · 11 lines Cross-file remote execution chain: server/agent/commands.js spawns server/agent/networkManager.js; helper contains network access plus dynamic code execution.
26 import { fileURLToPath } from 'node:url' ;
27 import http from 'node:http' ;
28 import { PACKAGE_NAME, PACKAGE_VERSION } from './version.js' ;
⋯
65 return new Promise ((resolve) => {
66 const rl = readline.createInterface ({ input: process.stdin, output: process.stdout, terminal: false });
67
Medium Ships build helper
Package ships non-JavaScript build or shell helper files.
server/agent/eval/analyze.py View on unpkg Scanner record · 4 lines path = server/agent/eval/analyze.py
kind = build_helper
sizeBytes = 31511
magicHex = [redacted]
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
server/agent/cli.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = kiku-agent@1.4.17
matchedPath = server/agent/cli.js
matchedIdentity = npm:a2lrdS1hZ2VudA:1.4.17
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.
server/agent/audioPlayer.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = kiku-agent@1.4.17
matchedPath = server/agent/audioPlayer.js
matchedIdentity = npm:a2lrdS1hZ2VudA:1.4.17
similarity = 1.000
summary = normalized source hash matched finalized malicious source
server/agent/eval/modules/server/evalApi.js View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
server/agent/eval/modules/server/evalApi.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = kiku-agent@1.4.17
matchedPath = [redacted].js
matchedIdentity = npm:a2lrdS1hZ2VudA:1.4.17
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.
server/agent/lmStudioWakeup.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = kiku-agent@1.4.17
matchedPath = server/agent/lmStudioWakeup.js
matchedIdentity = npm:a2lrdS1hZ2VudA:1.4.17
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.
server/agent/youtubeTranscript.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = kiku-agent@1.4.17
matchedPath = server/agent/youtubeTranscript.js
matchedIdentity = npm:a2lrdS1hZ2VudA:1.4.17
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.
server/agent/codeRunner.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = kiku-agent@1.4.17
matchedPath = server/agent/codeRunner.js
matchedIdentity = npm:a2lrdS1hZ2VudA:1.4.17
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.
server/agent/engineService.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = kiku-agent@1.4.17
matchedPath = server/agent/engineService.js
matchedIdentity = npm:a2lrdS1hZ2VudA:1.4.17
similarity = 1.000
summary = normalized source hash matched finalized malicious source
server/agent/eval/modules/core/cli.js View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
server/agent/eval/modules/core/cli.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = kiku-agent@1.4.17
matchedPath = [redacted].js
matchedIdentity = npm:a2lrdS1hZ2VudA:1.4.17
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.
server/agent/ink/main.jsx View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = kiku-agent@1.4.17
matchedPath = server/agent/ink/main.jsx
matchedIdentity = npm:a2lrdS1hZ2VudA:1.4.17
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.
server/agent/lanDiscovery.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = kiku-agent@1.4.17
matchedPath = server/agent/lanDiscovery.js
matchedIdentity = npm:a2lrdS1hZ2VudA:1.4.17
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Package metadata 8 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
server/agent/doctor.js
Code excerpt · 2 lines 6 async function optionalImport (name) {
7 try { await import (name); return true ; } catch { return false ; }
39 test ('inference URL guard rejects dangerous schemes, metadata aliases, and private remote targets' , async () => {
40 for (const url of ['file:///etc/passwd' , 'ftp://example.com' , 'http://user:pass@example.com' , 'http://169.254.169.254' , 'http://[::ffff:a9fe:a9fe]' , 'http://metadata.google.interna...
41 assert.equal ((await validateInferenceBaseUrl (url, { callerIsTrusted: true })).ok, false , url);
179 assert.equal (res.statusCode, 200 );
from
'utf8'
null
46 if (process.env.KIKU_NO_UPDATE_NOTIFIER === '1' || process.env.CI === 'true' ) {
73 const timer = setTimeout (() => controller.abort (), timeoutMs);
74 const registryUrl = `https://registry.npmjs.org/${encodeURIComponent(PACKAGE_NAME)}/latest` ;
"#0e131f"
37 <link rel="preconnect" href="https://fonts.googleapis.com" >
38 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
876 .docs-summary-body::-webkit-scrollbar {
const suffix = defaultValue ? ` ${C.dim}[${defaultValue}]${C.reset}` : '' ;
775 const ping = await fetch (`http://127.0.0.1:${port}/api/web/lan` , { signal: AbortSignal.timeout (600 ) });
776 if (ping.ok) remoteLanState = await ping.json ();
845 headers: { 'Content-Type' : 'application/json' },