Loading npm security reports…
Loading npm security reports…
@monoes/monomindcli@2.21.0: Suspicious npm security report (Warn) | LPM Firewall
npm / @monoes/monomindcli / 2.21.0
@monoes/monomindcli@2.21.0 CLI engine for Monomind — an open-source MCP server for Claude Code, OpenCode, Antigravity, Kimi Code, and Codex, with a codebase knowledge graph (tree-sitter + SQLite), persistent memory, multi-agent task coordination, and session hooks. Apache 2.0 licen
Flagged — allowed with a warning
Allowed by default policy, but 21 findings warrant review before installing.
AI security reviewscanned on Oct 9, 2026, 05:55 UTC · by lpm-firewall-ai The inspected paths do not establish malicious behavior, but the package’s complex agent integration and incomplete source analysis leave meaningful behavior unresolved. A warning is appropriate without claiming a concrete attack.
Static reason
One or more suspicious static signals were detected.
Trigger
Running package commands such as init, doctor, or the design URL scan; Claude helpers run when invoked by the corresponding agent integration.
Impact
The inspected behavior does not establish credential theft, harmful mutation, or another confirmed attack; remaining source-analysis gaps prevent a clean conclusion.
Mechanism
The cited helper excerpts read local agent and session state; setup can install the Claude CLI, and a design URL scan may obtain a managed Chrome when no system browser is available.
Evidence
.claude/helpers/agent-registry.cjs .claude/helpers/build-skill-registry.cjs .claude/helpers/handlers/capture-handler.cjs .claude/helpers/handlers/session-restore-handler.cjs .claude/helpers/handlers/task-handler.cjs .claude/helpers/statusline.cjs .claude/helpers/token-tracker.cjs
.claude/helpers/utils/micro-agents.cjs
dist/src/init/init-post-steps.js
dist/src/commands/doctor-env-checks.js
dist/src/commands/design-detect.js
dist/src/init/helpers-core-scripts.js
Decision evidencepublic snapshot Evidence for warning
The manifest identifies a CLI package with command entrypoints; the inspected manifest has no npm install lifecycle hook. The packaged Claude helpers inspect local Claude agent, command, session, and settings data for the package’s agent features. The explicit init flow can install the Claude CLI through a doctor fix, and doctor exposes that installation as a command action. The design URL scan uses a managed browser only when no installed browser is found; acquisition is reached through that scan. The package has complex agent integrations and source-analysis gaps, so this inspection does not resolve all behavior across the package. Evidence against
The inspected helpers read local agent and session information; these excerpts do not show an external recipient or exfiltration. The inspected npm install command installs the named Claude Code CLI and is reachable through doctor/init functionality, not an npm lifecycle hook. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell · Web socket
Supply chain High entropy strings · URL strings
Manifest No manifest risk signals triggered.
Scanned 998 files · 7.42 MB of source
38 external domains referenced
127.0.0.1 accounts.google.com aider.chat antigravity.google api.anthropic.com api.example.com api.github.com api.osv.dev api.z.ai cdnjs.cloudflare.com cli.github.com code.claude.com code.visualstudio.com cursor.com docs.factory.ai docs.github.com docs.openclaw.ai docs.x.ai example.com gemini.google.com git-scm.com github.com hermes-agent.nousresearch.com huggingface.co kiro.dev learn.chatgpt.com monoes.me nodejs.org opencode.ai pi.dev raw.githubusercontent.com registry.npmjs.org services.nvd.nist.gov www.apple.com www.instagram.com www.kimi.com www.linkedin.com x.com Findings8 high · 7 medium · 6 low Source & flagged code14 flagged High AI reviewer manipulation
Package text addresses the security reviewer or scanner and tries to influence the review outcome.
README.md View on unpkg Scanner record · 1 line isSafe('Ignore all previous instructions'); // → false (~0.04ms)
High Child process
Package source references child process execution.
dist/src/init/init-post-steps.js View on unpkg · L46 Code excerpt · 3 lines 46 }
47 const { spawn } = await import ('node:child_process' );
48 const logPath = path.join (outputDir, 'build.log' );
dist/src/commands/doctor-env-checks.js View file High Shell
Package source references shell execution.
dist/src/commands/doctor-env-checks.js View on unpkg · L19 Code excerpt · 3 lines 19 export const MAX_DOCTOR_BUILD_LOG_SCAN_BYTES = 64 * 1024 ; // 64 KB
20 const execAsync = promisify (exec);
21 export async function runCommand (command, timeoutMs = 5000 , env = {}) {
High Runtime package install
Package source invokes a package manager install command at runtime.
dist/src/commands/doctor-env-checks.js View on unpkg · L364 Code excerpt · 3 lines dist/src/orgrt/cline-runner-scoped.js View file Low Eval
Package source references a known benign dynamic code generation pattern.
dist/src/orgrt/cline-runner-scoped.js View on unpkg · L92 Code excerpt · 3 lines 92 /** Whether a scoped turn may run this edit (see EDIT_CHECK_JS). */
93 export const editAllowedInWorkspace = new Function ('fs' , 'path' , `${EDIT_CHECK_JS}\nreturn (name, input, workspace) => editAllowedInWorkspace(name, input, workspace, fs, path);` )(f...
94 /** Start of every refusal the plugin returns (and the ACP rejection names). */
dist/src/init/codex-generator.js#virtual:normalized:round1 View file Medium Dynamic require
Package source references dynamic require/import behavior.
dist/src/init/codex-generator.js#virtual:normalized:round1 View on unpkg · L37 Code excerpt · 3 lines 37 }
38 /** Generate the project-local adapter used by Codex"s native hook runner. */\nexport function generateCodexHookScript() {\n return `// Monomind native Codex hook bridge (genera...
39 }
Low Weak crypto
Package source references weak cryptographic algorithms.
dist/src/services/crash-reporter.js View on unpkg · L19 Code excerpt · 12 lines 19 */
20 import { execFile } from 'node:child_process' ;
21 import { createHash } from 'node:crypto' ;
⋯
119 // GitHub's side, which just degrades to "no match found", not a security issue.
120 const { stdout } = await execFileAsync ('gh' , [
121 'issue' ,
⋯
131 ], { timeout: 8000 });
132 issues = JSON. (stdout);
Medium Install persistence
Source writes installer persistence such as shell profile or service configuration.
dist/src/commands/org-serve.js View on unpkg · L35 Code excerpt · 12 lines 35 export const supervisorAction = async (ctx) => {
36 const cwd = resolve (ctx.cwd || process.cwd ());
37 const requested = String (ctx.flags.format ?? '' )
⋯
39 .toLowerCase ();
40 const format = requested || (process.platform === 'darwin' ? 'launchd' : 'systemd' );
41 if (format !== 'launchd' && format !== 'systemd' ) {
High Cloud metadata access
Source reaches cloud instance metadata or link-local credential endpoints.
dist/src/commands/providers.js View on unpkg · L6 Code excerpt · 12 lines 6 */
7 import { spawnSync } from 'node:child_process' ;
8 import { output } from '../output.js' ;
⋯
40 output.printError ('Provider name is required. Use -p <name> or pass as first argument.' );
41 return { success: false , exitCode: 1 };
42 }
43 const cwd = process.cwd ();
44 const config = configManager.getConfig (cwd);
High Copied package dependency bridge
Package metadata claims a different repository identity while copied source loads a runtime dependency bridge.
dist/src/commands/design-detect.js View on unpkg · L66 Code excerpt · 4 lines package = @monoes/monomindcli; repositoryIdentity = monomind; dependency = @monoes/monobrowse
66 export async function urlScanEnv () {
67 const { findChrome } = await import ('@monoes/monobrowse' );
68 try {
dist/src/init/helpers-core-scripts.js View file High External AI agent control surface mutation
Runtime or CLI source writes behavior-bearing configuration into a user or project AI-agent control surface.
dist/src/init/helpers-core-scripts.js View on unpkg Scanner record · 29 lines Runtime or CLI code links a write operation to an explicit external AI-agent control path:
ession.metrics)}\`);
return session;
},
update: (key, value) => {
if (!fs.existssync(session_file)) {
console.log('no active session');
return null;
}
const session = json.parse(fs.readfilesync(session_file, 'utf-8'));
session.context[key] = value;
session.updatedat = new date().toisostring();
fs.writefilesync(session_file, json.stringify(session, null, 2));
dist/src/orgrt/aider/monomind_aider_shim.py View file Medium Ships build helper
Package ships non-JavaScript build or shell helper files.
dist/src/orgrt/aider/monomind_aider_shim.py View on unpkg Scanner record · 4 lines path = dist/src/orgrt/aider/monomind_aider_shim.py
kind = build_helper
sizeBytes = 19323
magicHex = [redacted]
dist/src/browser/managed-chrome.js#virtual:normalized:round1 View file High Semantic analysis limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/src/browser/managed-chrome.js#virtual:normalized:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 25
Package metadata 7 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
364
// npm's output goes to stderr: under `doctor --json` stdout is the JSON.
365 execSync ('npm install -g @anthropic-ai/claude-code' , {
const
parse
133 const match = issues.find ((i) => i.title === title);
144 async function createIssueViaToken (repo, title, body, token) {
145 const res = await fetch (`https://api.github.com/repos/${repo}/issues` , {
56 // The hash keeps it unique for two directories with the same basename; the
57 // basename keeps it recognisable in `launchctl list` / `systemctl --user`.
58 const slug = `${(cwd.split(/[\\/]/).pop() || 'org').replace(/[^A-Za-z0-9._-]/g, '-')}-${createHash('sha256').update(cwd).digest('hex').slice(0, 8)}` ;
103 if (ctx.flags.install === true ) {
104 const home = process.env.HOME || process.env.USERPROFILE || '' ;
127 const key = process.env.ANTHROPIC_API_KEY || getConfigApiKey ('anthropic' );
154 const entry = configuredProviders.find ((p) => typeof p.name === 'string' && p.name.toLowerCase () === 'ollama' );
if (!fs.existssync(session_file)) {
const session = json.parse(fs.readfilesync(session_file, 'utf-8'));
if (session.metrics[name] !== undefined) {
fs.writefilesync(session_file,