Loading npm security reports…
Loading npm security reports…
@maind-dev/cli@0.130.0: npm security report – allowed | LPM Firewall
npm / @maind-dev/cli / 0.130.0 Headless maind CLI — pull stack-relevant lessons into CI runners, report CI outcomes, brief agents on local git state (branch, PRs, peers), and launch coding agents behind a local NVIDIA NeMo Switchyard routing proxy. No device flow; authenticates from MA
Allowed — no malicious behavior detected
21 low-signal patterns reviewed and cleared.
AI security reviewscanned on Oct 28, 2026, 08:53 UTC · by lpm-firewall-ai The manifest has no install lifecycle hook, and its published entrypoint is the Maind CLI. The inspected session transfer is tied to an explicit CLI operation and a Maind endpoint; the scanner labels alone do not establish credential theft or another attack.
Static reason
High-risk behavior combination matched malicious policy.
Trigger
A user invokes the CLI session-ingest command.
Impact
The inspected evidence does not establish covert installation-time collection or transfer to an unrelated recipient.
Mechanism
The command reads local Claude Code and Codex session data and configures a Maind metrics-ingest endpoint.
Evidence
package.json build/index.js .lpm-dependency-evidence-e837e098-ae40-409e-9909-f201ef567379/0/npm-linux/sdk.mjs .lpm-dependency-evidence-e837e098-ae40-409e-9909-f201ef567379/1/npm-linux/dist/transformers.node.mjs .lpm-dependency-evidence-e837e098-ae40-409e-9909-f201ef567379/1/npm-linux/dist/transformers.web.js .lpm-dependency-evidence-e837e098-ae40-409e-9909-f201ef567379/1/npm-linux/dist/transformers.node.cjs
.lpm-dependency-evidence-e837e098-ae40-409e-9909-f201ef567379/0/npm-linux/bridge.mjs
.lpm-dependency-evidence-e837e098-ae40-409e-9909-f201ef567379/1/npm-linux/dist/transformers.node.min.cjs
.lpm-dependency-evidence-e837e098-ae40-409e-9909-f201ef567379/1/npm-linux/dist/transformers.node.min.mjs
.lpm-dependency-evidence-e837e098-ae40-409e-9909-f201ef567379/1/npm-linux/dist/transformers.web.min.js
.lpm-dependency-evidence-e837e098-ae40-409e-9909-f201ef567379/0/npm-linux/browser-sdk.js
.lpm-dependency-evidence-e837e098-ae40-409e-9909-f201ef567379/0/npm-linux/sdk.d.ts
.lpm-dependency-evidence-e837e098-ae40-409e-9909-f201ef567379/1/npm-linux/dist/transformers.js
.lpm-dependency-evidence-e837e098-ae40-409e-9909-f201ef567379/1/npm-linux/dist/transformers.min.js
.lpm-dependency-evidence-e837e098-ae40-409e-9909-f201ef567379/0/npm-linux/package.json
.lpm-dependency-evidence-e837e098-ae40-409e-9909-f201ef567379/1/npm-linux/package.json
Network endpoints1
fn.maind.dev /functions/v1/mcp-client-metrics-ingest
Decision evidencepublic snapshot Evidence for AI clean decision
The manifest identifies a command-line tool for Maind services and agent launch, with no npm install hook; its prepublish hook only builds the package. The CLI includes a session-ingest command that reads local Claude Code and Codex sessions and uses a Maind metrics endpoint. The inspected code does not establish covert installation-time transmission. The inspected dependency entrypoints and manifests identify the expected Claude Agent SDK, Transformers library, and SQLite library; SQLite's install command runs its native installer. No concrete malicious behavior was established in the inspected source. Evidence against
The scanner alleges credential and data exfiltration, but the inspected source excerpts do not establish an unrelated recipient or an unconsented install-time transfer. Behavioral surface
Source Child process · Dynamic require · Environment variables · Filesystem · Network · Shell
Supply chain High entropy strings · Minified · URL strings
Manifest No license
Scanned 1 file · 847 KB of source
11 external domains referenced
api.github.com app.maind.dev bitbucket.org cli.github.com docs.astral.sh fn.maind.dev github.com gitlab.com maind.dev mcp.maind.dev registry.npmjs.org Findings3 critical · 8 high · 4 medium · 6 low Source & flagged code12 flagged The lines the automated scan flagged. The review checked them and cleared this version.
Critical Hardcoded runtime data exfiltrationCleared
Source sends credentials or rich application records to a package-controlled external receiver enabled by default.
build/index.js View on unpkg · L1 Code excerpt · 6 lines Source sends the broad process environment to a literal external destination.
1 #!/usr/bin/env node
2 var Eh=Object.defineProperty;var a=(e,t)=>Eh (e,"name" ,{value:t,configurable:!0 });var h$=(e,t)=>{for (var n in t)Eh (e,n,{get:t[n],enumerable:!0 })};import {mkdirSync as Lj,writeFileSyn...
3 `)&&!e.startsWith(` ---\r
⋯
7 `).forEach((r,o)=>{let s=r.trim(),i=r.length-r.trimStart().length;if(n!==null){if(s===""||i>n)return;n=null}if(s===""||s.startsWith("#"))return;let l=XO.exec(r);if(!l)return;let c=...
8 `).slice(0,1e3)}a(Wy,"nodeEmbedText");var iu=["function","method","class","interface","enum","type_alias"];function qy(e,t){let n=Math.min(e.length,t.length),r=0,o=0,s=0;for(let i=...
9 `).filter(c=>eI.test(c)).sort()}catch{return{config:{packages:[],tsconfigs:[]},fingerprint:t.dige
Critical Credential exfiltrationCleared
Source appears to send environment or credential material to an external endpoint.
build/index.js View on unpkg · L1 High Same file environment network executionCleared
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
build/index.js View on unpkg · L1 High Sandbox evasion gated capabilityCleared
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
build/index.js View on unpkg · L1 Shared code excerpt · 3 findings · 6 lines 1 #!/usr/bin/env node
2 var Eh=Object.defineProperty;var a=(e,t)=>Eh (e,"name" ,{value:t,configurable:!0 });var h$=(e,t)=>{for (var n in t)Eh (e,n,{get:t[n],enumerable:!0 })};import {mkdirSync Lj,writeFileSyn...
Critical Trigger reachable dangerous capabilityCleared
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
build/index.js View on unpkg · L1 Code excerpt · 6 lines Trigger-reachable chain: scripts.start -> build/index.js
1 #!/usr/bin/env node
2 var Eh=Object.defineProperty;var a=(e,t)=>Eh (e,"name" ,{value:t,configurable:!0 });var h$=(e,t)=>{for (var n in t)Eh (e,n,{get:t[n],enumerable:!0 })};import {mkdirSync as Lj,writeFileSyn...
3 `)&&!e.startsWith(` ---\r
⋯
7 `).forEach((r,o)=>{let s=r.trim(),i=r.length-r.trimStart().length;if(n!==null){if(s===""||i>n)return;n=null}if(s===""||s.startsWith("#"))return;let l=XO.exec(r);if(!l)return;let c=...
8 `).slice(0,1e3)}a(Wy,"nodeEmbedText");var iu=["function","method","class","interface","enum","type_alias"];function qy(e,t){let n=Math.min(e.length,t.length),r=0,o=0,s=0;for(let i=...
9
High Child processCleared
Package source references child process execution.
build/index.js View on unpkg · L7 Code excerpt · 3 lines 7 `).forEach((r,o)=>{let s=r.trim(),i=r.length-r.trimStart().length;if(n!==null){if(s===""||i>n)return;n=null}if(s===""||s.startsWith("#"))return;let l=XO.exec(r);if(!l)return;let c=...
8 `).slice(0,1e3)}a(Wy,"nodeEmbedText");var iu=["function","method","class","interface","enum","type_alias"];function qy(e,t){let n=Math.min(e.length,t.length),r=0,o=0,s=0;for(let i=...
9 `).filter(c=>eI.test(c)).sort()}catch{return{config:{packages:[],tsconfigs:[]},fingerprint:t.digest("hex")}}let r=new Map,o=a(c=>{if(r.has(c))return r.get(c);try{let u=QO(At.join(e...
Code excerpt · 3 lines 704 exec ${ph (t)} ${ph (r)} ${ph (n)} "$@"
705 `,{mode:448}),GG(o,448),o}a(I0,"writeCodexLauncher");var tV={injectBeforeFirstTurn:!0,preToolDeny:!0,toolEvents:!0,stopGate:!0,budget:!0,resume:!1},nV={gateClass:"hook",budgetMode:...
706
High Credential redirect persistenceCleared
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
build/index.js View on unpkg Scanner record · 4 lines Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
build/index.jsvar Eh=Object.defineProperty;var a=(e,t)=>Eh(e,"name",{value:t,configurable:!0});var h$=(e,t)=>{for(var n in t)Eh(e,n,{get:t[n],enumerable:!0})};import{mkdirSync as Lj,writeFileSyn...
`).filter(c=>eI.test(c)).sort()}catch{return{config:{packages:[],tsconfigs:[]},fingerprint:t.digest("hex")}}let r=new Map,o=a(c=>{if(r.has(c))return r.get(c);try{let u=QO(At.join(e...
`}else if(o==="/"&&e[r+1]==="*"){for(r+=2;r<e.length&&!(e[r]==="*"&&e[r+1]==="/");)r++;r++}else t+=o}try{let r=JSON.parse(tI(t));return r&&typeof r=="object"&&!Array.isArray(r)?r:n...
`,1)[0]??"";return t.length>300?`${t.slice(0,300)}\u2026`:t}a(Oj,"firstLine
High Command output exfiltrationCleared
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
build/index.js View on unpkg · L136 Code excerpt · 6 lines 136 );
137 `,lr="schema_version",Xr="last_index_commit",ra="last_indexed_at",rs="edges_dirty",Ed="resolve_config_fp",oa="embed_recipe_version",sa="embed_model",ia="embed_dim",Ad="last_synced_...
138 `))c.startsWith("worktree ")?s=c.slice(9):c.startsWith("branch ")?i=c.slice(7).replace(/^refs\/heads\//,""):c.startsWith("prunable")&&(l=!0);s&&i&&!l&&n.push({path:s,branch:i})}),n...
139 `)){let[r,o]=n.split(" ");r&&o?.trim()==="[gone]"&&t.add(r.trim())}return t}a(jk,"parseGoneBranches");function Pk(e,t){let n=jk(t);return Dk(e).filter(r=>n.has(r.branch)).sort((r,o...
140 `,1)[0]??"";return t.length>300?` ${t.slice (0 ,300 )}\u2026`:t}a(Oj,"firstLine");var Ee=class{static{a(this,"McpClient")}mcpUrl;apiKey;deviceId;clientVersion;projectKey;sessionId=null...
141 `).trim();o=[],l.length>0
High Trigger reachable credential exfiltrationCleared
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
build/index.js View on unpkg · L1 Code excerpt · 6 lines Trigger-reachable credential exfiltration chain: scripts.start -> build/index.js
1 #!/usr/bin/env node
2 var Eh=Object.defineProperty;var a=(e,t)=>Eh (e,"name" ,{value:t,configurable:!0 });var h$=(e,t)=>{for (var n in t)Eh (e,n,{get:t[n],enumerable:!0 })};import {mkdirSync as Lj,writeFileSyn...
3 `)&&!e.startsWith(` ---\r
⋯
7 `).forEach((r,o)=>{let s=r.trim(),i=r.length-r.trimStart().length;if(n!==null){if(s===""||i>n)return;n=null}if(s===""||s.startsWith("#"))return;let l=XO.exec(r);if(!l)return;let c=...
8 `).slice(0,1e3)}a(Wy,"nodeEmbedText");var iu=["function","method","class","interface","enum","type_alias"];function qy(e,t){let n=Math.min(e.length,t.length),r=0,o=0,s=0;for(let i=...
9
High Trigger reachable command output exfiltrationCleared
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
build/index.js View on unpkg · L136 Code excerpt · 5 lines Trigger-reachable command-output exfiltration chain: scripts.start -> build/index.js
136 );
137 `,lr="schema_version",Xr="last_index_commit",ra="last_indexed_at",rs="edges_dirty",Ed="resolve_config_fp",oa="embed_recipe_version",sa="embed_model",ia="embed_dim",Ad="last_synced_...
138 `))c.startsWith("worktree ")?s=c.slice(9):c.startsWith("branch ")?i=c.slice(7).replace(/^refs\/heads\//,""):c.startsWith("prunable")&&(l=!0);s&&i&&!l&&n.push({path:s,branch:i})}),n...
139 `)){let[r,o]=n.split(" ");r&&o?.trim()==="[gone]"&&t.add(r.trim())}return t}a(jk,"parseGoneBranches");function Pk(e,t){let n=jk(t);return Dk(e).filter(r=>n.has(r.branch)).sort((r,o...
140 `,1)[0]??"";return t.length>300?` ${t.slice (0 ,300 )}\u2026`:t}a(Oj,"firstLine");var Ee=class{static{a(this,"McpClient")}mcpUrl;apiKe
Medium Dynamic requireCleared
Package source references dynamic require/import behavior.
build/index.js View on unpkg · L182 Code excerpt · 3 lines 182 size = excluded.size,
183 indexed_at = excluded.indexed_at`)),this._upsertFile}};import{randomUUID as OP}from"node:crypto";import{createHash as CP}from"node:crypto";function Zr(e){return CP("sha256").update...
184 `);else{process.stderr.write("\r".padEnd(84)+"\r");let r=e.embed?` , ${(await t.status ()).embeddingCount} embeddings`:"";process.stdout.write(` \u2713 ${n.filesParsed} parsed \xB7 ...
as
3 `)&&!e.startsWith(` ---\r
7 `).forEach((r,o)=>{let s=r.trim(),i=r.length-r.trimStart().length;if(n!==null){if(s===""||i>n)return;n=null}if(s===""||s.startsWith("#"))return;let l=XO.exec(r);if(!l)return;let c=...
8 `).slice(0,1e3)}a(Wy,"nodeEmbedText");var iu=["function","method","class","interface","enum","type_alias"];function qy(e,t){let n=Math.min(e.length,t.length),r=0,o=0,s=0;for(let i=...
9 `).filter(c=>eI.test(c)).sort()}catch{return{config:{packages:[],tsconfigs:[]},fingerprint:t.digest("hex")}}let r=new Map,o=a(c=>{if(r.has(c))return r.get(c);try{let u=QO(At.j
`).filter(c=>eI.test(c)).sort()}catch{return{config:{packages:[],tsconfigs:[]},fingerprint:t.digest("hex")}}let r=new
`).filter(c=>eI.test(c)).sort()}catch{return{config:{packages:[],tsconfigs:[]},fingerprint:t.d