registry  /  mmx-cli  /  1.0.17

mmx-cli@1.0.17

CLI for the MiniMax AI Platform

Static Scan Results

scanned 4h ago · by rust-scanner

Static analysis flagged 12 finding(s) at 72.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.

Static reason
One or more suspicious static signals were detected.

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessEnvironmentVarsFilesystemNetwork
Supply chain
HighEntropyStringsUrlStrings
Manifest
NoLicenseWildcardDependency
scanned 2 file(s), 214 KB of source, external domains: 127.0.0.1, account.minimax.io, account.minimaxi.com, api-uw.minimax.io, api.minimax.io, api.minimaxi.com, example.com, platform.minimax.io, platform.minimaxi.com

Source & flagged code

3 flagged · loading source
dist/mmx.mjsView file
103`),process.stderr.write(`Waiting for authorization... L104: `);let _=u.expired_in,c=u.interval||3000;while(Date.now()<_){await fp(c);let w=await fetch(`${n}/oauth2/token`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlenc... L105: ${gp}`}var gp;var En=s(()=>{At();gp=["Log in: mmx auth login","Pass per-call: --api-key sk-xxxxx","Or set env var: MMX_CONFIG_DIR=/path/to/.mmx"].join(`
High
Child Process

Package source references child process execution.

dist/mmx.mjsView on unpkg · L103
98In an interactive terminal, run without --${t} and the CLI will prompt for it.`,x.USAGE,n)}async function at(t){if(t.value)return t.value;if(H({nonInteractive:t.nonInteractive})){l... L99: `),process.exit(1);return n}bt(t.flagName,t.usageHint)}var mt=s(()=>{J();k()});function E(t){return t.length>8?`${t.slice(0,4)}...${t.slice(-4)}`:"***"}async function $r(t){let n=W... L100: Opened: ${u.verification_uri} ... L103: `),process.stderr.write(`Waiting for authorization... L104: `);let _=u.expired_in,c=u.interval||3000;while(Date.now()<_){await fp(c);let w=await fetch(`${n}/oauth2/token`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlenc... L105: ${gp}`}var gp;var En=s(()=>{At();gp=["Log in: mmx auth login","Pass per-call: --api-key sk-xxxxx","Or set env var: MMX_CONFIG_DIR=/path/to/.mmx"].join(` L106: `)});function ht(t){return t.replace(/^https?:\/\//,"")}async function ur(t){if(t.apiKey||t.fileApiKey)return;if(await L())return;let n=process.env.MINIMAX_API_KEY;if(n){if(!H({non... L107: `),process.stderr.write(`Credentials saved to ~/.mmx/config.json
High
Same File Env Network Execution

A single source file combines environment access, network access, and code or shell execution; review context before blocking.

dist/mmx.mjsView on unpkg · L98
90L91: `)},_t,lp=()=>{let t=In?["◒","◐","◓","◑"]:["•","o","O","0"],n=In?80:120,r,i,$=!1,p="",e=(c="")=>{$=!0,r=ge(),p=c.replace(/\.+$/,""),process.stdout.write(`${o.default.gray(R)} L92: `);let w=0,v=0;i=setInterval(()=>{let b=o.default.magenta(t[w]),G=".".repeat(Math.floor(v)).slice(0,3);process.stdout.write(qt.cursor.move(-999,0)),process.stdout.write(qt.erase.do... ... L98: In an interactive terminal, run without --${t} and the CLI will prompt for it.`,x.USAGE,n)}async function at(t){if(t.value)return t.value;if(H({nonInteractive:t.nonInteractive})){l... L99: `),process.exit(1);return n}bt(t.flagName,t.usageHint)}var mt=s(()=>{J();k()});function E(t){return t.length>8?`${t.slice(0,4)}...${t.slice(-4)}`:"***"}async function $r(t){let n=W... L100: Opened: ${u.verification_uri} ... L103: `),process.stderr.write(`Waiting for authorization... L104: `);let _=u.expired_in,c=u.interval||3000;while(Date.now()<_){await fp(c);let w=await fetch(`${n}/oauth2/token`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlenc... L105: ${gp}`}var gp;var En=s(()=>{At();gp=["Log in: mmx auth login","Pass per-call: --api-key sk-xxxxx","Or set env var: MMX_CONFIG_DIR=/path
High
Command Output Exfiltration

Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.

dist/mmx.mjsView on unpkg · L90

Findings

3 High3 Medium6 Low
HighChild Processdist/mmx.mjs
HighSame File Env Network Executiondist/mmx.mjs
HighCommand Output Exfiltrationdist/mmx.mjs
MediumNetwork
MediumEnvironment Vars
MediumWildcard Dependency
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings
LowNo License