---
canonical: "https://firewall.lpm.dev/npm/@geonmoo/opencli/v/2.1.0"
markdown: "https://firewall.lpm.dev/npm/@geonmoo/opencli/v/2.1.0.md"
package: "@geonmoo/opencli"
report_status: "published"
title: "@geonmoo/opencli@2.1.0 npm security report"
verdict: "suspicious"
version: "2.1.0"
---

# @geonmoo/opencli@2.1.0 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Flagged — allowed with a warning** — Allowed by default policy, but 32 findings warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Published
- **Threat category:** Destructive action
- **Selected version:** 2.1.0
- **Selected version is latest:** Yes
- **Analysis source:** AI security review (lpm-firewall-ai)

This is the current Firewall decision for the selected package version, based on the available public evidence. Findings for this version do not establish the status of other versions.

AI assessment: suspicious; recommendation: downgrade to warn. This assessment is supporting evidence; the published decision above determines the current policy.

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.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 84.0%
- **Started:** 2026-11-21T16:50:24.160Z
- **Finished:** 2026-11-21T16:51:48.574Z
- **Download time:** 1261 ms
- **Static scan time:** 5030 ms
- **AI review time:** 78122 ms
- **Total time:** 84414 ms

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

### Published attack-surface review

- **Summary:** Install-time adapter sync can remove user adapter override directories; global postinstall also installs shell completions.

- **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.

- **Evidence paths:** scripts/fetch-adapters.js, scripts/postinstall.js

- **Review source:** ai\_review

- **Reviewed:** 2026-11-21T16:51:48.574Z

### AI review details

- **Review stage:** source\_first\_review

- **Mechanism:** It compares packaged adapter hashes, marks changed sites, then recursively removes each corresponding directory under ~/.opencli/clis.

- **Rationale:** 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.

- **Files touched:** ~/.opencli/clis/\<site\>/, ~/.zsh/completions/\_opencli, ~/.bash\_completion.d/opencli, ~/.config/fish/completions/opencli.fish

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 84.0%

- **Recommended action:** downgrade\_to\_warn

- **Intent class:** Critical Vulnerability

- **False-positive risk:** Medium

- **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.

## Affected versions and remediation

This report applies to @geonmoo/opencli@2.1.0.

- Review the evidence and your use of @geonmoo/opencli@2.1.0 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.

## Public findings

### 1. High: Install Time Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 90.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/@geonmoo/opencli@2.1.0/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.postinstall = node scripts/postinstall.js && node scripts/fetch-adapters.js
```

### 2. Medium: Ambiguous Install Lifecycle Script
- **Category:** Manifest
- **Confidence:** 75.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/@geonmoo/opencli@2.1.0/package.json>)

Install-time lifecycle script is not statically allowlisted and needs review.

Public source snippet (untrusted):

```json
scripts.postinstall = node scripts/postinstall.js && node scripts/fetch-adapters.js
```

### 3. Low: Non Install Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 80.0%

Package declares lifecycle scripts that are not normally run for registry tarball installs.

### 4. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 5. Low: Eval
- **Category:** Source
- **Confidence:** 45.0%

Package source references a known benign dynamic code generation pattern.

### 6. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/src/discovery.js
- **Public source:** [View source](<https://unpkg.com/@geonmoo/opencli@2.1.0/dist/src/discovery.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L196: return;
L197: await import(pathToFileURL(filePath).href).catch((err) => {
L198: log.warn(`Failed to load module ${filePath}: ${getErrorMessage(err)}`);
```

