---
canonical: "https://firewall.lpm.dev/npm/@minimax-ai/code/v/0.4.12"
markdown: "https://firewall.lpm.dev/npm/@minimax-ai/code/v/0.4.12.md"
package: "@minimax-ai/code"
report_status: "under_review"
title: "@minimax-ai/code@0.4.12 npm security report"
verdict: "manual_review"
version: "0.4.12"
---

# @minimax-ai/code@0.4.12 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
**Allowed — no malicious behavior detected** — No malicious behavior detected. 33 low-signal pattern(s) reviewed.

- **Verdict:** Manual Review
- **Product-default install policy:** Allow
- **Firewall policy:** No policy match
- **Public report status:** Under Review
- **Threat category:** Unknown
- **Selected version:** 0.4.12
- **Selected version is latest:** No
- **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: manual review; recommendation: manual review. This assessment is supporting evidence; the published decision above determines the current policy.

The only install hook is a local better-sqlite3 compatibility check, and the flagged agent sites read or label files during normal CLI use. A clean publication is blocked because the required citation list is longer than the citation cap, and no independent malicious chain was found.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Manual Review
- **Recorded analysis confidence:** 62.0%
- **Started:** 2026-09-26T03:12:47.838Z
- **Finished:** 2026-09-26T03:14:15.379Z
- **Download time:** 1017 ms
- **Static scan time:** 24904 ms
- **AI review time:** 61618 ms
- **Total time:** 87541 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:** No confirmed attack surface was established. Install runs a local SQLite compatibility check. Later CLI code can read local Codex session metadata and label AGENTS.md or CLAUDE.md during tool display. A clean verdict cannot be published because ten required citations exceed the eight-citation limit.

- **Trigger:** npm postinstall runs the native check. Codex session lookup and instruction-file labeling run only when the CLI or a tool path uses them.

- **Impact:** Compatibility messaging or a local session lookup. Inspected paths do not show secret theft, a remote payload, or an unconsented agent-control write.

- **Review source:** ai\_review

- **Reviewed:** 2026-09-26T03:14:15.379Z

### AI review details

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

- **Mechanism:** The postinstall validates Node, glibc, and better-sqlite3, then exits with a message. Runtime helpers read matching local session files or classify filenames already being read.

- **Rationale:** The only install hook is a local better-sqlite3 compatibility check, and the flagged agent sites read or label files during normal CLI use. A clean publication is blocked because the required citation list is longer than the citation cap, and no independent malicious chain was found.

### Review decision

- **Verdict:** Manual Review

- **Confidence:** 62.0%

- **Recommended action:** manual\_review

- **Intent class:** Unknown

- **False-positive risk:** Medium

- **AI review observations:** package.json defines only a postinstall that runs verify-native-install.mjs. Dependencies are clipboard, ripgrep, and optional better-sqlite3, not this package name., That postinstall checks the Node and glibc range, then smoke-tests optional better-sqlite3 and prints reinstall text. It does not write agent config or open a network connection., Launcher code reads recent local Codex session files under CODEX\_HOME or ~/.codex and returns a session id when the workspace matches. It is not an npm lifecycle hook., Tool-output code treats AGENTS.md and CLAUDE.md as labeled read targets. That is display classification, not a config write., A clean decision would need citations for 10 required paths, but sourceCitations allows 8. No separate install-time or import-time attack chain was found in the inspected entrypoints.

- **Evidence against:** There is no preinstall or install script and no runtime dependency on @minimax-ai/code., The PDF skill uses child\_process only to locate or install Playwright Chromium when that skill script runs.

## Affected versions and remediation

This report applies to @minimax-ai/code@0.4.12.

- Review the evidence and your use of @minimax-ai/code@0.4.12 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/@minimax-ai/code@0.4.12/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.postinstall = node ./verify-native-install.mjs
```

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

Package declares npm scripts.

### 3. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** chunks/chunk-2CEKQTMO.js
- **Public source:** [View source](<https://unpkg.com/@minimax-ai/code@0.4.12/chunks/chunk-2CEKQTMO.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L1: import { createRequire as __mavis_cR } from "module"; import { basename as __mavis_basename, dirname as __mavis_dirname, join as __mavis_join } from "path"; import { fileURLToPath ...
L2: import{a as p}from"./chunk-VPHVKGPT.js";import{e as g,k as d,m as h}from"./chunk-WAVNKSSE.js";import{isAbsolute as f,resolve as A}from"node:path";import{spawn as E}from"node:child_...
```

