Loading npm security reports…
Loading npm security reports…
cicy-desktop@2.1.368: Malware – npm package blocked | LPM Firewall
Blocked & quarantined
A publisher service can associate the desktop with a remote account and send it RPC requests using the saved enrollment token.
What to do: remove this version and, if it ran, rotate the credentials it could reach. Remediation↓
AI security reviewscanned on Oct 21, 2026, 07:06 UTC · by lpm-firewall-ai The inspected runtime performs automatic publisher-service enrollment, persists the resulting credential, and opens a connection that accepts remote RPC requests. That establishes a concrete remote control surface, so this package should be blocked.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
The homepage runtime starts while no saved team is available and the hub session is not already logged in.
Mechanism
The code requests an enrollment sponsor, registers the machine with the publisher service, writes the returned token and owner to global configuration, and connects to a WebSocket for RPC requests.
Attack narrative
When the homepage runtime finds no saved team and no logged-in hub session, it writes a team identifier, requests an enrollment sponsor, and exchanges it for a token at the publisher service. It saves that token and an owner identity in the user's global configuration, then uses the token to register a desktop connection and receive RPC requests. This is an automatic remote-control enrollment path without a visible user enrollment action in the inspected code.
Evidence
src/backends/homepage-react/assets/index-gkbJ7Q2a.js cicy-ai/global.json cicy-ai/team.txt
Decision evidencepublic snapshot Evidence for block
The homepage runtime automatically enrolls a desktop that lacks a saved team, then requests an enrollment token from the publisher service. It saves that token and an owner identity in the user’s global configuration. The runtime uses the saved token to register a desktop connection and accept remote RPC requests. Evidence against
The manifest identifies the homepage bundle as runtime product code; this finding is in that bundle, not in an install lifecycle hook. Behavioral surface
Source Child process · Crypto · Environment variables · Eval · Filesystem · Network · Shell · Web socket
Supply chain High entropy strings · Minified · URL strings
Manifest No manifest risk signals triggered.
Scanned 164 files · 2.24 MB of source
45 external domains referenced
10.0.2.2 127.0.0.1 api.cloudflare.com api.github.com api.ipapi.is api.ipify.org api.myip.com cdn.npmmirror.com chatgpt.com cicy-1372193042.cos.ap-shanghai.myqcloud.com cicy-ai.com cloud.debian.org deb.debian.org desktop.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 npmmirror.com r2.deepfetch.de5.net raw.githubusercontent.com react.dev registry.npmjs.org registry.npmmirror.com schemas.microsoft.com web.telegram.org ws.cicy-ai.com wslstorestorage.blob.core.windows.net www.apple.com www.baidu.com www.docker.com www.douyin.com www.facebook.com www.google.com www.gstatic.com www.tiktok.com www.w3.org Findings4 critical · 23 high · 5 medium · 6 low Source & flagged code30 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.
Code excerpt · 3 lines 1528 // eslint-disable-next-line no-new-func
1529 return await new Function (`return (async()=>{${f.js}})()` )();
1530 }
Low Weak crypto
Package source references weak cryptographic algorithms.
tools/arm-fblogin.js View on unpkg · L6 Code excerpt · 8 lines 6 if (!el||!el.ipcMain) return {ok:false ,err:'no electron.ipcMain' };
7 function totp (secret){const alph='[redacted]' ;let b='' ;for (const ch of String (secret||'' ).toUpperCase ()){const v=alph.indexOf (ch);if (v>=0 )b+=v.toString (2 ).pad...
8 async function fbLogin (idx){
High Trigger reachable persistence
A manifest entrypoint or package-local install chain reaches persistence behavior.
src/main.js View on unpkg · L33 Medium Install persistence
Source writes installer persistence such as shell profile or service configuration.
src/main.js View on unpkg · L33 Shared code excerpt · 2 findings · 12 lines Trigger-reachable persistence chain: manifest.main -> src/main.js
33 // 而且新建 profile 随时会多出来,手动注册必然漏。
34 const NO_PASSKEY = require ("path" ).join (__dirname, "inject" , "no-passkey.js" );
35 function armNoPasskey (ses) {
⋯
165 electronApp.commandLine.appendSwitch ("ignore-certificate-errors" );
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
High Credential exfiltration
Source combines credential-like environment material and outbound requests; review data flow before blocking.
scripts/r2.mjs View on unpkg · L17 High Sandbox evasion gated capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
scripts/r2.mjs View on unpkg · L17 Shared code excerpt · 2 findings · 12 lines 17 // R2_BUCKET default: cicy-assets-poc
18 // R2_PUBLIC_BASE default: https://r2.deepfetch.de5.net
19 //
⋯
24
25 import { spawnSync } from "node:child_process" ;
26 import { pathToFileURL } from "node:url" ;
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>`。所有
⋯
64 // Xcode/CLT —— colima/docker 都是预编译 bottle,无编译步骤)。可用环境变量换 CN 镜像。
65 const BREW_TARBALL = process.env.CICY_BREW_TARBALL || "https://github.[redacted]" ;
src/backends/homepage-react/assets/index-gkbJ7Q2a.js View file Critical Download execute
Source downloads or fetches remote code and executes it.
src/backends/homepage-react/assets/index-gkbJ7Q2a.js View on unpkg · L1 Code excerpt · 8 lines 1 (function (){const f=document.createElement ("link" ).relList;if (f&&f.supports&&f.supports ("modulepreload" ))return ;for (const S of document.querySelectorAll ('link[rel="modulepreload"]' ...
2 * @license React
⋯
40 * LICENSE file in the root directory of this source tree.
41 */var Fp;function Ly (){ (Fp) Ci;Fp= ; c= (),f= (),m= (); (e){ t= +e; ( <arguments.length){t+= + (argum...
High Cross file remote execution context
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
bin/cicy-desktop View on unpkg · L1 Code excerpt · 12 lines Cross-file remote execution chain: bin/cicy-desktop spawns src/main.js; helper contains network access plus dynamic code execution.
1 #!/usr/bin/env node
2 const { spawn, execSync, execFileSync } = require("child_process");
3 const path = require("path");
⋯
5 const os = require("os");
6 const isWindows = process.platform === "win32";
7 const { MasterTokenManager } = require("../src/master/master-main");
8 const { version: CLI_VERSION } = require("../package.json");
9
⋯
17
18 const HOME = os.homedir();
19 const DESKTOP_DIR = path.join(HOME, "Desktop");
⋯
29 // 仍可用 ELECTRON_MIRROR 显式覆盖(power user / CI)。下载只在首次(无缓存)发生。
bin/cicy-desktop#virtual:normalized:round1 View file 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 · L495 Code excerpt · 6 lines Trigger-reachable command-output exfiltration chain: scripts.start -> bin/cicy-desktop
495 // A .cmd is icon-less; a proper .lnk with the CiCy icon is written via a
496 // throwaway PowerShell script (WScript.Shell CreateShortcut + IconLocation).
497 //
⋯
501 $s.Arguments = "/c set PATH=${nodeDir};%APPDATA%\\npm;%PATH%&& cicy-desktop"
502 $s.IconLocation = "${ico.replace(/"/g, "''")}"\n$s.Save()\n`);\n try {\n execSync(`powershell -NoProfile -ExecutionPolicy Bypass -File \"${ps}\"`, { stdio: \"ignore\" });\n ...
503 // (https://desktop.cicy-ai.com/) as the first window. The cicy-code
High Runtime package install
Package source invokes a package manager install command at runtime.
bin/cicy-desktop#virtual:normalized:round1 View on unpkg · L34 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 = 815
magicHex = [redacted]
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/app-updater.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = cicy-desktop@2.1.367
matchedPath = src/app-updater.js
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.367
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/local-teams.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = cicy-desktop@2.1.367
matchedPath = src/backends/local-teams.js
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.367
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.367
matchedPath = src/backends/window-manager.js
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.367
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.367
matchedPath = src/cloud/cloud-client.js
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.367
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.367
matchedPath = src/main-old.js
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.367
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.367
matchedPath = src/sidecar/docker.js
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.367
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/wsl-docker.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = cicy-desktop@2.1.367
matchedPath = src/sidecar/wsl-docker.js
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.367
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.367
matchedPath = src/backends/ipc.js
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.367
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
9 let cred=null ; try {const d=JSON.parse (fs.readFileSync (path.join (os.homedir (),'cicy-ai' ,'electron' ,`account-${idx}.json` ),'utf8' ));const fb=(d.logins||[]).find (l=>String (l.name||'' )...
10 if (!cred||!cred.email||!cred.pass) return {ok:false ,err:'no cred' };
14 const ev=(c)=>wc.executeJavaScript (c,true );
15 const fill=await ev (`(()=>{function s(el,v){const p=Object.getPrototypeOf(el),d=Object.getOwnPropertyDescriptor(p,'value').set;d.call(el,v);el.dispatchEvent(new Event('input',{bubb...
16 if (!fill.ok) return {ok
166
// Allow CDP WebSocket connections from any origin so we can drive Page.reload
167 // remotely (HMR-fallback when CSS / a renderer-side change needs a hard refresh).
177 // session-created 里注册的 no-passkey 注入脚本。
178 if (process.platform === "linux" ) {
179 process.env["ELECTRON_DISABLE_SECURITY_WARNINGS" ] = "true" ;
180 // electronApp.commandLine.appendSwitch("disable-setuid-sandbox");
335 wc.send (channel, payload);
31
const VER = (process.env.CICY_MIHOMO_VERSION || "v1.10.4" ).replace (/^v?/, "v" );
32 const R2_BASE = process.env.CICY_R2_BASE || process.env.CICY_OSS_BASE || "https://r2.deepfetch.de5.net" ;
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/sidecar/host-mihomo.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = cicy-desktop@2.1.367
matchedPath = src/sidecar/host-mihomo.js
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.367
similarity = 1.000
summary = normalized source hash matched finalized malicious source
⋯
29 const BUCKET = process.env.R2_BUCKET || "cicy-assets-poc" ;
30 const PUBLIC_BASE = (process.env.R2_PUBLIC_BASE || "https://r2.deepfetch.de5.net" ).replace (/\/$/, "" );
37 function die (msg, code = 1 ) {
38 process.stderr.write (`r2: ${msg}\n` );
High Command output exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
scripts/r2.mjs View on unpkg · L24 Code excerpt · 8 lines 25 import { spawnSync } from "node:child_process" ;
26 import { pathToFileURL } from "node:url" ;
⋯
29 const BUCKET = process.env.R2_BUCKET || "cicy-assets-poc" ;
30 const PUBLIC_BASE = (process.env.R2_PUBLIC_BASE || "https://r2.deepfetch.de5.net" ).replace (/\/$/, "" );
31 const ACCOUNT = process.env.R2_ACCOUNT_ID || "" ;
⋯
37 function die (msg, code = 1 ) {
38 process.stderr.write (`r2: ${msg}\n` );
39 process.exit (code);
70 execFile ("bash" , ["-lc" , cmd], { timeout, env: shEnv (), maxBuffer: 1 << 26 },
71 (err, stdout, stderr) => {
72 if (err) { err.stdout = String (stdout || "" ); err.stderr = String (stderr || "" ); return reject (err); }
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 · 12 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>`。所有
⋯
64 // Xcode/CLT —— colima/docker 都是预编译 bottle,无编译步骤)。可用环境变量换 CN 镜像。
65 const BREW_TARBALL = process.env.CICY_BREW_TARBALL || "https://github.[redacted]" ;
66
⋯
70 execFile ("bash" , ["-lc" , cmd], { timeout, env: shEnv (), maxBuffer: 1 << 26 },
71 (err, stdout, stderr) => {
72 if (err) { err.stdout = String (stdout || "" ); err.stderr = String (stderr || "" ); return rej
if
return
1
var
Uy
Qo
hm
function
d
var
"https://react.dev/errors/"
if
1
"?args[]="
encodeURIComponent
42 at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
47 Error generating stack: `+n.message+`
48 `+n.stack}}var Et=Object.prototype.hasOwnProperty,Rt=c.unstable_scheduleCallback,ja=c.unstable_cancelCallback,Dt=c.unstable_shouldYield,mt=c.unstable_requestPaint,gt=c.unstable_now...
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.367
matchedPath = bin/cicy-desktop
matchedIdentity = npm:Y2ljeS1kZXNrdG9w:2.1.367
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Code excerpt · 5 lines 35 // Resolve a globally-installed electron (`npm i -g electron`), so the ~200MB
36 // binary is downloaded once and SHARED across cicy tools / desktop versions
⋯
42 try {
43 const prefix = execSync("npm prefix -g", { stdio: ["ignore", "pipe", "ignore"] })
44 .toString().trim();
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 = 5