1Source sends the broad process environment to a literal external destination.
L1: #!/usr/bin/env node
L2: var Ade=Object.defineProperty;var B=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(r){throw n=[r],r}};var Vh=(e,t)=>{for(var n in t)Ade(e,n,{get:t[n],enumerable:!0}...
L3: `,{flag:"wx",mode:384}),await st(f,a)}catch(p){throw await ad(f,{force:!0}).catch(()=>{}),await ad(e,{recursive:!0,force:!0}).catch(()=>{}),p}return async()=>{try{JSON.parse(await ...
...
L45: `);return o.length>0?o+`
L46: `:""},vf=e=>{if(e.trim().length===0)return!0;try{return sA(e),!0}catch{return!1}},rG=(e,t)=>{sA(e);let n=e.split(/(?<=\n)/),r=Ei(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: `:""},vf=e=>{if(e.trim().length===0)return!0;try{return sA(e),!0}catch{return!1}},rG=(e,t)=>{sA(e);let n=e.split(/(?<=\n)/),r=Ei(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}},lpe=async e=>{let t=await Pf();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=VG.exec(a);s&&KG.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=NW(r,{uniqueKeys:!1,logLevel:"error"});return Te(o)&&Object.keys(o).some(a=>/^hooks$/i.test(a))}catch{return/^hooks\s*:/im.test(r)}},qpe=200,LW=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=sme(n.slice(1,r).join(`
L73: `),{uniqueKeys:!1})}catch{return!1}return Qr(o)&&BW(o.name)&&BW(o.description)},KW=(e,t)=>[...new Set(e)].filter(n=>!t.has(n)).sort(),pme=async e=>{let t=await Pf();if(!t)return!1;...
L74: `,BI=8,hj=256,yj=e=>Array.from(e).length>hj,$me=(e,t)=>e.some(({entry:n})=>yj(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 Ade=Object.defineProperty;var B=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(r){throw n=[r],r}};var Vh=(e,t)=>{for(var n in t)Ade(e,n,{get:t[n],enumerable:!0}...
`,{flag:"wx",mode:384}),await st(f,a)}catch(p){throw await ad(f,{force:!0}).catch(()=>{}),await ad(e,{recursive:!0,force:!0}).catch(()=>{}),p}return async()=>{try{JSON.parse(await ...
`,{mode:384}),await mH(a,384),await st(a,n)}catch(s){throw await yR(a).catch(()=>{}),s}},jt=async(e,t={})=>{if(Hk.getStore()===!0){await gR(e,t);return}let n=await vR();try{await g...
`)},zk=e=>!e.byoUpstream&&!Fe(e,"anthropic"),qk="",fs=(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=NW(r,{uniqueKeys:!1,logLevel:"error"});return Te(o)&&Object.keys(o).some(a=>/^hooks$/i.test(a))}catch{return/^hooks\s*:/im.test(r)}},qpe=200,LW=async e=>{try{return(aw...
L70: `,`
...
L74: `,BI=8,hj=256,yj=e=>Array.from(e).length>hj,$me=(e,t)=>e.some(({entry:n})=>yj(t[n-1]))||["file_too_large","source_too_large"].some(n=>e.filter(r=>r.code===n).length>BI),Bme=(e,t,n)...
L75: `,m=(S,C)=>{let E=(()=>{try{return f.read(C,i?Iy:zA)}catch(R){return gj(R,i,S+1)}})();return bj(E,S+1)},h=(S,C)=>{let{content:E,byteLength:R}=m(S,C);if(!i)return{body:E,bodyBytes:R...
L76: `);N.at(-1)===""&&N.pop(),H>N.length&&In("range_outside_file",S+1);let $=N.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=NW(r,{uniqueKeys:!1,logLevel:"error"});return Te(o)&&Object.keys(o).some(a=>/^hooks$/i.test(a))}catch{return/^hooks\s*:/im.test(r)}},qpe=200,LW=async e=>{try{return(aw...
L70: `,`
...
L74: `,BI=8,hj=256,yj=e=>Array.from(e).length>hj,$me=(e,t)=>e.some(({entry:n})=>yj(t[n-1]))||["file_too_large","source_too_large"].some(n=>e.filter(r=>r.code===n).length>BI),Bme=(e,t,n)...
L75: `,m=(S,C)=>{let E=(()=>{try{return f.read(C,i?Iy:zA)}catch(R){return gj(R,i,S+1)}})();return bj(E,S+1)},h=(S,C)=>{let{content:E,byteLength:R}=m(S,C);if(!i)return{body:E,bodyBytes:R...
HighTrigger Reachable Command Output Exfiltration
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
dist/index.jsView on unpkg · L68