registry  /  @linzumi/cli  /  1.0.26

@linzumi/cli@1.0.26

⚠ Under review

Linzumi CLI — point a Codex agent at the real code on your laptop, with your team watching and steering from shared threads.

Static Scan Results

scanned 6h ago · by rust-scanner

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

Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessCryptoDynamicRequireEnvironmentVarsEvalFilesystemNetworkShellWebSocket
Supply chain
HighEntropyStringsMinifiedObfuscatedUrlStrings
ManifestNo manifest risk signals triggered.
scanned 21 file(s), 2.51 MB of source, external domains: 0.0.0.0, 127.0.0.1, api.groq.com, api.smolmachines.com, app.linzumi.com, brew.sh, fonts.googleapis.com, fonts.gstatic.com, github.com, json-schema.org, linzumi.com, nodejs.org, openrouter.ai, raw.githubusercontent.com, registry.npmjs.org, serve.linzumi.com

Source & flagged code

10 flagged · loading source
dist/index.jsView file
19if (parentPort) parentPort.postMessage(result); L20: `});var yR={};Zs(yR,{discoverCurrentGitProject:()=>iV});import{spawnSync as XK}from"node:child_process";import{homedir as YK}from"node:os";import{existsSync as lR,readdirSync as pR... L21: `).flatMap(t=>t.startsWith("worktree ")?[t.slice(9)]:[])}function SV(e){let n=["README.md","README.markdown","readme.md"].map(t=>Td(e,t)).find(t=>lR(t));if(n!==void 0)try{let r=eV(... ... L30: `," ")}function Xf(e){if(!H(e))return;let n=E(e.payload)??{},t=E(e.actor),r=Q(e.seq),o=h(e.type);if(!(r===void 0||o===void 0))return{seq:r,type:o,actorKind:h(t?.kind),actorSlug:h(t... L31: `)}function eE(e){return e.flatMap(n=>n.isImage?[{type:"localImage",path:n.path}]:[])}async function Hx(e,n){let t=await Wx(e,n),r=Zx(n.body,t,{uploadInstructionMode:"footer"}),o=t... L32: `)}function _W(e,n){let t=bW(e);switch(t.trim()===""&&n.length>0){case!0:return"Attached file.";case!1:return t}}function wW(e,n){return h(e.kind)==="codex_assistant_message"?{...e...
Critical
Same File Env Network Execution

A single source file combines environment access, network access, and code or shell execution with blocking evidence.

dist/index.jsView on unpkg · L19
2const require = createRequire(import.meta.url); L3: var jK=Object.create;var Ix=Object.defineProperty;var LK=Object.getOwnPropertyDescriptor;var zK=Object.getOwnPropertyNames;var FK=Object.getPrototypeOf,qK=Object.prototype.hasOwnPr... L4: const { workerData, parentPort } = require('node:worker_threads'); ... L19: if (parentPort) parentPort.postMessage(result); L20: `});var yR={};Zs(yR,{discoverCurrentGitProject:()=>iV});import{spawnSync as XK}from"node:child_process";import{homedir as YK}from"node:os";import{existsSync as lR,readdirSync as pR... L21: `).flatMap(t=>t.startsWith("worktree ")?[t.slice(9)]:[])}function SV(e){let n=["README.md","README.markdown","readme.md"].map(t=>Td(e,t)).find(t=>lR(t));if(n!==void 0)try{let r=eV(... L22: `).map(o=>o.trim()).find(o=>o.startsWith("# "))?.replace(/^#+\s+/u,"").trim();return r===void 0||r===""?void 0:r}catch{return}}function kV(e){return Object.fromEntries(Object.entri... L23: `).filter(n=>n.trim()!=="").flatMap(n=>{try{let t=JSON.parse(n);return H(t)?[t]:[]}catch{return[]}})}catch{return[]}}function LV(e){return e.flatMap((n,t)=>{if(n.type!=="response_i... ... L27: ${u}`.split(` L28: `).filter(c=>c.trim()!=="")}catch{return[]}final
Critical
Remote Asset Decode Execute

Source fetches a remote non-code asset, decodes its contents, and dynamically executes the decoded payload.

dist/index.jsView on unpkg · L2
19Trigger-reachable chain: manifest.bin -> bin/linzumi.js -> dist/index.js L19: if (parentPort) parentPort.postMessage(result); L20: `});var yR={};Zs(yR,{discoverCurrentGitProject:()=>iV});import{spawnSync as XK}from"node:child_process";import{homedir as YK}from"node:os";import{existsSync as lR,readdirSync as pR... L21: `).flatMap(t=>t.startsWith("worktree ")?[t.slice(9)]:[])}function SV(e){let n=["README.md","README.markdown","readme.md"].map(t=>Td(e,t)).find(t=>lR(t));if(n!==void 0)try{let r=eV(... ... L30: `," ")}function Xf(e){if(!H(e))return;let n=E(e.payload)??{},t=E(e.actor),r=Q(e.seq),o=h(e.type);if(!(r===void 0||o===void 0))return{seq:r,type:o,actorKind:h(t?.kind),actorSlug:h(t... L31: `)}function eE(e){return e.flatMap(n=>n.isImage?[{type:"localImage",path:n.path}]:[])}async function Hx(e,n){let t=await Wx(e,n),r=Zx(n.body,t,{uploadInstructionMode:"footer"}),o=t... L32: `)}function _W(e,n){let t=bW(e);switch(t.trim()===""&&n.length>0){case!0:return"Attached file.";case!1:return t}}function wW(e,n){return h(e.kind)==="codex_assistant_message"?{...e...
Critical
Trigger Reachable Dangerous Capability

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

dist/index.jsView on unpkg · L19
19if (parentPort) parentPort.postMessage(result); L20: `});var yR={};Zs(yR,{discoverCurrentGitProject:()=>iV});import{spawnSync as XK}from"node:child_process";import{homedir as YK}from"node:os";import{existsSync as lR,readdirSync as pR... L21: `).flatMap(t=>t.startsWith("worktree ")?[t.slice(9)]:[])}function SV(e){let n=["README.md","README.markdown","readme.md"].map(t=>Td(e,t)).find(t=>lR(t));if(n!==void 0)try{let r=eV(...
High
Child Process

Package source references child process execution.

dist/index.jsView on unpkg · L19
1097|| (${s} === "string" && ${o} && ${o} == +${o} && !(${o} % 1))`).assign(a,(0,Xe._)`+${o}`);return;case"boolean":r.elseIf((0,Xe._)`${o} === "false" || ${o} === 0 || ${o} === null`).... L1098: || ${s} === "boolean" || ${o} === null`).assign(a,(0,Xe._)`[${o}]`)}}}function vwe({gen:e,parentData:n,parentDataProperty:t},r){e.if((0,Xe._)`${n} !== undefined`,()=>e.assign((0,Xe... L1099: missingProperty: ${r},
High
Eval

Package source references dynamic code evaluation.

dist/index.jsView on unpkg · L1097
19if (parentPort) parentPort.postMessage(result); L20: `});var yR={};Zs(yR,{discoverCurrentGitProject:()=>iV});import{spawnSync as XK}from"node:child_process";import{homedir as YK}from"node:os";import{existsSync as lR,readdirSync as pR... L21: `).flatMap(t=>t.startsWith("worktree ")?[t.slice(9)]:[])}function SV(e){let n=["README.md","README.markdown","readme.md"].map(t=>Td(e,t)).find(t=>lR(t));if(n!==void 0)try{let r=eV(... ... L30: `," ")}function Xf(e){if(!H(e))return;let n=E(e.payload)??{},t=E(e.actor),r=Q(e.seq),o=h(e.type);if(!(r===void 0||o===void 0))return{seq:r,type:o,actorKind:h(t?.kind),actorSlug:h(t... L31: `)}function eE(e){return e.flatMap(n=>n.isImage?[{type:"localImage",path:n.path}]:[])}async function Hx(e,n){let t=await Wx(e,n),r=Zx(n.body,t,{uploadInstructionMode:"footer"}),o=t... L32: `)}function _W(e,n){let t=bW(e);switch(t.trim()===""&&n.length>0){case!0:return"Attached file.";case!1:return t}}function wW(e,n){return h(e.kind)==="codex_assistant_message"?{...e...
High
Command Output Exfiltration

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

dist/index.jsView on unpkg · L19
2const require = createRequire(import.meta.url); L3: var jK=Object.create;var Ix=Object.defineProperty;var LK=Object.getOwnPropertyDescriptor;var zK=Object.getOwnPropertyNames;var FK=Object.getPrototypeOf,qK=Object.prototype.hasOwnPr... L4: const { workerData, parentPort } = require('node:worker_threads'); ... L19: if (parentPort) parentPort.postMessage(result); L20: `});var yR={};Zs(yR,{discoverCurrentGitProject:()=>iV});import{spawnSync as XK}from"node:child_process";import{homedir as YK}from"node:os";import{existsSync as lR,readdirSync as pR... L21: `).flatMap(t=>t.startsWith("worktree ")?[t.slice(9)]:[])}function SV(e){let n=["README.md","README.markdown","readme.md"].map(t=>Td(e,t)).find(t=>lR(t));if(n!==void 0)try{let r=eV(... L22: `).map(o=>o.trim()).find(o=>o.startsWith("# "))?.replace(/^#+\s+/u,"").trim();return r===void 0||r===""?void 0:r}catch{return}}function kV(e){return Object.fromEntries(Object.entri... L23: `).filter(n=>n.trim()!=="").flatMap(n=>{try{let t=JSON.parse(n);return H(t)?[t]:[]}catch{return[]}})}catch{return[]}}function LV(e){return e.flatMap((n,t)=>{if(n.type!=="response_i... ... L27: ${u}`.split(` L28: `).filter(c=>c.trim()!=="")}catch{return[]}final
High
Sandbox Evasion Gated Capability

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

dist/index.jsView on unpkg · L2
2Cross-file remote execution chain: dist/index.js spawns dist/mcp-server.mjs; helper contains network access plus dynamic code execution. L2: const require = createRequire(import.meta.url); L3: var jK=Object.create;var Ix=Object.defineProperty;var LK=Object.getOwnPropertyDescriptor;var zK=Object.getOwnPropertyNames;var FK=Object.getPrototypeOf,qK=Object.prototype.hasOwnPr... L4: const { workerData, parentPort } = require('node:worker_threads'); ... L19: if (parentPort) parentPort.postMessage(result); L20: `});var yR={};Zs(yR,{discoverCurrentGitProject:()=>iV});import{spawnSync as XK}from"node:child_process";import{homedir as YK}from"node:os";import{existsSync as lR,readdirSync as pR... L21: `).flatMap(t=>t.startsWith("worktree ")?[t.slice(9)]:[])}function SV(e){let n=["README.md","README.markdown","readme.md"].map(t=>Td(e,t)).find(t=>lR(t));if(n!==void 0)try{let r=eV(... L22: `).map(o=>o.trim()).find(o=>o.startsWith("# "))?.replace(/^#+\s+/u,"").trim();return r===void 0||r===""?void 0:r}catch{return}}function kV(e){return Object.fromEntries(Object.entri... L23: `).filter(n=>n.trim()!=="").flatMap(n=>{try{let t=JSON.parse(n);return H(t)?[t]:[]}catch{return[]}})}catch{return[]}}funct…
High
Cross File Remote Execution Context

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

dist/index.jsView on unpkg · L2
scripts/qa/codex-keychain-partition-repro.shView file
path = scripts/qa/codex-keychain-partition-repro.sh kind = build_helper sizeBytes = 5989 magicHex = [redacted]
Medium
Ships Build Helper

Package ships non-JavaScript build or shell helper files.

scripts/qa/codex-keychain-partition-repro.shView on unpkg
scripts/replay-agent-backend-browser.tsView file
matchType = previous_version_dangerous_delta matchedPackage = @linzumi/cli@1.0.8 matchedIdentity = npm:QGxpbnp1bWkvY2xp:1.0.8 similarity = 0.917 summary = stored previous version shares package body but lacks this dangerous source file
Critical
Previous Version Dangerous Delta

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

scripts/replay-agent-backend-browser.tsView on unpkg

Findings

4 Critical6 High5 Medium5 Low
CriticalSame File Env Network Executiondist/index.js
CriticalRemote Asset Decode Executedist/index.js
CriticalTrigger Reachable Dangerous Capabilitydist/index.js
CriticalPrevious Version Dangerous Deltascripts/replay-agent-backend-browser.ts
HighChild Processdist/index.js
HighShell
HighEvaldist/index.js
HighCommand Output Exfiltrationdist/index.js
HighSandbox Evasion Gated Capabilitydist/index.js
HighCross File Remote Execution Contextdist/index.js
MediumDynamic Require
MediumNetwork
MediumEnvironment Vars
MediumShips Build Helperscripts/qa/codex-keychain-partition-repro.sh
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowObfuscated
LowHigh Entropy Strings
LowUrl Strings