1Source sends the broad process environment to a literal external destination.
L1: #!/usr/bin/env node
L2: var aO="http://localhost:8787",rs="anyray-placeholder",Ae=e=>{let t=e?.trim();return!!(t&&/^ark_[A-Za-z0-9_-]{20,512}$/.test(t))},Kt=e=>{let t=e.trim().replace(/\/+$/,"");return t=...
L3: `;if(a||n.tombstoneAbsent!==!1)try{await Wg(r,s)}catch(i){if(i.code!=="EEXIST")throw i}}let o=`${e}.anyray-tmp-${process.pid}-${Kg()}`;try{await Wg(o,`${JSON.stringify(t,null,2)}
...
L5: `,{mode:384})}catch(s){throw await Wo(t,{recursive:!0,force:!0}).catch(()=>{}),s}return async()=>{try{JSON.parse(await as(n,"utf-8")).nonce===o&&await Wo(t,{recursive:!0,force:!0})...
L6: `,{mode:384}),await Zu(r,384);try{await ye(r,n)}catch(o){throw await Wo(r,{force:!0}).catch(()=>{}),o}},ce=async e=>{if(rc.getStore
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 1#!/usr/bin/env node
L2: var aO="http://localhost:8787",rs="anyray-placeholder",Ae=e=>{let t=e?.trim();return!!(t&&/^ark_[A-Za-z0-9_-]{20,512}$/.test(t))},Kt=e=>{let t=e.trim().replace(/\/+$/,"");return t=...
L3: `;if(a||n.tombstoneAbsent!==!1)try{await Wg(r,s)}catch(i){if(i.code!=="EEXIST")throw i}}let o=`${e}.anyray-tmp-${process.pid}-${Kg()}`;try{await Wg(o,`${JSON.stringify(t,null,2)}
HighChild Process
Package source references child process execution.
dist/index.jsView on unpkg · L1 96`).map(kN).join(" + [Environment]::NewLine + "),SN=(e={})=>{let t={...CN,...e},n=()=>t.platform()==="win32",r=async()=>{let i=(await Kc(wt(),bn))?.find(c=>c.startsWith("export COPI...
L97: `)):G&&z&&await Gs(W,{force:!0}),await Vc(c,Q,bn)}catch(re){try{ne!==void 0&&z?await we(W,ne):z&&await Gs(W,{force:!0})}catch{throw new Error("Copilot CLI environment update failed...
L98: import { spawn } from "node:child_process"
1#!/usr/bin/env node
L2: var aO="http://localhost:8787",rs="anyray-placeholder",Ae=e=>{let t=e?.trim();return!!(t&&/^ark_[A-Za-z0-9_-]{20,512}$/.test(t))},Kt=e=>{let t=e.trim().replace(/\/+$/,"");return t=...
L3: `;if(a||n.tombstoneAbsent!==!1)try{await Wg(r,s)}catch(i){if(i.code!=="EEXIST")throw i}}let o=`${e}.anyray-tmp-${process.pid}-${Kg()}`;try{await Wg(o,`${JSON.stringify(t,null,2)}
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 · L1 •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 aO="http://localhost:8787",rs="anyray-placeholder",Ae=e=>{let t=e?.trim();return!!(t&&/^ark_[A-Za-z0-9_-]{20,512}$/.test(t))},Kt=e=>{let t=e.trim().replace(/\/+$/,"");return t=...
`),await ye(o,e),await hO(e,384),await bO(e)}finally{await Zt(o,{force:!0}).catch(()=>{})}},Zg=1,Ug=3e4,AO=5e3,CO=/^[a-f0-9]{64}$/,Yg=e=>`${e}.pending`,kO=e=>`${e}.lock`,Fu=e=>{if(...
`)},sn=(e,t={})=>{let n=e.byoUpstream,r=!n&&te(e,"anthropic"),o=me({...e.metadata,tool:e.metadata.tool??"claude-code"}),a=t.includeClientKey!==!1,s=t.includeAuthToken!==!1,{context...
`)){let u=d.indexOf(":");if(u>0&&d.slice(0,u).trim().toLowerCase()===l)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 42WantedBy=timers.target
L43: `,KT=(e=Tc())=>[e.command,...e.args].map(t=>/\s/.test(t)?`"${t}"`:t).join(" "),ms=e=>["Auto-refresh scheduling is not wired for this OS. To keep your gateway","key from expiring mi...
L44: ${t.stderr??""}`}},t_=async e=>{try{return(await JT(e)).isDirectory()}catch{return!1}},n_=e=>{if(/^Signature=adhoc$/m.test(e))return;let n=/^TeamIdentifier=(.+)$/m.exec(e)?.[1]?.tr...
L45: `).some(r=>{let o=r.trim();if(!o.startsWith(n))return!1;let a=o.slice(n.length).trimStart();return a===""||a.startsWith("#")})},Np=(e,t)=>Qw(Mc(e),t),$p=e=>{let t=e.indexOf(qr);if(...
HighCommand Output Exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/index.jsView on unpkg · L42 42Trigger-reachable command-output exfiltration chain: scripts.start -> dist/index.js
L42: WantedBy=timers.target
L43: `,KT=(e=Tc())=>[e.command,...e.args].map(t=>/\s/.test(t)?`"${t}"`:t).join(" "),ms=e=>["Auto-refresh scheduling is not wired for this OS. To keep your gateway","key from expiring mi...
L44: ${t.stderr??""}`}},t_=async e=>{try{return(await JT(e)).isDirectory()}catch{return!1}},n_=e=>{if(/^Signature=adhoc$/m.test(e))return;let n=/^TeamIdentifier=(.+)$/m.exec(e)?.[1]?.tr...
L45: `).some(r=>{let o=r.trim();if(!o.startsWith(n))return!1;let a=o.slice(n.length).trimStart();return a===""||a.startsWith("#")})},Np=(e,t)=>Qw(Mc(e),t),$p=e=>{let t=e.indexOf(qr);if(...
HighTrigger Reachable Command Output Exfiltration
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
dist/index.jsView on unpkg · L42 1#!/usr/bin/env node
L2: var aO="http://localhost:8787",rs="anyray-placeholder",Ae=e=>{let t=e?.trim();return!!(t&&/^ark_[A-Za-z0-9_-]{20,512}$/.test(t))},Kt=e=>{let t=e.trim().replace(/\/+$/,"");return t=...
L3: `;if(a||n.tombstoneAbsent!==!1)try{await Wg(r,s)}catch(i){if(i.code!=="EEXIST")throw i}}let o=`${e}.anyray-tmp-${process.pid}-${Kg()}`;try{await Wg(o,`${JSON.stringify(t,null,2)}
...
L5: `,{mode:384})}catch(s){throw await Wo(t,{recursive:!0,force:!0}).catch(()=>{}),s}return async()=>{try{JSON.parse(await as(n,"utf-8")).nonce===o&&await Wo(t,{recursive:!0,force:!0})...
L6: `,{mode:384}),await Zu(r,384);try{await ye(r,n)}catch(o){throw await Wo(r,{force:!0}).catch(()=>{}),o}},ce=async e=>{if(rc.getStore()===!0){await Ku(e);return}let t=await Xu();try{...
L7: `)},sn=(e,t={})=>{let
HighBase64 Obscured Url
Source decodes a Base64-obscured HTTP endpoint at runtime.
dist/index.jsView on unpkg · L1