Loading npm security reports…
Loading npm security reports…
@geonmoo/opencli@2.1.0: Destructive action – npm package flagged | LPM Firewall
Flagged — allowed with a warning
Allowed by default policy, but 32 findings warrant review before installing.
AI security reviewscanned on Nov 21, 2026, 16:51 UTC · by lpm-firewall-ai The package's normal CLI behavior is broadly consistent with its purpose, and the inspected credential flow sends Flomo's session token to Flomo. However, install-triggered adapter cleanup can recursively delete user override directories, and shell completion files are also installed automatically for global installs; these warrant a warning.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
The adapter sync runs during global installation, or when OPENCLI_FETCH=1 or the first-run fallback is set.
Impact
Local adapter overrides and any user changes inside those directories may be lost without a separate deletion request.
Mechanism
It compares packaged adapter hashes, marks changed sites, then recursively removes each corresponding directory under ~/.opencli/clis.
Evidence
scripts/fetch-adapters.js scripts/postinstall.js ~/.opencli/clis/<site>/ ~/.zsh/completions/_opencli ~/.bash_completion.d/opencli ~/.config/fish/completions/opencli.fish
public snapshot
Evidence for warning
On global installation, the adapter sync can recursively delete a changed site's directory under the user's ~/.opencli/clis override tree. The deletion runs on global install, explicit OPENCLI_FETCH=1, or first-run fallback; a global install does not require a separate deletion request. The postinstall script also installs OpenCLI shell completion files for global installs. Evidence against
The Flomo adapter sends its browser-session token to Flomo's own API as part of the `flomo memos` command. The flagged Trip.com requests target Trip.com search endpoints, and the Twitter helper's external fetch retrieves public query metadata; neither inspected path showed credential exfiltration. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell · Web socket
Supply chain High entropy strings · Telemetry · URL strings
Manifest No manifest risk signals triggered.
Scanned 1,496 files · 7.49 MB of source
50 external domains referenced
127.0.0.1 139.196.153.143 36kr.com account.dianping.com accounts.douban.com accounts.google.com accounts.pixiv.net accounts.spotify.com admin.xiaoe-tech.com api-c.liepin.com api-web.lixiang.com api.bilibili.com api.chess.com api.coingecko.com api.dictionaryapi.dev api.fda.gov api.github.com api.juejin.cn api.llama.fi api.m.jd.com api.manus.im api.minimax.io api.minimaxi.com api.npmjs.org api.nuget.org api.openalex.org api.osv.dev api.ruguoapp.com api.semanticscholar.org api.slock.ai api.spotify.com api.stackexchange.com api.tvmaze.com api.xiaoyuzhoufm.com api.zsxq.com api2.mubu.com api2.openreview.net apigw-dgg-b0.huawei.com app.cj.sina.com.cn app.mercury.com app.mokahr.com app.slock.ai appxxxx.h5.xet.citv.cn archive.org arxiv.org auth.1point3acres.com auth.band.us auth.openai.com azuresearch-usnc.nuget.org b23.tv Findings2 critical · 15 high · 7 medium · 8 low Source & flagged code22 flagged High Install time lifecycle scripts
Package defines install-time lifecycle scripts.
package.json View on unpkg Medium Ambiguous install lifecycle script
Install-time lifecycle script is not statically allowlisted and needs review.
package.json View on unpkg Shared scanner record · 2 findings · 1 line scripts.postinstall = node scripts/postinstall.js && node scripts/fetch-adapters.js
Medium Dynamic require
Package source references dynamic require/import behavior.
dist/src/discovery.js View on unpkg · L196 Code excerpt · 3 lines 196 return ;
197 await import (pathToFileURL (filePath).href).catch ((err) => {
198 log.warn (`Failed to load module ${filePath}: ${getErrorMessage(err)}` );
Low Weak crypto
Package source references weak cryptographic algorithms.
clis/flomo/memos.js View on unpkg · L76 Code excerpt · 6 lines 76 params.sign = createHash ('md5' ).update (signBase + '[redacted]' ).digest ('hex' );
77 return 'https://flomoapp.com/api/v1/memo/updated/?' + new URLSearchParams (params).toString ();
78 }
⋯
85 if (!raw) return null ;
86 const me = JSON.parse (raw);
87 const token = me?.access_token || me?.data?.access_token || '' ;
High Trigger reachable persistence
A manifest entrypoint or package-local install chain reaches persistence behavior.
scripts/postinstall.js View on unpkg · L7 Medium Install persistence
Source writes installer persistence such as shell profile or service configuration.
scripts/postinstall.js View on unpkg · L7 Shared code excerpt · 2 findings · 12 lines Trigger-reachable persistence chain: scripts.postinstall -> scripts/postinstall.js
7 * standard completion directory. For zsh and bash, the script prints manual
8 * instructions instead of modifying rc files (~/.zshrc, ~/.bashrc) — this
9 * avoids breaking multi-line shell commands and other fragile rc structures.
⋯
61 function detectShell () {
62 const shell = process.env.SHELL || '' ;
63 if (shell. ( )) ;
Critical Builtin API tampering exfiltration
Source mutates builtin networking, serialization, module-loading, or filesystem APIs while forwarding data to an external endpoint.
clis/trip/utils.js View on unpkg · L749 Code excerpt · 7 lines 749 }
750 if (!input) { clearInterval (timer); window.fetch = origFetch; return resolve ({ status: 'noinput' }); }
751 if (!captured.length && elapsed >= 6000 && /0 \\s+routes?\\s+found/i.test ((document.body && document.body.innerText) || '' )) { clearInterval (timer); window.fetch = origFetch; return ...
⋯
759 export function buildDealsUrl () {
760 const params = new ({ locale: , curr: });
High Sandbox evasion gated capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
scripts/test-package.mjs View on unpkg · L1 Code excerpt · 12 lines 1 import assert from 'node:assert/strict' ;
2 import { execFileSync, spawnSync } from 'node:child_process' ;
3 import { mkdtempSync, mkdirSync, readFileSync, rmSync, writeFileSync } from 'node:fs' ;
⋯
8 const root = resolve (dirname (fileURLToPath (import .meta.url)), '..' );
9 const pkg = JSON.parse (readFileSync ( (root, ), ));
Medium Ships build helper
Package ships non-JavaScript build or shell helper files.
scripts/check-doc-coverage.sh View on unpkg Scanner record · 4 lines path = scripts/check-doc-coverage.sh
kind = build_helper
sizeBytes = 1834
magicHex = [redacted]
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/src/plugin.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @geonmoo/opencli@2.0.1
matchedPath = dist/src/plugin.js
matchedIdentity = npm:QGdlb25tb28vb3BlbmNsaQ:2.0.1
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.
dist/src/commands/adapter.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @geonmoo/opencli@2.0.1
matchedPath = dist/src/commands/adapter.js
matchedIdentity = npm:QGdlb25tb28vb3BlbmNsaQ:2.0.1
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.
dist/src/verify.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @geonmoo/opencli@2.0.1
matchedPath = dist/src/verify.js
matchedIdentity = npm:QGdlb25tb28vb3BlbmNsaQ:2.0.1
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.
dist/src/commands/browser.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @geonmoo/opencli@2.0.1
matchedPath = dist/src/commands/browser.js
matchedIdentity = npm:QGdlb25tb28vb3BlbmNsaQ:2.0.1
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.
dist/src/execution.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @geonmoo/opencli@2.0.1
matchedPath = dist/src/execution.js
matchedIdentity = npm:QGdlb25tb28vb3BlbmNsaQ:2.0.1
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.
clis/1point3acres/notifications.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @geonmoo/opencli@2.0.1
matchedPath = clis/1point3acres/notifications.js
matchedIdentity = npm:QGdlb25tb28vb3BlbmNsaQ:2.0.1
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.
clis/1point3acres/utils.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @geonmoo/opencli@2.0.1
matchedPath = clis/1point3acres/utils.js
matchedIdentity = npm:QGdlb25tb28vb3BlbmNsaQ:2.0.1
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.
clis/36kr/news.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @geonmoo/opencli@2.0.1
matchedPath = clis/36kr/news.js
matchedIdentity = npm:QGdlb25tb28vb3BlbmNsaQ:2.0.1
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.
clis/arxiv/utils.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @geonmoo/opencli@2.0.1
matchedPath = clis/arxiv/utils.js
matchedIdentity = npm:QGdlb25tb28vb3BlbmNsaQ:2.0.1
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.
clis/bbc/news.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @geonmoo/opencli@2.0.1
matchedPath = clis/bbc/news.js
matchedIdentity = npm:QGdlb25tb28vb3BlbmNsaQ:2.0.1
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.
clis/bbc/utils.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @geonmoo/opencli@2.0.1
matchedPath = clis/bbc/utils.js
matchedIdentity = npm:QGdlb25tb28vb3BlbmNsaQ:2.0.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Code↓
Package metadata 10 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
Low Non install lifecycle scripts
includes
'zsh'
return
'zsh'
83 const require = createRequire (import .meta.url);
84 const dominoDir = dirname (require.resolve ('@mixmark-io/domino/package.json' ));
85 rmSync (join (dominoDir, 'test' ), { recursive: true , force: true });
97 // Skip in CI environments
98 if (process.env.CI || process.env.CONTINUOUS_INTEGRATION) {
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
scripts/postinstall.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @geonmoo/opencli@2.0.1
matchedPath = scripts/postinstall.js
matchedIdentity = npm:QGdlb25tb28vb3BlbmNsaQ:2.0.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
⋯
303 const ghResp = await fetch ('https://raw.githubusercontent.com/fa0311/twitter-[redacted].json' , { signal: controller.signal });
304 clearTimeout (timeout);
URLSearchParams
'en-US'
'USD'
761 return `https://www.trip.com/sale/deals/?${params.toString()}` ;
join
'package.json'
'utf8'
10 const temp = mkdtempSync (join (tmpdir (), 'opencli-package-test-' ));
13 const env = { ...process.env, HOME: home, USERPROFILE: home, CI: '' , CONTINUOUS_INTEGRATION: '' , SHELL: '' };
14 assert.ok (process.env.npm_execpath, 'Run this check with npm run test:package' );
21 if (result.status !== 0 ) {
22 process.stderr.write (result.stdout + result.stderr);
23 throw new Error (`npm ${args[0]} failed (${res