Loading npm security reports…
Loading npm security reports…
cicy-desktop@2.1.276: Credential exfiltration – flagged | LPM Firewall
Flagged — allowed with a warning
Allowed by default policy, but 35 findings warrant review before installing.
AI security reviewscanned on Sep 20, 2026, 07:55 UTC · by lpm-firewall-ai This is conditional credential exposure rather than proven covert theft: the default endpoint is package-aligned, but the credential is not bound to it when the environment override is set. No install-time lifecycle attack was found.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
Launching the desktop application with a saved login token; recurring registration then runs every configured interval.
Impact
A caller able to control the process environment can redirect the existing service credential and device-registration data to an arbitrary endpoint.
Mechanism
The cloud client builds a URL from an unrestricted environment override and passes the saved token in an Authorization header to fetch.
Evidence
src/cloud/cloud-client.js src/main.js
Network endpoints2
cicy-ai.com CICY_CLOUD_BASE
public snapshot
Evidence for warning
The cloud base URL can be overridden through an environment variable without destination validation. The cloud request helper sends the saved login token as a bearer credential to that configurable base URL. On application launch, the main process collects device network details and invokes device registration; it also repeats registration periodically. Evidence against
The manifest has no npm install, preinstall, or postinstall hook. The credentialed cloud request returns early when no saved login token exists. 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 127 files · 1.63 MB of source
32 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 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" );
⋯
20
21 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/wsl-docker.js View on unpkg · L66 Code excerpt · 6 lines 66 // WSL2 kernel update package (the small ~17MB MSI behind aka.ms/wsl2kernel).
67 const KERNEL_MSI_URL = process.env.CICY_WSL_KERNEL_URL || "https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi" ;
68
⋯
75 try {
76 const out = await new Promise ((res) => execFile ("wsl" , ["--status" ], { timeout: 15000 , windowsHide: true , encoding: "utf16le" }, (e, o) => res (e ? "" : (o || ))));
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
22
// Image tarball on Aliyun OSS (oss-cn-shanghai, public-read) — CN-domestic and
63 return new Promise ((resolve, reject) => {
64 execFile (dockerBin (), args, { timeout, windowsHide: true }, (err, stdout, stderr) => {
65 if (err) { err.stdout = String (stdout || "" ); err.stderr = String (stderr || "" ); return reject (err); }
String
""
77 if (/\d+\.\d+\.\d+/.test (out)) { emit && emit ({ phase: "install-docker" , status: "running" , message: "WSL2 内核已就绪,跳过安装" }); return ; }
Critical Download execute
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
⋯
60 } catch (e) {
61 log.info (`[wsl-docker] NVIDIA GPU unavailable for ${cacheKey}: ${String(e.stderr || e.message || "").trim().slice(-300)}` );
62 }
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` ); }
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