1Source sends the broad process environment to a literal external destination.
L1: #!/usr/bin/env node
L2: var v3=Object.defineProperty;var G=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(r){throw n=[r],r}};var Xh=(e,t)=>{for(var n in t)v3(e,n,{get:t[n],enumerable:!0})}...
L3: `,{flag:"wx",mode:384}),await Le(l,a)}catch(d){throw await Ni(l,{force:!0}).catch(()=>{}),await Ni(e,{recursive:!0,force:!0}).catch(()=>{}),d}return async()=>{try{JSON.parse(await ...
L4: `,{mode:384}),await kC(a,384);try{await Le(a,n)}catch(s){throw await Ni(a,{force:!0}).catch(()=>{}),s}},Ze=async e=>{if(ey.getStore()===!0){await wC(e);return}let t=await vC();try{...
L5: `;if(a||n.tombstoneAbsent!==!1)try{await KT(r,s)}catch(i){if(i.code!=="EEXIST")throw i}}let o=`${e}.anyray-tmp-${process.pid}-${JT
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: `:""},_f=e=>{if(e.trim().length===0)return!0;try{return Tz(e),!0}catch{return!1}}});import{randomUUID as Gz}from"node:crypto";import{chmod as Uz,mkdir as Wz,rm as Kz,writeFile as V...
L56: `)?a.slice(0,-2):a.endsWith(`
HighChild Process
Package source references child process execution.
dist/index.jsView on unpkg · L54 130}
L131: `,KD=e=>new Promise((t,n)=>{let r=JQ("powershell.exe",["-NoLogo","-NoProfile","-NonInteractive","-Command",n8],{encoding:"utf8",env:rt(),windowsHide:!0,timeout:6e4,maxBuffer:131072...
L132: `))}`]:[],`export ${ES}=${Ke(n)}`]},aM=(e,t,n)=>{let r=Ie({...e.metadata,tool:sc});return["export COPILOT_PROVIDER_TYPE='openai'",`export COPILOT_PROVIDER_BASE_URL=${Ke(e.openaiBas...
54`);return o.length>0?o+`
L55: `:""},_f=e=>{if(e.trim().length===0)return!0;try{return Tz(e),!0}catch{return!1}}});import{randomUUID as Gz}from"node:crypto";import{chmod as Uz,mkdir as Wz,rm as Kz,writeFile as V...
L56: `)?a.slice(0,-2):a.endsWith(`
...
L60: `).trim().split(/\r?\n/).at(-1),o=/^([01])\|(-?\d+)\|(-?\d+)$/.exec(r??"");_P(o?.slice(1).map(Number))},t9=(e,t)=>{let n=Zz(IP(zz(),"anyray-cursor-"));try{let o=[".bail on",".timeo...
L61: `);ky("sqlite3",[e],{input:o,encoding:"utf-8",maxBuffer:YC,stdio:["pipe","ignore","pipe"]})}finally{try{Yz(n,{recursive:!0,force:!0})}catch{}}},n9={kind:"sqlite3-cli",readItem:(e,t...
L62: `)},Py=e=>!e.byoUpstream&&!he(e,"anthropic"),Ly="",Lo=(e,t={})=>{let n=e.byoUpstream,r=!n&&he(e,"anthropic"),o=Ie({...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 v3=Object.defineProperty;var G=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(r){throw n=[r],r}};var Xh=(e,t)=>{for(var n in t)v3(e,n,{get:t[n],enumerable:!0})}...
`,{mode:384}),await kC(a,384);try{await Le(a,n)}catch(s){throw await Ni(a,{force:!0}).catch(()=>{}),s}},Ze=async e=>{if(ey.getStore()===!0){await wC(e);return}let t=await vC();try{...
`,r),s=a<0?e.length:a;if(e.slice(o,s).trim()===t)return o;r=e.indexOf(t,r+t.length)}return-1}});import{readFile as q3,writeFile as aP,access as Q3}from"node:fs/promises";import{rea...
`:""},_f=e=>{if(e.trim().length===0)return!0;try{return Tz(e),!0}catch{retur
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: `:""},_f=e=>{if(e.trim().length===0)return!0;try{return Tz(e),!0}catch{return!1}}});import{randomUUID as Gz}from"node:crypto";import{chmod as Uz,mkdir as Wz,rm as Kz,writeFile as V...
L56: `)?a.slice(0,-2):a.endsWith(`
...
L60: `).trim().split(/\r?\n/).at(-1),o=/^([01])\|(-?\d+)\|(-?\d+)$/.exec(r??"");_P(o?.slice(1).map(Number))},t9=(e,t)=>{let n=Zz(IP(zz(),"anyray-cursor-"));try{let o=[".bail on",".timeo...
L61: `);ky("sqlite3",[e],{input:o,encoding:"utf-8",maxBuffer:YC,stdio:["pipe","ignore","pipe"]})}finally{try{Yz(n,{recursive:!0,force:!0})}catch{}}},n9={kind:"sqlite3-cli",readItem:(e,t...
L62: `)},Py=e=>!e.byoUpstream&&!he(e,"anthropic"),Ly="",Lo=(e,t={})=>{let n=e.byoUpstream,r=!n&&he(e,"anthropic"),o=Ie({...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: `:""},_f=e=>{if(e.trim().length===0)return!0;try{return Tz(e),!0}catch{return!1}}});import{randomUUID as Gz}from"node:crypto";import{chmod as Uz,mkdir as Wz,rm as Kz,writeFile as V...
L56: `)?a.slice(0,-2):a.endsWith(`
...
L60: `).trim().split(/\r?\n/).at(-1),o=/^([01])\|(-?\d+)\|(-?\d+)$/.exec(r??"");_P(o?.slice(1).map(Number))},t9=(e,t)=>{let n=Zz(IP(zz(),"anyray-cursor-"));try{let o=[".bail on",".timeo...
L61: `);ky("sqlite3",[e],{input:o,encoding:"utf-8",maxBuffer:YC,stdio:["pipe","ignore","pipe"]})}finally{try{Yz(n,{recursive:!0,force:!0})}catch{}}},n9={kind:"sqlite3-cli",readItem:(e,t...
L62: `)},Py=e=>!e.byoUpstream&&!he(e,"anthropic"),Ly="",Lo=(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