Source inspection found no malicious behavior supporting the scanner verdict. The flagged locations resolve to product and library code, and no npm install lifecycle hook is declared.
No malicious trigger was identified; package installation has no lifecycle hook.
Impact
No unconsented agent-control mutation, credential exfiltration, or install-time execution was established.
Mechanism
The agent-related CLI code handles an explicit init action, while the inspected Electron code implements application proxy and integration functions.
Decision evidence
public snapshot
Evidence for AI clean decision
package.json points to the Electron app and CLI and has no preinstall, install, postinstall, or prepare hook.
The agent-related CLI entries copy AGENTS.md documentation into dist/public; the inspected init branch runs only for an explicit agent init action and uses the caller's target directory.
The flagged runtime excerpts show HTTP proxy header handling, byte-array conversion, a user-configured email-read request, and random ID generation.
The Function and eval matches in the CLI chunk are sandbox rules that throw when those capabilities are accessed.
The remaining required paths are app, CLI, and library modules; their cited excerpts show module imports or helper code, with no separate install-time attack chain found.
Evidence against
The manifest has no npm lifecycle hook, and the agent-related hints do not show mutation of an agent's settings or plugins.
The Electron proxy code removes authorization headers unless the caller explicitly enables forwarding; the inspected evidence does not show command output being sent to an external endpoint.
Automated scan signals; the review checked them and cleared this version. Where they are, most severe file first. Code opens a file's flagged lines, with their evidence, below.
100${i(s)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let n of e.split(`/`))n?.length!==0&&n!==`.`&&(n===`..`?t.pop():t.push(n));let n=`${e?.startsWith(`/`)?`/`:`...
101`);return this.signString(h,{signingDate:n,signingRegion:c,signingService:o,eventStreamCredentials:s})}async signMessage(e,{signingDate:t=/* @__PURE__ */ new Date,signingRegion:n,s...
102 See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
⋯
113`)?{tag:t,value:``}:{tag:t,value:e}}let c={};for(let e of i)e.trim()===``&&e.includes(`
114`)||(c[`#text`]=`#text`in c?c[`#text`]+e:e);for(let e of a)e.tag===`__proto__`&&l(c),e.tag in c?Array.isArray(c[e.tag])?c[e.tag].push(e.value):c[e.tag]=[c[e.tag],e.value]:c[e.tag]=...
115Multipl
Critical
Trigger reachable dangerous capabilityCleared
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
100${i(s)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let n of e.split(`/`))n?.length!==0&&n!==`.`&&(n===`..`?t.pop():t.push(n));let n=`${e?.startsWith(`/`)?`/`:`...
101`);return this.signString(h,{signingDate:n,signingRegion:c,signingService:o,eventStreamCredentials:s})}async signMessage(e,{signingDate:t=/* @__PURE__ */ new Date,signingRegion:n,s...
102 See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
⋯
113`)?{tag:t,value:``}:{tag:t,value:e}}let c={};for(let e of i)e.trim()===``&&e.includes(`
Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
100${i(s)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let n of e.split(`/`))n?.length!==0&&n!==`.`&&(n===`..`?t.pop():t.push(n));let n=`${e?.startsWith(`/`)?`/`:`...
101`);return this.signString(h,{signingDate:n,signingRegion:c,signingService:o,eventStreamCredentials:s})}async signMessage(e,{signingDate:t=/* @__PURE__ */ new Date,signingRegion:n,s...
102 See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
⋯
113`)?{tag:t,value:``}:{tag:t,value:e}}let c={};for(let e of i)e.trim()===``&&e.includes(`
dist/cli/chunk-BU-vs0np.js#virtual:string-array:round1View on unpkg · L1
Code excerpt · 2 lines
1import{t as e}from"./chunk-mjuZTMQB.js";import t from"process";function n(){let e=[{prop:`Function`,target:globalThis,violationType:`function_constructor`,strategy:`throw`,reason:`...
2`);n.register(`data:text/javascript,${encodeURIComponent(e)}`),a.importHooksRegistered=!0}}catch(e){console.debug(`[DefenseInDepthBox] Could not register import() hooks:`,e instanc...
1import{t as e}from"./chunk-uAI_Zi6n.js";import{existsSync as t}from"node:fs";import n from"node:path";import{pathToFileURL as r}from"node:url";import i from"node:process";const a=e...
1import{t as e}from"./chunk-BChOKoxf.js";import{t}from"./chunk-gAdqVxWq.js";import{a as n,i as r,n as i,r as a,t as o}from"./chunk-Cpdoq2Nw.js";import{d as s,h as c,p as l,r as u}fr...
2`)}};D=/* @__PURE__ */ new WeakMap,O=/* @__PURE__ */ new WeakMap,k=/* @__PURE__ */ new WeakMap,Ae=/* @__PURE__ */ new WeakMap,je=/* @__PURE__ */ new WeakMap,ke=/* @__PURE__ */ new ...
1import{i as e,o as t,t as n}from"./chunk-B--rR4-3.js";import{n as r,t as i}from"./chunk-DpWnkQpI.js";import a from"process";import{Buffer as o}from"buffer";import{createWriteStream...
1import{i as e,n as t,r as n,t as r}from"./rolldown-runtime-DBVvNlSN.js";import{t as i}from"./browser-B1SoUj6D.js";import{n as a,r as o}from"./db-BUuJo1Gf.js";import{n as s,t as c}f...
5`);for(let e of t)if(e&&!e.startsWith(`:`)&&e.startsWith(`data: `)){let t=e.slice(6).trim();if(t===`[DONE]`)continue;try{yield JSON.parse(t)}catch{}}}}}finally{n.releaseLock()}}con...
1032`,0;let a=Math.max(...n.map(([e])=>typeof e==`number`?e:0))+1+r;if(a<0)return e.state.expansionStderr=(e.state.expansionStderr||``)+`bash: line ${i}: ${t.array}: bad array subscrip...