Loading npm security reports…
Loading npm security reports…
cicy-desktop@2.1.300: 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 17, 2026, 13:59 UTC · by lpm-firewall-ai Source inspection found dangerous runtime capabilities and an unverified runtime binary update path, not malicious install-time behavior. The package should be warned for supply-chain and remote-execution exposure rather than blocked as malware.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
Launching the application with MCP or HTTP automation enabled, or starting the sidecar without a bundled binary.
Impact
A token holder can run commands; a compromised selected registry artifact could execute with the user's privileges.
Mechanism
Authenticated command execution and unverified runtime binary retrieval.
Evidence
src/tools/exec-tools.js src/sidecar/localbin.js src/main.js
Network endpoints2
registry.npmmirror.com registry.npmjs.org
public snapshot
Evidence for warning
The optional MCP service exposes arbitrary shell execution. The application can download and install a platform binary from npm at runtime without an integrity check. The default install has no install lifecycle hook, but runtime automation is a high-risk capability. Evidence against
The automation HTTP service requires an explicit runtime option or environment setting. MCP routes require a bearer or basic token. No install-time execution, credential harvesting, or covert exfiltration was found. 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 142 files · 1.72 MB of source
34 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 web.telegram.org 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" );
Code excerpt · 3 lines 166 if (isWindows) {
167 execFileSync("powershell", ["-NoProfile", "-Command", `Expand-Archive -LiteralPath "${dest}" -DestinationPath "${distDir}" -Force`], { stdio: "inherit" });
168 } else {
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/docker.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = cicy-desktop@2.1.360
matchedPath = src/sidecar/docker.js
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
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" ;
Critical Trigger reachable dangerous capability
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
src/sidecar/wsl-docker.js View on unpkg · L16 High Trigger reachable persistence
A manifest entrypoint or package-local install chain reaches persistence behavior.
src/sidecar/wsl-docker.js View on unpkg · L16 Shared code excerpt · 2 findings · 12 lines Trigger-reachable chain: manifest.main -> src/main.js -> src/backends/local-teams.js -> src/sidecar/wsl-docker.js
16
17 const { execFile, execFileSync, spawn } = require ("child_process" );
18 const path = require ("path" );
⋯
28 // Dedicated distro name — NEVER reuse/clobber a user's own "Ubuntu" distro.
29 const DISTRO = process.env.CICY_WSL_DISTRO || ;
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/local-teams.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = cicy-desktop@2.1.360
matchedPath = src/backends/local-teams.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/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.
src/backends/ipc.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = cicy-desktop@2.1.360
matchedPath = src/backends/ipc.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/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
↓
Package metadata 8 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
Low Non install lifecycle scripts
//
14 const log = require ("electron-log" ); // bootstrap preflight failures must land in main.log
15 const { execFile, execFileSync, spawn } = require ("child_process" );
16 const https = require ("https" );
23 const IMAGE = process.env.CICY_DOCKER_IMAGE || "cicybot/cicy-code:latest" ;
24 // Image tarball on Aliyun OSS (oss-cn-shanghai, public-read) — CN-domestic and
65 return new Promise ((resolve, reject) => {
66 execFile (dockerBin (), args, { timeout, windowsHide: true }, (err, stdout, stderr) => {
67 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 = 3
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` ); }
`${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
"cicy-code-wsl"
30 const IMAGE = process.env.CICY_DOCKER_IMAGE || "cicybot/cicy-code:latest" ;
39 const ROOTFS_URL = process.env.CICY_WSL_ROOTFS_URL ||
40 "https://cicy-1372193042-cn.oss-cn-shanghai.aliyuncs.com/rootfs/cicy-wsl-latest.tar.gz" ;
64 log.info (`[wsl-docker] NVIDIA GPU unavailable for ${cacheKey}: ${String(e.stderr || e.message || "").trim().slice(-300)}` );