1Source sends the broad process environment to a literal external destination.
L1: #!/usr/bin/env node
L2: var y4=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 Ky=(e,t)=>{for(var n in t)y4(e,n,{get:t[n],enumerable:!0})}...
L3: `,{flag:"wx",mode:384}),await Xe(f,a)}catch(p){throw await oc(f,{force:!0}).catch(()=>{}),await oc(e,{recursive:!0,force:!0}).catch(()=>{}),p}return async()=>{try{JSON.parse(await ...
L4: `,{mode:384}),await aL(a,384),await Xe(a,n)}catch(s){throw await WC(a).catch(()=>{}),s}},pt=async(e,t={})=>{if(zy.getStore()===!0){await VC(e,t);return}let n=await XC();try{await V...
L5: `;if(a||n.tombstoneAbsent!==!1)try{await yL(r,s)}catch(i){if(i.code!=="EEXIST")throw i}}let o=`${e}.anyray-tmp-${process.pid}-${vL
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 54`);return o.length>0?o+`
L55: `:""},ap=e=>{if(e.trim().length===0)return!0;try{return xQ(e),!0}catch{return!1}}});import{randomUUID as $Q}from"node:crypto";import{chmod as FQ,mkdir as HQ,rm as UQ,writeFile as G...
L56: `)?a.slice(0,-2):a.endsWith(`
HighChild Process
Package source references child process execution.
dist/index.jsView on unpkg · L54 130}
L131: `,E$=e=>new Promise((t,n)=>{let r=tre("powershell.exe",["-NoLogo","-NoProfile","-NonInteractive","-Command",ire],{encoding:"utf8",env:Ot(),windowsHide:!0,timeout:6e4,maxBuffer:1310...
L132: `))}`]:[],`export ${eI}=${ct(n)}`]},H$=(e,t,n)=>{let r=Ve({...e.metadata,tool:xc});return["export COPILOT_PROVIDER_TYPE='openai'",`export COPILOT_PROVIDER_BASE_URL=${ct(e.openaiBas...
54`);return o.length>0?o+`
L55: `:""},ap=e=>{if(e.trim().length===0)return!0;try{return xQ(e),!0}catch{return!1}}});import{randomUUID as $Q}from"node:crypto";import{chmod as FQ,mkdir as HQ,rm as UQ,writeFile as G...
L56: `)?a.slice(0,-2):a.endsWith(`
...
L60: `).trim().split(/\r?\n/).at(-1),o=/^([01])\|(-?\d+)\|(-?\d+)$/.exec(r??"");tD(o?.slice(1).map(Number))},qQ=(e,t)=>{let n=VQ(eD(YQ(),"anyray-cursor-"));try{let o=[".bail on",".timeo...
L61: `);kg("sqlite3",[e],{input:o,encoding:"utf-8",maxBuffer:AS,stdio:["pipe","ignore","pipe"]})}finally{try{jQ(n,{recursive:!0,force:!0})}catch{}}},QQ={kind:"sqlite3-cli",readItem:(e,t...
L62: `)},Ng=e=>!e.byoUpstream&&!_e(e,"anthropic"),Lg="",aa=(e,t={})=>{let n=e.byoUpstream,r=!n&&_e(e,"anthropic"),o=Ve({...e.metadata,tool:e.metadata.tool??"claude-
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 · L54 •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 y4=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 Ky=(e,t)=>{for(var n in t)y4(e,n,{get:t[n],enumerable:!0})}...
`,{flag:"wx",mode:384}),await Xe(f,a)}catch(p){throw await oc(f,{force:!0}).catch(()=>{}),await oc(e,{recursive:!0,force:!0}).catch(()=>{}),p}return async()=>{try{JSON.parse(await ...
`,{mode:384}),await aL(a,384),await Xe(a,n)}catch(s){throw await WC(a).catch(()=>{}),s}},pt=async(e,t={})=>{if(zy.getStore()===!0){await VC(e,t);return}let n=await XC();try{await V...
`,r),s=a<0?e.length:a;if(e.slice(o,s).trim()===t)return o;r=e.indexOf(t,r+t.
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 54`);return o.length>0?o+`
L55: `:""},ap=e=>{if(e.trim().length===0)return!0;try{return xQ(e),!0}catch{return!1}}});import{randomUUID as $Q}from"node:crypto";import{chmod as FQ,mkdir as HQ,rm as UQ,writeFile as G...
L56: `)?a.slice(0,-2):a.endsWith(`
...
L60: `).trim().split(/\r?\n/).at(-1),o=/^([01])\|(-?\d+)\|(-?\d+)$/.exec(r??"");tD(o?.slice(1).map(Number))},qQ=(e,t)=>{let n=VQ(eD(YQ(),"anyray-cursor-"));try{let o=[".bail on",".timeo...
L61: `);kg("sqlite3",[e],{input:o,encoding:"utf-8",maxBuffer:AS,stdio:["pipe","ignore","pipe"]})}finally{try{jQ(n,{recursive:!0,force:!0})}catch{}}},QQ={kind:"sqlite3-cli",readItem:(e,t...
L62: `)},Ng=e=>!e.byoUpstream&&!_e(e,"anthropic"),Lg="",aa=(e,t={})=>{let n=e.byoUpstream,r=!n&&_e(e,"anthropic"),o=Ve({...e.metadata,tool:e.metadata.tool??"claude-
HighCommand Output Exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/index.jsView on unpkg · L54 54Trigger-reachable command-output exfiltration chain: scripts.start -> dist/index.js
L54: `);return o.length>0?o+`
L55: `:""},ap=e=>{if(e.trim().length===0)return!0;try{return xQ(e),!0}catch{return!1}}});import{randomUUID as $Q}from"node:crypto";import{chmod as FQ,mkdir as HQ,rm as UQ,writeFile as G...
L56: `)?a.slice(0,-2):a.endsWith(`
...
L60: `).trim().split(/\r?\n/).at(-1),o=/^([01])\|(-?\d+)\|(-?\d+)$/.exec(r??"");tD(o?.slice(1).map(Number))},qQ=(e,t)=>{let n=VQ(eD(YQ(),"anyray-cursor-"));try{let o=[".bail on",".timeo...
L61: `);kg("sqlite3",[e],{input:o,encoding:"utf-8",maxBuffer:AS,stdio:["pipe","ignore","pipe"]})}finally{try{jQ(n,{recursive:!0,force:!0})}catch{}}},QQ={kind:"sqlite3-cli",readItem:(e,t...
L62: `)},Ng=e=>!e.byoUpstream&&!_e(e,"anthropic"),Lg="",aa=(e,t={})=>{let n=e.by
HighTrigger Reachable Command Output Exfiltration
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
dist/index.jsView on unpkg · L54