### 4. High: Shell
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** chunks/launcher-TAS3WAUC.js
- **Public source:** [View source](<https://unpkg.com/@minimax-ai/code@0.4.12/chunks/launcher-TAS3WAUC.js>)

Package source references shell execution.

Public source snippet (untrusted):

```javascript
L213: `),i=I7(e.trim());if(!i)return[];let s=new RegExp(`^##\\s+\\[?v?${i}\\]?(?=\\s|\xB7|-|$).*$`,"imu").exec(t);if(!s)return[];let r=t.slice((s.index??0)+s[0].length),o=r.search(/^##\s...
L214: `)){let r=/^\s*-\s+(.+)$/u.exec(s);if(r){i(),t=r[1]??"";continue}let o=s.trim();if(!o||/^#{1,6}\s+/u.test(o)){i();continue}t&&(t+=` ${o}`)}return i(),e}function w7(n){return n.repl...
L215: `,r=e.text.length+s.length,o=new Set((e.attachmentPlaceholders??[]).map(({id:a})=>a));return this.restoreDraft({schemaVersion:1,text:`${e.text}${s}${i.text}`,cursor:r+i.cursor,past...
```

### 5. Low: Eval
- **Category:** Source
- **Confidence:** 45.0%
- **Path:** chunks/photon\_rs-G4OEF2QT.js
- **Public source:** [View source](<https://unpkg.com/@minimax-ai/code@0.4.12/chunks/photon_rs-G4OEF2QT.js>)

Package source references a known benign dynamic code generation pattern.

Public source snippet (untrusted):

```javascript
L2: import{a as k,c as W}from"./chunk-D76SO2ME.js";var P=W((K,n)=>{var M={};M.__wbindgen_placeholder__=n.exports;var r,{TextEncoder:O,TextDecoder:$}=k("util");function T(t){let e=typeo...
L3: ${t.stack}`:c}var p=0,z=null;function v(){return(z===null||z.byteLength===0)&&(z=new Uint8Array(r.memory.buffer)),z}var C=new O("utf-8"),L=typeof C.encodeInto=="function"?function(...
```

### 6. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** mcode-tools.js
- **Public source:** [View source](<https://unpkg.com/@minimax-ai/code@0.4.12/mcode-tools.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L2: import { createRequire as __mavis_cR } from "module"; import { basename as __mavis_basename, dirname as __mavis_dirname, join as __mavis_join } from "path"; import { fileURLToPath ...
L3: import{b as e}from"./chunks/chunk-4Y64C4JT.js";import"./chunks/chunk-ZITT4GJK.js";import"./chunks/chunk-D76SO2ME.js";e();var o=new URL("./embedded/mcode-tools/cli.mjs",__mavis_tuiP...
```

### 7. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** embedded/mcode-tools/cli.mjs
- **Public source:** [View source](<https://unpkg.com/@minimax-ai/code@0.4.12/embedded/mcode-tools/cli.mjs>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L40: * Constructs the CommanderError class
L41: * @param {number} exitCode suggested exit code which could be used with process.exit
L42: * @param {string} code an id string representing the error
...
L966: var EventEmitter = __require("node:events").EventEmitter;
L967: var childProcess = __require("node:child_process");
L968: var path2 = __require("node:path");
...
L1015: this._outputConfiguration = {
L1016: writeOut: (str) => process2.stdout.write(str),
L1017: writeErr: (str) => process2.stderr.write(str),
...
L1051: * @returns {Command[]}
L1052: * @private
L1053: */
```

### 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. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 11. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** chunks/chunk-TRPB3GW5.js
- **Public source:** [View source](<https://unpkg.com/@minimax-ai/code@0.4.12/chunks/chunk-TRPB3GW5.js>)

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

Public source snippet (untrusted):

```javascript
L13: `+v+"}":"{"+A.join(",")+"}",i=v,y}}typeof ml.stringify!="function"&&(ml.stringify=function(c,f,p){var h;if(i="",r="",typeof p=="number")for(h=0;h<p;h+=1)r+=" ";else typeof p=="stri...
L14: `,r:"\r",t:"	"},o,l=function(v){throw{name:"SyntaxError",message:v,at:n,text:o}},u=function(v){return v&&v!==i&&l("Expected '"+v+"' instead of '"+i+"'"),i=o.charAt(n),n+=1,i},d=fun...
L15: Supported algorithms are:
...
L24: ${y}
L25: `+await t.crypto.sha256DigestHex(h),v=await cg(t.crypto,t.securityCredentials.secretAccessKey,l,t.region,i),A=await mn(t.crypto,v,_),M=`${ic} Credential=${t.securityCredentials.acc...
L26: To learn more about authentication and Google APIs, visit:
```

### 12. High: Credential Redirect Persistence
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** chunks/launcher-TAS3WAUC.js
- **Public source:** [View source](<https://unpkg.com/@minimax-ai/code@0.4.12/chunks/launcher-TAS3WAUC.js>)

Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.

Public source snippet (untrusted):

```javascript
Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
chunks/launcher-TAS3WAUC.js:
`);Gn.mkdirSync(hs.dirname(we),{recursive:!0}),Gn.writeFileSync(we,ce),this.stop();let Z=[`Rendered line ${O} exceeds terminal width (${x(B)} > ${e}).`,"","This is likely caused by...
`);Gn.writeFileSync(B,z)}_.flush(),this.cursorRow=Math.max(0,c.length-1),this.hardwareCursorRow=U,this.maxLinesRendered=Math.max(this.maxLinesRendered,c.length),this.previousViewpo...
`).map(s=>h.hex(d.text)(s))}}function $_(){return{heading:n=>h.bold.hex(d.markdownHeading)(n),link:n=>h.hex(d.markdownLink)(n),linkUrl:n=>h.hex(d.dim)(n),code:n=>h.hex(d.markdownCo...
Check the selected provider API key and endpoint, then resend
```

### 13. High: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** chunks/chunk-TRPB3GW5.js
- **Public source:** [View source](<https://unpkg.com/@minimax-ai/code@0.4.12/chunks/chunk-TRPB3GW5.js>)

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

Public source snippet (untrusted):

```javascript
L13: `+v+"}":"{"+A.join(",")+"}",i=v,y}}typeof ml.stringify!="function"&&(ml.stringify=function(c,f,p){var h;if(i="",r="",typeof p=="number")for(h=0;h<p;h+=1)r+=" ";else typeof p=="stri...
L14: `,r:"\r",t:"	"},o,l=function(v){throw{name:"SyntaxError",message:v,at:n,text:o}},u=function(v){return v&&v!==i&&l("Expected '"+v+"' instead of '"+i+"'"),i=o.charAt(n),n+=1,i},d=fun...
L15: Supported algorithms are:
...
L24: ${y}
L25: `+await t.crypto.sha256DigestHex(h),v=await cg(t.crypto,t.securityCredentials.secretAccessKey,l,t.region,i),A=await mn(t.crypto,v,_),M=`${ic} Credential=${t.securityCredentials.acc...
L26: To learn more about authentication and Google APIs, visit:
```

### 14. Critical: Browser Credential Phishing
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** chunks/chunk-X5PAB4UH.js
- **Public source:** [View source](<https://unpkg.com/@minimax-ai/code@0.4.12/chunks/chunk-X5PAB4UH.js>)

Source appears to collect browser login credentials for exfiltration.

Public source snippet (untrusted):

```javascript
L1: import { createRequire as __mavis_cR } from "module"; import { basename as __mavis_basename, dirname as __mavis_dirname, join as __mavis_join } from "path"; import { fileURLToPath ...
L2: import{a as fNe,b as ok,c as gNe,d as ANe,e as yNe,f as ENe}from"./chunk-AABEG2OJ.js";import{a as oW,b as aW}from"./chunk-SD6SJL3L.js";import{a as uNe}from"./chunk-HQ2U4QVQ.js";imp...
L3: https://github.com/highlightjs/highlight.js/issues/2277`),G=be,$=H);let re={code:$,language:G};te("before:highlight",re);let ie=re.result?re.result:h(re.language,re.code,z,j);retur...
L4: `?c.useBR?"<br>":H:c.tabReplace?H.replace(/\t/g,c.tabReplace):H):be}function f(be,H,z){let j=H?n[H]:z;be.classList.add("hljs"),j&&be.classList.add(j)}let E={"before:highlightElemen...
L5: `))},"after:highlightElement":({result:be})=
```

### 15. High: Sandbox Evasion Gated Capability
- **Category:** Source
- **Confidence:** 84.0%
- **Path:** chunks/chunk-2CEKQTMO.js
- **Public source:** [View source](<https://unpkg.com/@minimax-ai/code@0.4.12/chunks/chunk-2CEKQTMO.js>)

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

Public source snippet (untrusted):

```javascript
L1: import { createRequire as __mavis_cR } from "module"; import { basename as __mavis_basename, dirname as __mavis_dirname, join as __mavis_join } from "path"; import { fileURLToPath ...
L2: import{a as p}from"./chunk-VPHVKGPT.js";import{e as g,k as d,m as h}from"./chunk-WAVNKSSE.js";import{isAbsolute as f,resolve as A}from"node:path";import{spawn as E}from"node:child_...
```

### 16. High: Cloud Metadata Access
- **Category:** Source
- **Confidence:** 84.0%
- **Path:** chunks/chunk-TRPB3GW5.js
- **Public source:** [View source](<https://unpkg.com/@minimax-ai/code@0.4.12/chunks/chunk-TRPB3GW5.js>)

Source reaches cloud instance metadata or link-local credential endpoints.

Public source snippet (untrusted):

```javascript
L1: import { createRequire as __mavis_cR } from "module"; import { basename as __mavis_basename, dirname as __mavis_dirname, join as __mavis_join } from "path"; import { fileURLToPath ...
L2: import{a as Oa}from"./chunk-X4N2MWNJ.js";import{a as nn}from"./chunk-CWWDVX6C.js";import{o as Fa}from"./chunk-GUFBGYOC.js";import{a as mt}from"./chunk-WFWSBUYD.js";import{a as K,b ...
L3: `)||i,code:o,status:r},e.data.error)}return Object.assign({message:i,code:o,status:r},e.data.error)}}return{message:i,code:e.status,status:e.statusText}}}});async function rl(t){le...
L4: Content-Type: ${o}\r
...
L13: `+v+"}":"{"+A.join(",")+"}",i=v,y}}typeof ml.stringify!="function"&&(ml.stringify=function(c,f,p){var h;if(i="",r="",typeof p=="number")for(h=0;h<p;h+=1)r+=" ";else typeof p=="stri...
L14: `,r:"\r",t:"
```

### 17. High: Remote Agent Bridge
- **Category:** Source
- **Confidence:** 84.0%
- **Path:** chunks/chunk-PMTJEVJF.js
- **Public source:** [View source](<https://unpkg.com/@minimax-ai/code@0.4.12/chunks/chunk-PMTJEVJF.js>)

Source exposes local file and command tools to a remote model endpoint.

Public source snippet (untrusted):

```javascript
L3: \0`,Q+=Wr(R,2),Q+=a.magic,Q+=Wr(A,2),Q+=Wr(y,2),Q+=Wr(k.crc32,4),Q+=Wr(k.compressedSize,4),Q+=Wr(k.uncompressedSize,4),Q+=Wr(l.length,2),Q+=Wr(b.length,2);var Z=iL.LOCAL_FILE_HEADE...
L4: `)||e.includes("\r")||e.includes("\0"))===!1}function f_t(e,t){let{headersList:r}=t,n=(r.get("referrer-policy",!0)??"").split(","),i="";if(n.length>0)for(let o=n.length;o!==0;o--){...
L5: `);function uIt(e){for(let t=0;t<e.length;++t)if((e.charCodeAt(t)&-128)!==0)return!1;return!0}function dIt(e){let t=e.length;if(t<27||t>70)return!1;for(let r=0;r<t;++r){let n=e.cha...
...
L76: `.trim()},blockValue:function(t){var r=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(t,0,n);var i=this.popStack();n.splice(1,0,i...
L77: `,t};Wn.prototype.Program=function(e){
```

### 18. High: Cross File Remote Execution Context
- **Category:** Source
- **Confidence:** 72.0%
- **Path:** chunks/chunk-PMTJEVJF.js
- **Public source:** [View source](<https://unpkg.com/@minimax-ai/code@0.4.12/chunks/chunk-PMTJEVJF.js>)

Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.

Public source snippet (untrusted):

```javascript
Cross-file remote execution chain: chunks/chunk-PMTJEVJF.js spawns chunks/chunk-3V6OPTHM.js; helper contains network access plus dynamic code execution.
L1: import { createRequire as __mavis_cR } from "module"; import { basename as __mavis_basename, dirname as __mavis_dirname, join as __mavis_join } from "path"; import { fileURLToPath ...
L2: import{d as fAe}from"./chunk-A2CQYOXE.js";import{Aa as bAe,Ea as OI,F as N4,G as gAe,O as hP,Oa as PI,Qa as LI,Xa as D4,j as B4,k as Qs,l as mAe,n as pAe,v as DI,xa as NT,y as hAe,...
L3: \0`,Q+=Wr(R,2),Q+=a.magic,Q+=Wr(A,2),Q+=Wr(y,2),Q+=Wr(k.crc32,4),Q+=Wr(k.compressedSize,4),Q+=Wr(k.uncompressedSize,4),Q+=Wr(l.length,2),Q+=Wr(b.length,2);var Z=iL.LOCAL_FILE_HEADE...
L4: `)||e.includes("\r")||e.includes("\0"))===!1}function f_t(e,t){let{headersList:
```

### 19. Critical: Trigger Reachable Dangerous Capability
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** chunks/chunk-X5PAB4UH.js
- **Public source:** [View source](<https://unpkg.com/@minimax-ai/code@0.4.12/chunks/chunk-X5PAB4UH.js>)

A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable chain: manifest.bin -> cli.js -> chunks/main-6DJBGFQV.js -> chunks/launcher-TAS3WAUC.js -> chunks/chunk-X5PAB4UH.js
L1: import { createRequire as __mavis_cR } from "module"; import { basename as __mavis_basename, dirname as __mavis_dirname, join as __mavis_join } from "path"; import { fileURLToPath ...
L2: import{a as fNe,b as ok,c as gNe,d as ANe,e as yNe,f as ENe}from"./chunk-AABEG2OJ.js";import{a as oW,b as aW}from"./chunk-SD6SJL3L.js";import{a as uNe}from"./chunk-HQ2U4QVQ.js";imp...
L3: https://github.com/highlightjs/highlight.js/issues/2277`),G=be,$=H);let re={code:$,language:G};te("before:highlight",re);let ie=re.result?re.result:h(re.language,re.code,z,j);retur...
L4: `?c.useBR?"<br>":H:c.tabReplace?H.replace(/\t/g,c.tabReplace):H):be}function f(be,H,z){let j=H?n[H
```

### 20. High: Trigger Reachable Command Output Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** chunks/chunk-PMTJEVJF.js
- **Public source:** [View source](<https://unpkg.com/@minimax-ai/code@0.4.12/chunks/chunk-PMTJEVJF.js>)

A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable command-output exfiltration chain: manifest.bin -> cli.js -> chunks/main-6DJBGFQV.js -> chunks/launcher-TAS3WAUC.js -> chunks/chunk-PMTJEVJF.js
L1: import { createRequire as __mavis_cR } from "module"; import { basename as __mavis_basename, dirname as __mavis_dirname, join as __mavis_join } from "path"; import { fileURLToPath ...
L2: import{d as fAe}from"./chunk-A2CQYOXE.js";import{Aa as bAe,Ea as OI,F as N4,G as gAe,O as hP,Oa as PI,Qa as LI,Xa as D4,j as B4,k as Qs,l as mAe,n as pAe,v as DI,xa as NT,y as hAe,...
L3: \0`,Q+=Wr(R,2),Q+=a.magic,Q+=Wr(A,2),Q+=Wr(y,2),Q+=Wr(k.crc32,4),Q+=Wr(k.compressedSize,4),Q+=Wr(k.uncompressedSize,4),Q+=Wr(l.length,2),Q+=Wr(b.length,2);var Z=iL.LOCAL_FILE_HEADE...
L4: `)||e.includes("\r")||e.includes("\0"))===!1}function f_t(e,t){let{hea
```

### 21. High: Runtime Package Install
- **Category:** Source
- **Confidence:** 86.0%
- **Path:** assets/skills/pdf/scripts/render\_html.cjs
- **Public source:** [View source](<https://unpkg.com/@minimax-ai/code@0.4.12/assets/skills/pdf/scripts/render_html.cjs>)

Package source invokes a package manager install command at runtime.

Public source snippet (untrusted):

```javascript
L95: function loadPlaywright() {
L96: const { execSync } = require('child_process');
L97: try {
...
L109: error: 'playwright not found',
L110: hint: 'Run: bash scripts/make.sh fix  (or: npm install -g playwright && npx playwright install chromium)',
L111: }),
```

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

Package source contains high-entropy string patterns.

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

Package source references telemetry or analytics APIs.

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

Package source contains URL literals.

### 25. Medium: Ships Native Binary
- **Category:** Artifact Inventory
- **Confidence:** 75.0%
- **Path:** native/darwin/prebuilds/darwin-x64/darwin-modifiers.node
- **Public source:** [View source](<https://unpkg.com/@minimax-ai/code@0.4.12/native/darwin/prebuilds/darwin-x64/darwin-modifiers.node>)

Package ships native binary artifacts.

Public source snippet (untrusted):

```text
path = native/darwin/prebuilds/darwin-x64/darwin-modifiers.node
kind = native_binary
sizeBytes = 12776
magicHex = [redacted]
```

### 26. Medium: Ships Wasm Module
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** photon\_rs\_bg.wasm
- **Public source:** [View source](<https://unpkg.com/@minimax-ai/code@0.4.12/photon_rs_bg.wasm>)

Package ships WebAssembly modules.

Public source snippet (untrusted):

```text
path = photon_rs_bg.wasm
kind = wasm_module
sizeBytes = 1881634
magicHex = [redacted]
```

### 27. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** internal-bin/mcode-tools.cmd
- **Public source:** [View source](<https://unpkg.com/@minimax-ai/code@0.4.12/internal-bin/mcode-tools.cmd>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```text
path = internal-bin/mcode-tools.cmd
kind = build_helper
sizeBytes = 250
magicHex = [redacted]
```

### 28. Medium: Ships Compressed Blob
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** assets/models-dev-catalog.json.gz
- **Public source:** [View source](<https://unpkg.com/@minimax-ai/code@0.4.12/assets/models-dev-catalog.json.gz>)

Package ships compressed or archive-like blobs.

Public source snippet (untrusted):

```text
path = assets/models-dev-catalog.json.gz
kind = compressed_blob
sizeBytes = 430528
magicHex = [redacted]
```

### 29. High: Ships High Entropy Blob
- **Category:** Artifact Inventory
- **Confidence:** 75.0%
- **Path:** assets/models-dev-catalog.json.gz
- **Public source:** [View source](<https://unpkg.com/@minimax-ai/code@0.4.12/assets/models-dev-catalog.json.gz>)

Package ships high-entropy non-source blobs.

Public source snippet (untrusted):

```text
path = assets/models-dev-catalog.json.gz
kind = high_entropy_blob
sizeBytes = 430528
magicHex = [redacted]
```

### 30. Medium: Oversized Source File
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** chunks/chunk-CYA33574.js
- **Public source:** [View source](<https://unpkg.com/@minimax-ai/code@0.4.12/chunks/chunk-CYA33574.js>)

Package contains source files above the normal full-analysis size ceiling.

Public source snippet (untrusted):

```javascript
path = chunks/chunk-CYA33574.js
kind = oversized_source_file
sizeBytes = 10821263
magicHex = [redacted]
```

### 31. 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.

### 32. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** chunks/chunk-NP5G53PV.js\#virtual:normalized:round1
- **Public source:** [View source](<https://unpkg.com/@minimax-ai/code@0.4.12/chunks/chunk-NP5G53PV.js%23virtual%3Anormalized%3Around1>)

A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.

Public source snippet (untrusted):

```text
stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 7
```

### 33. Critical: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** chunks/chunk-DV5WIEGS.js
- **Public source:** [View source](<https://unpkg.com/@minimax-ai/code@0.4.12/chunks/chunk-DV5WIEGS.js>)

This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = previous_version_dangerous_delta
matchedPackage = @minimax-ai/code@0.4.6
matchedIdentity = npm:QG1pbmltYXgtYWkvY29kZQ:0.4.6
similarity = 0.961
summary = stored previous version shares package body but lacks this dangerous source file
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** postinstall
- **Dependencies:** 2
- **Optional dependencies:** 1
- **Peer dependencies:** 0
- **Development dependencies:** 0
- **Published dependency-graph edges:** 3

### Published dependency entries
- @mariozechner/clipboard 0.3.9 (Dependency)
- @vscode/ripgrep 1.18.0 (Dependency)
- better-sqlite3 12.11.1 (OptionalDependency)

## Package metadata
- **Package:** @minimax-ai/code
- **Ecosystem:** npm
- **Version:** 0.4.12
- **License:** MIT
- **Version published:** 2026-09-18T05:31:39.600Z
- **Package first seen:** 2026-08-14T13:08:20.238Z
- **Package last seen:** 2026-10-30T22:22:55.079Z
- **Known versions:** 56
- **Latest version:** 0.7.4
- **Appeal under review:** No
- **Description:** Minimax Code — terminal coding agent
- **Maintainers:** ronnyhe, ryanlee-dev, zhangyxy, dyh\_sjtu
- **Runtime engines:** node: \>=22.19 \<23 || \>=24 \<27
- **Artifact files:** 760
- **Artifact unpacked size:** 45,480,008 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@minimax-ai/code/v/0.4.12>)