### 7. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** clis/flomo/memos.js
- **Public source:** [View source](<https://unpkg.com/@geonmoo/opencli@2.1.0/clis/flomo/memos.js>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L76: params.sign = createHash('md5').update(signBase + '[redacted]').digest('hex');
L77: return 'https://flomoapp.com/api/v1/memo/updated/?' + new URLSearchParams(params).toString();
L78: }
...
L85: if (!raw) return null;
L86: const me = JSON.parse(raw);
L87: const token = me?.access_token || me?.data?.access_token || '';
```

### 8. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 9. Medium: Environment Vars
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 10. Medium: Install Persistence
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** scripts/postinstall.js
- **Public source:** [View source](<https://unpkg.com/@geonmoo/opencli@2.1.0/scripts/postinstall.js>)

Source writes installer persistence such as shell profile or service configuration.

Public source snippet (untrusted):

```javascript
L7: * standard completion directory.  For zsh and bash, the script prints manual
L8: * instructions instead of modifying rc files (~/.zshrc, ~/.bashrc) — this
L9: * avoids breaking multi-line shell commands and other fragile rc structures.
...
L61: function detectShell() {
L62: const shell = process.env.SHELL || '';
L63: if (shell.includes('zsh')) return 'zsh';
...
L83: const require = createRequire(import.meta.url);
L84: const dominoDir = dirname(require.resolve('@mixmark-io/domino/package.json'));
L85: rmSync(join(dominoDir, 'test'), { recursive: true, force: true });
...
L97: // Skip in CI environments
L98: if (process.env.CI || process.env.CONTINUOUS_INTEGRATION) {
L99: return;
```

### 11. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 12. Critical: Hardcoded Runtime Data Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** clis/twitter/shared.js
- **Public source:** [View source](<https://unpkg.com/@geonmoo/opencli@2.1.0/clis/twitter/shared.js>)

Source sends credentials or rich application records to a package-controlled external receiver enabled by default.

Public source snippet (untrusted):

```javascript
L50: if (!value) {
L51: throw new ArgumentError('twitter tweet URL cannot be empty', 'Example: opencli twitter retweet https://x.com/jack/status/20');
L52: }
...
L193: 
L194: export function looksLikePrivateTwitterTimeline(data) {
L195: const result = data?.data?.user?.result;
...
L210: ) {
L211: return { data: unwrapped };
L212: }
...
L302: try {
L303: const ghResp = await fetch('https://raw.githubusercontent.com/fa0311/twitter-[redacted].json', { signal: controller.signal });
L304: clearTimeout(timeout);
```

### 13. Critical: Builtin Api Tampering Exfiltration
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** clis/trip/utils.js
- **Public source:** [View source](<https://unpkg.com/@geonmoo/opencli@2.1.0/clis/trip/utils.js>)

Source mutates builtin networking, serialization, module-loading, or filesystem APIs while forwarding data to an external endpoint.

Public source snippet (untrusted):

```javascript
L749: }
L750: if (!input) { clearInterval(timer); window.fetch = origFetch; return resolve({ status: 'noinput' }); }
L751: if (!captured.length && elapsed >= 6000 && /0\\s+routes?\\s+found/i.test((document.body && document.body.innerText) || '')) { clearInterval(timer); window.fetch = origFetch; return...
...
L759: export function buildDealsUrl() {
L760: const params = new URLSearchParams({ locale: 'en-US', curr: 'USD' });
L761: return `https://www.trip.com/sale/deals/?${params.toString()}`;
L762: }
```

### 14. High: Sandbox Evasion Gated Capability
- **Category:** Source
- **Confidence:** 84.0%
- **Path:** scripts/test-package.mjs
- **Public source:** [View source](<https://unpkg.com/@geonmoo/opencli@2.1.0/scripts/test-package.mjs>)

Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.

Public source snippet (untrusted):

```javascript
L1: import assert from 'node:assert/strict';
L2: import { execFileSync, spawnSync } from 'node:child_process';
L3: import { mkdtempSync, mkdirSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
...
L8: const root = resolve(dirname(fileURLToPath(import.meta.url)), '..');
L9: const pkg = JSON.parse(readFileSync(join(root, 'package.json'), 'utf8'));
L10: const temp = mkdtempSync(join(tmpdir(), 'opencli-package-test-'));
...
L12: mkdirSync(home);
L13: const env = { ...process.env, HOME: home, USERPROFILE: home, CI: '', CONTINUOUS_INTEGRATION: '', SHELL: '' };
L14: assert.ok(process.env.npm_execpath, 'Run this check with npm run test:package');
...
L21: if (result.status !== 0) {
L22: process.stderr.write(result.stdout + result.stderr);
L23: throw new Error(`npm ${args[0]} failed (${res
```

### 15. High: Trigger Reachable Persistence
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** scripts/postinstall.js
- **Public source:** [View source](<https://unpkg.com/@geonmoo/opencli@2.1.0/scripts/postinstall.js>)

A manifest entrypoint or package-local install chain reaches persistence behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable persistence chain: scripts.postinstall -> scripts/postinstall.js
L7: * standard completion directory.  For zsh and bash, the script prints manual
L8: * instructions instead of modifying rc files (~/.zshrc, ~/.bashrc) — this
L9: * avoids breaking multi-line shell commands and other fragile rc structures.
...
L61: function detectShell() {
L62: const shell = process.env.SHELL || '';
L63: if (shell.includes('zsh')) return 'zsh';
...
L83: const require = createRequire(import.meta.url);
L84: const dominoDir = dirname(require.resolve('@mixmark-io/domino/package.json'));
L85: rmSync(join(dominoDir, 'test'), { recursive: true, force: true });
...
L97: // Skip in CI environments
L98: if (process.env.CI || process.env.CONTINUOUS_INTEGRATION) {
L99: return;
```

### 16. Low: High Entropy Strings
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 17. Low: Telemetry
- **Category:** Supply Chain
- **Confidence:** 70.0%

Package source references telemetry or analytics APIs.

### 18. Low: Url Strings
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 19. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** scripts/check-doc-coverage.sh
- **Public source:** [View source](<https://unpkg.com/@geonmoo/opencli@2.1.0/scripts/check-doc-coverage.sh>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```shell
path = scripts/check-doc-coverage.sh
kind = build_helper
sizeBytes = 1834
magicHex = [redacted]
```

### 20. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 100.0%

Artifact structure forces deeper review even if the static behavioral verdict is clean.

### 21. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/src/plugin.js
- **Public source:** [View source](<https://unpkg.com/@geonmoo/opencli@2.1.0/dist/src/plugin.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
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
```

### 22. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/src/commands/adapter.js
- **Public source:** [View source](<https://unpkg.com/@geonmoo/opencli@2.1.0/dist/src/commands/adapter.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
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
```

### 23. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/src/verify.js
- **Public source:** [View source](<https://unpkg.com/@geonmoo/opencli@2.1.0/dist/src/verify.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
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
```

### 24. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/src/commands/browser.js
- **Public source:** [View source](<https://unpkg.com/@geonmoo/opencli@2.1.0/dist/src/commands/browser.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
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
```

### 25. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** scripts/postinstall.js
- **Public source:** [View source](<https://unpkg.com/@geonmoo/opencli@2.1.0/scripts/postinstall.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
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
```

### 26. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/src/execution.js
- **Public source:** [View source](<https://unpkg.com/@geonmoo/opencli@2.1.0/dist/src/execution.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
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
```

### 27. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** clis/1point3acres/notifications.js
- **Public source:** [View source](<https://unpkg.com/@geonmoo/opencli@2.1.0/clis/1point3acres/notifications.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
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
```

### 28. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** clis/1point3acres/utils.js
- **Public source:** [View source](<https://unpkg.com/@geonmoo/opencli@2.1.0/clis/1point3acres/utils.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
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
```

### 29. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** clis/36kr/news.js
- **Public source:** [View source](<https://unpkg.com/@geonmoo/opencli@2.1.0/clis/36kr/news.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
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
```

### 30. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** clis/arxiv/utils.js
- **Public source:** [View source](<https://unpkg.com/@geonmoo/opencli@2.1.0/clis/arxiv/utils.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
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
```

### 31. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** clis/bbc/news.js
- **Public source:** [View source](<https://unpkg.com/@geonmoo/opencli@2.1.0/clis/bbc/news.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
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
```

### 32. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** clis/bbc/utils.js
- **Public source:** [View source](<https://unpkg.com/@geonmoo/opencli@2.1.0/clis/bbc/utils.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
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
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** postinstall, prepare, prepublishOnly, preuninstall
- **Dependencies:** 9
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 10
- **Published dependency-graph edges:** 9

### Published dependency entries
- @mozilla/readability ^0.6.0 (Dependency)
- acorn ^8.19.0 (Dependency)
- cli-table3 ^0.6.5 (Dependency)
- commander ^14.0.3 (Dependency)
- js-yaml ^4.3.2 (Dependency)
- turndown ^7.2.2 (Dependency)
- turndown-plugin-gfm ^1.0.2 (Dependency)
- undici 7.30.2 (Dependency)
- ws ^8.18.0 (Dependency)

## Package metadata
- **Package:** @geonmoo/opencli
- **Ecosystem:** npm
- **Version:** 2.1.0
- **License:** Apache-2.0
- **Version published:** 2026-11-21T16:37:43.402Z
- **Package first seen:** 2026-10-17T14:18:51.133Z
- **Package last seen:** 2026-11-21T16:51:48.574Z
- **Known versions:** 3
- **Latest version:** 2.1.0
- **Appeal under review:** No
- **Description:** Make any website your CLI. AI-powered.
- **Author:** jackwener
- **Maintainers:** geonmoo
- **Keywords:** cli, browser, web, ai
- **Runtime engines:** node: \>=20.18.1
- **Artifact files:** 1643
- **Artifact unpacked size:** 9,416,912 bytes
- **Artifact signatures:** 2
- **Attestations:** Yes
- **Provenance:** https://slsa.dev/provenance/v1

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@geonmoo/opencli/v/2.1.0>)
- [Repository](<https://github.com/GeonMoo/OpenCLI>)
- [Homepage](<https://github.com/GeonMoo/OpenCLI#readme>)
- [Issues](<https://github.com/GeonMoo/OpenCLI/issues>)
