Loading npm security reports…
Loading npm security reports…
cicy-desktop@2.1.279: Remote code execution – npm package flagged | LPM Firewall
Flagged — allowed with a warning
Allowed by default policy, but 35 findings warrant review before installing.
AI security reviewscanned on Sep 19, 2026, 04:38 UTC · by lpm-firewall-ai No registry-install hook or covert dropper was found; this is a first-party desktop with powerful host automation. The unresolved risk is user-run dual-use: host exec tools, cookie reads, default unauthenticated loopback CDP, and OSS native downloads accepted by size, while scanner coverage gaps prevent a clean citation-complete verdict.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
User runs npx cicy-desktop, npm start, or the cicy-desktop binary.
Impact
Local command execution, cookie visibility to tool callers, unsigned-size native binary install, and optional login autostart.
Mechanism
User-launched desktop automation with host exec, CDP, and sidecar native install
Evidence
bin/cicy-desktop src/tools/exec-tools.js src/tools/chrome-tools.js src/sidecar/host-mihomo.js src/main.js src/sidecar/colima-docker.js ~/.local/bin ~/Library/LaunchAgents/com.cicy.colima.cicy-code.plist ~/cicy-ai/global.json ~/chrome/profile_*
Network endpoints5
cicy-1372193042-cn.oss-cn-shanghai.aliyuncs.com github.com /electron/electron/releases/download/registry.npmmirror.com cicy-ai.com 127.0.0.1:9221
Decision evidencepublic snapshot Evidence for warning
package.json has no preinstall, install, or postinstall hook; the only publish-time script rebuilds the homepage snapshot. The published bin is a user-run launcher that can fetch Electron from GitHub or the vendor Aliyun OSS mirror. After the app starts, MCP tools register host exec_shell, exec_python, and exec_node. Chrome tools read a profile cookie jar through Storage.getCookies and summarize logins. Host mihomo can download a native binary from vendor OSS and accept it when the file is larger than 1MB, with no hash pin. Default launch opens unauthenticated Electron CDP on 127.0.0.1:9221 unless CICY_DESKTOP_CDP=0; Colima setup can write a login LaunchAgent. Evidence against
This is a first-party CiCy Electron desktop; cloud HTTP calls no-op without a desktop login token. The HTTP and MCP tool server is opt-in via --mcp or CICY_DESKTOP_HTTP. Renderer RPC for dangerous tools shows a consent dialog. Scanner malware-similarity hits this same product's own files, not a hidden install dropper. npm install does not run a payload; two scanner AST parse errors block a citation-complete clean verdict. 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 141 files · 1.68 MB of source
33 external domains referenced
127.0.0.1 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 schemas.microsoft.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 · 20 high · 5 medium · 6 low Source & flagged code27 flagged High Child process
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 Shell
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 similarity
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.360
matchedPath = scripts/sync-runtime-deps.cjs
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.360
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Medium Install persistence
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" );
⋯
21
22 const IMAGE = process.env.CICY_DOCKER_IMAGE || "cicybot/cicy-code:latest" ;
Critical Same file environment network execution
A single source file combines environment access, network access, and code or shell execution with blocking evidence.
src/sidecar/host-mihomo.js View on unpkg · L20 Code excerpt · 8 lines 21 const { spawn, execFile } = require ("child_process" );
22 const fs = require ("fs" );
⋯
24 const path = require ("path" );
25 const https = require ("https" );
26 const http = require ("http" );
⋯
30
bin/cicy-desktop#virtual:normalized:round1 View file High Command output exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
bin/cicy-desktop#virtual:normalized:round1 View on unpkg · L494 High Trigger reachable command output exfiltration
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
bin/cicy-desktop#virtual:normalized:round1 View on unpkg · L494 Shared code excerpt · 2 findings · 6 lines 494 // A .cmd is icon-less; a proper .lnk with the CiCy icon is written via a
495 // throwaway PowerShell script (WScript.Shell CreateShortcut + IconLocation).
496 //
⋯
500 $s.Arguments = "/c set PATH=${nodeDir};%APPDATA%\\npm;%PATH%&& cicy-desktop"
501 $s.IconLocation = "${ico.replace(/"/g, "''")}"\n$s.Save()\n`);\n try {\n execSync(`powershell -NoProfile -ExecutionPolicy Bypass -File \"${ps}\"`, { stdio: \"ignore\" });\n ...
502 // (https://desktop.cicy-ai.com/) as the first window. The cicy-code
Critical Persistence backdoor
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 || "https://cicy-1372193042-cn.oss-cn-shanghai.aliyuncs.com" ;
High Runtime package install
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 helper
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 similarity
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.360
matchedPath = src/backends/window-manager.js
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.360
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.
src/cloud/cloud-client.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = cicy-desktop@2.1.360
matchedPath = src/cloud/cloud-client.js
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.360
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.
src/main-old.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = cicy-desktop@2.1.360
matchedPath = src/main-old.js
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.360
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.
bin/cicy-desktop View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = cicy-desktop@2.1.360
matchedPath = bin/cicy-desktop
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.360
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.
src/sidecar/localbin.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = cicy-desktop@2.1.360
matchedPath = src/sidecar/localbin.js
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.360
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.
src/sidecar/runtime.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = cicy-desktop@2.1.360
matchedPath = src/sidecar/runtime.js
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.360
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.
src/chrome/chrome-launcher.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = cicy-desktop@2.1.360
matchedPath = src/chrome/chrome-launcher.js
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.360
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.
src/sidecar/native.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = cicy-desktop@2.1.360
matchedPath = src/sidecar/native.js
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.360
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity Code↓
Package metadata 8 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
Low Non install lifecycle scripts
23
// Image tarball on Aliyun OSS (oss-cn-shanghai, public-read) — CN-domestic and
64 return new Promise ((resolve, reject) => {
65 execFile (dockerBin (), args, { timeout, windowsHide: true }, (err, stdout, stderr) => {
66 if (err) { err.stdout = String (stdout || "" ); err.stderr = String (stderr || "" ); return reject (err); }
31
const VER = (process.env.CICY_MIHOMO_VERSION || "v1.10.4" ).replace (/^v?/, "v" );
32 const OSS_BASE = process.env.CICY_OSS_BASE || "https://cicy-1372193042-cn.oss-cn-shanghai.aliyuncs.com" ;
Critical Download execute
Source downloads or fetches remote code and executes it.
src/sidecar/host-mihomo.js View on unpkg · L20 Code excerpt · 11 lines 21 const { spawn, execFile } = require ("child_process" );
22 const fs = require ("fs" );
⋯
24 const path = require ("path" );
25 const https = require ("https" );
26 const http = require ("http" );
⋯
30
31 const VER = (process.env.CICY_MIHOMO_VERSION || "v1.10.4" ).replace (/^v?/, "v" );
32 const OSS_BASE = process.env.CICY_OSS_BASE || "https://cicy-1372193042-cn.oss-cn-shanghai.aliyuncs.com" ;
⋯
44 const VERD = VER.replace (/^v/, "" );
45 const LOCAL_BIN = path.join (os.homedir (), ".local" , "bin" );
46 const NEW_BIN = path.join (LOCAL_BIN, `mihomo-${VERD}${EXT}` );
High Semantic analysis limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
bin/cicy-desktop#virtual:normalized:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 2
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 capability
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 persistence
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 (
`${baseUrl}/files/screenshot/sys_win_${winId.replace(/^0x/, "")}.jpeg`
107 const screenshotDir = path.join (
108 require ("os" ).homedir (),
High Known malware source similarity
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.360
matchedPath = src/tools/system-tools.js
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.360
similarity = 1.000
summary = normalized source hash matched finalized malicious source