1Source sends the broad process environment to a literal external destination.
L1: #!/usr/bin/env node
L2: var $de=Object.defineProperty;var F=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(r){throw n=[r],r}};var zh=(e,t)=>{for(var n in t)$de(e,n,{get:t[n],enumerable:!0}...
L3: `,{flag:"wx",mode:384}),await at(f,a)}catch(p){throw await dd(f,{force:!0}).catch(()=>{}),await dd(e,{recursive:!0,force:!0}).catch(()=>{}),p}return async()=>{try{JSON.parse(await ...
...
L45: `);return o.length>0?o+`
L46: `:""},_f=e=>{if(e.trim().length===0)return!0;try{return lA(e),!0}catch{return!1}},wG=(e,t)=>{lA(e);let n=e.split(/(?<=\n)/),r=Oi(n.map(i=>i.replace(/\r?\n$/,""))),o=[],a=0,s;for(le...
L47: `)?a.slice(0,-2):a.endsWith(`
...
L51: `).trim().split(/\r?\n/).at(-1),o=/^([01])\|(-?\d+)\|(-
CriticalHardcoded Runtime Data Exfiltration
Source sends credentials or rich application records to a package-controlled external receiver enabled by default.
dist/index.jsView on unpkg · L1 •matchType = previous_version_dangerous_delta
matchedPackage = anyray-connect@0.11.436
matchedIdentity = npm:YW55cmF5LWNvbm5lY3Q:0.11.436
similarity = 0.667
summary = stored previous version shares package body but lacks this dangerous source file
CriticalPrevious Version Dangerous Delta
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/index.jsView on unpkg 45`);return o.length>0?o+`
L46: `:""},_f=e=>{if(e.trim().length===0)return!0;try{return lA(e),!0}catch{return!1}},wG=(e,t)=>{lA(e);let n=e.split(/(?<=\n)/),r=Oi(n.map(i=>i.replace(/\r?\n$/,""))),o=[],a=0,s;for(le...
L47: `)?a.slice(0,-2):a.endsWith(`
HighChild Process
Package source references child process execution.
dist/index.jsView on unpkg · L45 55`:a.trim()&&e(a),t=t.slice(o+1),o=t.indexOf(`
L56: `)}},stdout:()=>n+t}},_pe=async e=>{let t=await Df();if(!t)throw new Error("missing-claude");let n=process.platform==="win32"&&/\.cmd$/i.test(t),r=n?process.env.ComSpec??"cmd.exe":...
L57: `))}catch(a){return{status:(a instanceof Error?a.message:"")==="missing-claude"?"missing-claude":"mint-failed"}}let r;for(let a of n.split(/\r?\n/)){let s=iW.exec(a);s&&sW.test(s[0...
68`);if(t[0]?.trimEnd()!=="---")return!1;let n=t.findIndex((o,a)=>a>0&&o.trimEnd()==="---");if(n<0)return!1;let r=t.slice(1,n).join(`
L69: `);try{let o=XW(r,{uniqueKeys:!1,logLevel:"error"});return Te(o)&&Object.keys(o).some(a=>/^hooks$/i.test(a))}catch{return/^hooks\s*:/im.test(r)}},mme=200,YW=async e=>{try{return(aw...
L70: `,`
...
L72: `);if(n[0].trimEnd()!=="---")return!1;let r=n.findIndex((a,s)=>s>0&&a.trimEnd()==="---");if(r<0)return!1;let o;try{o=vme(n.slice(1,r).join(`
L73: `),{uniqueKeys:!1})}catch{return!1}return no(o)&&QW(o.name)&&QW(o.description)},sj=(e,t)=>[...new Set(e)].filter(n=>!t.has(n)).sort(),Ime=async e=>{let t=await Df();if(!t)return!1;...
L74: `,ZI=8,Oj=256,Tj=e=>Array.from(e).length>Oj,Qme=(e,t)=>e.some(({entry:n})=>Tj(t[n-1]))||["file_too_large","source_too_lar
HighSame File Env Network Execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/index.jsView on unpkg · L68 •Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
dist/index.js:
var $de=Object.defineProperty;var F=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(r){throw n=[r],r}};var zh=(e,t)=>{for(var n in t)$de(e,n,{get:t[n],enumerable:!0}...
`,{flag:"wx",mode:384}),await at(f,a)}catch(p){throw await dd(f,{force:!0}).catch(()=>{}),await dd(e,{recursive:!0,force:!0}).catch(()=>{}),p}return async()=>{try{JSON.parse(await ...
`,{mode:384}),await IH(a,384),await at(a,n)}catch(s){throw await _R(a).catch(()=>{}),s}},Vt=async(e,t={})=>{if(jk.getStore()===!0){await ER(e,t);return}let n=await TR();try{await E...
`)},eA=e=>!e.byoUpstream&&!Fe(e,"anthropic"),tA="",hs=(e,t={})=>{let n=e.byo
HighCredential Redirect Persistence
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/index.jsView on unpkg 68`);if(t[0]?.trimEnd()!=="---")return!1;let n=t.findIndex((o,a)=>a>0&&o.trimEnd()==="---");if(n<0)return!1;let r=t.slice(1,n).join(`
L69: `);try{let o=XW(r,{uniqueKeys:!1,logLevel:"error"});return Te(o)&&Object.keys(o).some(a=>/^hooks$/i.test(a))}catch{return/^hooks\s*:/im.test(r)}},mme=200,YW=async e=>{try{return(aw...
L70: `,`
...
L74: `,ZI=8,Oj=256,Tj=e=>Array.from(e).length>Oj,Qme=(e,t)=>e.some(({entry:n})=>Tj(t[n-1]))||["file_too_large","source_too_large"].some(n=>e.filter(r=>r.code===n).length>ZI),ehe=(e,t,n)...
L75: `,m=(S,C)=>{let E=(()=>{try{return f.read(C,i?Ny:ev)}catch(I){return Pj(I,i,S+1)}})();return Nj(E,S+1)},h=(S,C)=>{let{content:E,byteLength:I}=m(S,C);if(!i)return{body:E,bodyBytes:I...
L76: `);M.at(-1)===""&&M.pop(),G>M.length&&On("range_outside_file",S+1);let B=M.sli
HighCommand Output Exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/index.jsView on unpkg · L68 68Trigger-reachable command-output exfiltration chain: scripts.start -> dist/index.js
L68: `);if(t[0]?.trimEnd()!=="---")return!1;let n=t.findIndex((o,a)=>a>0&&o.trimEnd()==="---");if(n<0)return!1;let r=t.slice(1,n).join(`
L69: `);try{let o=XW(r,{uniqueKeys:!1,logLevel:"error"});return Te(o)&&Object.keys(o).some(a=>/^hooks$/i.test(a))}catch{return/^hooks\s*:/im.test(r)}},mme=200,YW=async e=>{try{return(aw...
L70: `,`
...
L74: `,ZI=8,Oj=256,Tj=e=>Array.from(e).length>Oj,Qme=(e,t)=>e.some(({entry:n})=>Tj(t[n-1]))||["file_too_large","source_too_large"].some(n=>e.filter(r=>r.code===n).length>ZI),ehe=(e,t,n)...
L75: `,m=(S,C)=>{let E=(()=>{try{return f.read(C,i?Ny:ev)}catch(I){return Pj(I,i,S+1)}})();return Nj(E,S+1)},h=(S,C)=>{let{content:E,byteLength:I}=m(S,C);if(!i)return{body:E,bodyBytes:I...
HighTrigger Reachable Command Output Exfiltration
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
dist/index.jsView on unpkg · L68