Loading npm security reports…
Loading npm security reports…
cicy-desktop@2.1.243: npm security report – allowed | LPM Firewall
Allowed — no malicious behavior detected
32 low-signal patterns reviewed and cleared.
AI security reviewscanned on Nov 8, 2026, 03:55 UTC · by lpm-firewall-ai The install-related hook rebuilds the homepage, and startup does not silently install or start the sidecar. The SSH key change is behind an explicit authorization action and uses a container-generated public key.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
The prepublishOnly build hook runs during publishing; sidecar setup follows a user-started flow.
Impact
No unauthorized credential transfer, unrelated persistence, or other attack impact was identified in the reviewed paths.
Mechanism
The build script builds and copies the homepage. The Colima agent restarts the app’s VM, and the SSH authorization action adds a container-generated public key.
Decision evidencepublic snapshot Evidence for AI clean decision
The only prepublishOnly hook runs scripts/build-homepage.cjs, which builds and copies the package’s homepage. Desktop startup explicitly avoids silently installing or starting the sidecar; the source directs users to start it through the UI. The macOS SSH authorization is exposed as an explicit IPC action and adds the container’s public key to authorized_keys. Colima login autostart is configured for the package’s own VM and container service. Evidence against
The sidecar can download and install runtime dependencies and a VM image when started. The package can create a launchd agent that restarts its Colima VM at login after the sidecar becomes healthy. Behavioral surface
Source Child process · Crypto · Environment variables · Filesystem · Network · Shell
Supply chain High entropy strings · Minified · URL strings
Manifest No manifest risk signals triggered.
Scanned 120 files · 1.59 MB of source
33 external domains referenced
127.0.0.1 api.github.com api.ipify.org api.myip.com cdn.npmmirror.com chatgpt.com cicy-1372193042-cn.oss-cn-shanghai.aliyuncs.com cicy-1372193042.cos.ap-shanghai.myqcloud.com cicy-ai.com desktop.docker.com example.com g-electron.cicy.de5.net gateway.cicy-ai.com gemini.google.com ghproxy.net github.com ip-api.com ipinfo.io mirrors.tuna.tsinghua.edu.cn mirrors.ustc.edu.cn nodejs.org raw.githubusercontent.com react.dev registry.npmjs.org registry.npmmirror.com wslstorestorage.blob.core.windows.net www.apple.com www.baidu.com www.docker.com www.douyin.com www.google.com www.gstatic.com www.w3.org Findings4 critical · 17 high · 5 medium · 6 low Source & flagged code24 flagged The lines the automated scan flagged. The review checked them and cleared this version.
High Child processCleared
Package source references child process execution.
scripts/sync-runtime-deps.cjs View on unpkg · L13 Code excerpt · 2 lines 14 const { execSync } = require ("child_process" );
15 const fs = require ("fs" );
High ShellCleared
Package source references shell execution.
scripts/sync-runtime-deps.cjs View on unpkg · L26 Code excerpt · 3 lines 26 // script aborted with "resolved nothing" even though the registry was fine.
27 // cmd.exe (win) / sh (unix) resolve `npm` correctly. pkg/REGISTRY are trusted
28 // constants, so the interpolation is safe.
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
scripts/sync-runtime-deps.cjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = cicy-desktop@2.1.373
matchedPath = scripts/sync-runtime-deps.cjs
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.373
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Medium Install persistenceCleared
Source writes installer persistence such as shell profile or service configuration.
src/sidecar/docker.js View on unpkg · L10 Code excerpt · 12 lines 10 // locally it's loaded from R2 (CN-friendly, no Docker Hub pull):
11 // https://r2.deepfetch.de5.net/docker/cicy-code-latest.tar.gz
12 //
13 // The container maps :8008 and persists ~/cicy-ai in a named volume.
14 const { execFile, execFileSync, spawn } = require ("child_process" );
15 const https = require ("https" );
⋯
20
21 const IMAGE = process.env.CICY_DOCKER_IMAGE || "cicybot/cicy-code:latest" ;
Critical Same file environment network executionCleared
A single source file combines environment access, network access, and code or shell execution with blocking evidence.
src/sidecar/wsl-docker.js View on unpkg · L35 Code excerpt · 7 lines 35 // (their checks see docker present + image present and SKIP). ~122MB.
36 const ROOTFS_URL = process.env.CICY_WSL_ROOTFS_URL ||
37 "https://cicy-1372193042-cn.oss-cn-shanghai.aliyuncs.com/rootfs/cicy-wsl-latest.tar.gz" ;
38
⋯
49 try {
50 const out = await new Promise ((res) => execFile ("wsl" , ["--status" ], { timeout: 15000 , windowsHide: true , encoding: "utf16le" }, (e, o) => (e ? : (o || ))));
Critical Persistence backdoorCleared
Source writes persistence or remote-access backdoor material.
src/sidecar/colima-docker.js View on unpkg · L26 Code excerpt · 11 lines 27 const { execFile, spawn } = require ("child_process" );
28 const path = require ("path" );
⋯
33 // 专用 Colima profile —— 绝不动用户自己的默认 colima/docker。
34 const PROFILE = process.env.CICY_COLIMA_PROFILE || "cicy-code" ;
35 // Colima 给每个 profile 建一个 docker context,名字是 `colima-<profile>`。所有
⋯
55 // ubuntu-24.04 + docker 的 cloudimg 即可,和 colima 版本解耦(用稳定 key,不跟版本号)。
56 const OSS_BASE = process.env.CICY_OSS_BASE || ;
High Runtime package installCleared
Package source invokes a package manager install command at runtime.
scripts/build-homepage.cjs View on unpkg · L27 Code excerpt · 6 lines 27 console.log (`[build-homepage] $ ${cmd} (in ${path.relative(ROOT, cwd) || "."})` );
28 execSync (cmd, { cwd, stdio: "inherit" });
29 }
⋯
32 if (!fs.existsSync (path.join (RENDER, "node_modules" ))) {
33 run ("npm install --no-audit --no-fund" , RENDER);
34 }
Medium Ships build helperCleared
Package ships non-JavaScript build or shell helper files.
bin/preinstall.sh View on unpkg Scanner record · 4 lines path = bin/preinstall.sh
kind = build_helper
sizeBytes = 846
magicHex = [redacted]
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/backends/window-manager.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = cicy-desktop@2.1.373
matchedPath = src/backends/window-manager.js
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.373
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.
src/cloud/cloud-client.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = cicy-desktop@2.1.373
matchedPath = src/cloud/cloud-client.js
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.373
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.
src/main-old.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = cicy-desktop@2.1.373
matchedPath = src/main-old.js
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.373
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.
bin/cicy-desktop View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = cicy-desktop@2.1.373
matchedPath = bin/cicy-desktop
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.373
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.
src/sidecar/localbin.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = cicy-desktop@2.1.373
matchedPath = src/sidecar/localbin.js
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.373
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.
src/sidecar/runtime.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = cicy-desktop@2.1.373
matchedPath = src/sidecar/runtime.js
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.373
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.
src/sidecar/native.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = cicy-desktop@2.1.373
matchedPath = src/sidecar/native.js
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.373
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Shell
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
"cicy-files"
101 "上传文件到服务器(base64编码),返回可访问的 URL" ,
123 process.env.CICY_BASE_URL || `http://localhost:${process.env.PORT || 8101}` ;
124 const url = `${baseUrl}/files/${uniqueFilename}` ;
22 // Image tarball on Aliyun OSS (oss-cn-shanghai, public-read) — CN-domestic and
59 return new Promise ((resolve, reject) => {
60 execFile (dockerBin (), args, { timeout, windowsHide: true }, (err, stdout, stderr) => {
61 if (err) { err.stdout = String (stdout || "" ); err.stderr = String (stderr || "" ); return reject (err); }
res
""
String
""
51 if (/\d+\.\d+\.\d+/.test (out)) { emit && emit ({ phase: "install-docker" , status: "running" , message: "WSL2 内核已就绪,跳过安装" }); return ; }
Critical Download executeCleared
Source downloads or fetches remote code and executes it.
src/sidecar/wsl-docker.js View on unpkg · L16 Code excerpt · 11 lines 17 const { execFile, execFileSync, spawn } = require ("child_process" );
18 const path = require ("path" );
⋯
25 // Dedicated distro name — NEVER reuse/clobber a user's own "Ubuntu" distro.
26 const DISTRO = process.env.CICY_WSL_DISTRO || "cicy-code-wsl" ;
27 const IMAGE = process.env.CICY_DOCKER_IMAGE || "cicybot/cicy-code:latest" ;
⋯
36 const ROOTFS_URL = process.env.CICY_WSL_ROOTFS_URL ||
37 "https://cicy-1372193042-cn.oss-cn-shanghai.aliyuncs.com/rootfs/cicy-wsl-latest.tar.gz" ;
38
⋯
67 { timeout, windowsHide: true , maxBuffer: 1 << 26 },
68 (err, stdout, stderr) => {
69 if (err) { err.stdout = String (stdout || "" ); err.stderr = String (stderr || "" ); return reject (err); }
"https://cicy-1372193042-cn.oss-cn-shanghai.aliyuncs.com"
57 const BASE_IMAGE_URL = process.env.CICY_COLIMA_BASE_URL ||
58 `${OSS_BASE}/colima-base/ubuntu-2404-${ARCH_TAG}-docker.raw.gz` ;
59 function baseImagePath () { return path.join (os.homedir (), "cicy-ai" , "colima" , `ubuntu-2404-${ARCH_TAG}-docker.raw.gz` ); }
Critical Trigger reachable dangerous capabilityCleared
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
src/sidecar/colima-docker.js View on unpkg · L26 Code excerpt · 11 lines Trigger-reachable chain: manifest.main -> src/main.js -> src/backends/sidecar-ipc.js -> src/sidecar/colima-docker.js
26
27 const { execFile, spawn } = require ("child_process" );
28 const path = require ("path" );
⋯
33 // 专用 Colima profile —— 绝不动用户自己的默认 colima/docker。
34 const PROFILE = process.env.CICY_COLIMA_PROFILE || "cicy-code" ;
35 // Colima 给每个 profile 建一个 docker context,名字是 `colima-<profile>`。所有
⋯
55 // ubuntu-24.04 + docker 的 cloudimg 即可,和 colima 版本解耦(用稳定 key,不跟版本号)。
56 const OSS_BASE = process.env.CICY_OSS_BASE || "https://cicy-1372193042-cn.oss-cn-shanghai.aliyuncs.com" ;
57 const BASE_IMAGE_URL = process.env.CICY_COLIMA_BASE_URL ||
58 `${OSS_BASE}/colima-base/ubuntu-2404-${ARCH_TAG}-docker.raw.gz` ;
59 function baseImagePath () { return path.join (os.homedir ()
High Trigger reachable persistenceCleared
A manifest entrypoint or package-local install chain reaches persistence behavior.
src/sidecar/colima-docker.js View on unpkg · L26 Code excerpt · 11 lines Trigger-reachable persistence chain: manifest.main -> src/main.js -> src/backends/sidecar-ipc.js -> src/sidecar/colima-docker.js
26
27 const { execFile, spawn } = require ("child_process" );
28 const path = require ("path" );
⋯
33 // 专用 Colima profile —— 绝不动用户自己的默认 colima/docker。
34 const PROFILE = process.env.CICY_COLIMA_PROFILE || "cicy-code" ;
35 // Colima 给每个 profile 建一个 docker context,名字是 `colima-<profile>`。所有
⋯
55 // ubuntu-24.04 + docker 的 cloudimg 即可,和 colima 版本解耦(用稳定 key,不跟版本号)。
56 const OSS_BASE = process.env.CICY_OSS_BASE || "https://cicy-1372193042-cn.oss-cn-shanghai.aliyuncs.com" ;
57 const BASE_IMAGE_URL = process.env.CICY_COLIMA_BASE_URL ||
58 `${OSS_BASE}/colima-base/ubuntu-2404-${ARCH_TAG}-docker.raw.gz` ;
59 function baseImagePath () { return path.join (
const thumbUrl = `${baseUrl}/files/screenshot/sys_win_${winId.replace(/^0x/, "")}.jpeg` ;
107 const screenshotDir = path.join (
108 require ("os" ).homedir (),
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/tools/system-tools.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = cicy-desktop@2.1.373
matchedPath = src/tools/system-tools.js
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.373
similarity = 1.000
summary = normalized source hash matched finalized malicious source