1Source sends the broad process environment to a literal external destination.
L1: #!/usr/bin/env node
L2: var yO="http://localhost:8787",cs="anyray-placeholder",_e=e=>{let t=e?.trim();return!!(t&&/^ark_[A-Za-z0-9_-]{20,512}$/.test(t))},Ze=e=>{let t=e.trim().replace(/\/+$/,"");return t=...
L3: `;if(a||n.tombstoneAbsent!==!1)try{await Kg(r,s)}catch(i){if(i.code!=="EEXIST")throw i}}let o=`${e}.anyray-tmp-${process.pid}-${Jg()}`;try{await Kg(o,`${JSON.stringify(t,null,2)}
...
L5: `,{mode:384})}catch(a){throw await Zr(e,{recursive:!0,force:!0}).catch(()=>{}),a}return async()=>{try{JSON.parse(await us(t,"utf-8")).nonce===r&&await Zr(e,{recursive:!0,force:!0})...
L6: `,{mode:384}),await rp(r,384);try{await ye(r,n)}catch(o){throw await Zr(r,{force:!0}).catch(()=>{}),o}},ne=async e=>{let t=await aw
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 yO="http://localhost:8787",cs="anyray-placeholder",_e=e=>{let t=e?.trim();return!!(t&&/^ark_[A-Za-z0-9_-]{20,512}$/.test(t))},Ze=e=>{let t=e.trim().replace(/\/+$/,"");return t=...
L3: `;if(a||n.tombstoneAbsent!==!1)try{await Kg(r,s)}catch(i){if(i.code!=="EEXIST")throw i}}let o=`${e}.anyray-tmp-${process.pid}-${Jg()}`;try{await Kg(o,`${JSON.stringify(t,null,2)}
HighChild Process
Package source references child process execution.
dist/index.jsView on unpkg · L1 144`).map(bN).join(" + [Environment]::NewLine + "),AN=(e={})=>{let t={...wN,...e},n=()=>t.platform()==="win32",r=async()=>{let i=(await yl(Et(),En))?.find(c=>c.startsWith("export COPI...
L145: `)):J&&W&&await oi($,{force:!0}),await ml(c,V,En)}catch(Re){try{z!==void 0&&W?await fe($,z):W&&await oi($,{force:!0})}catch{throw new Error("Copilot CLI environment update failed a...
L146: import { spawn } from "node:child_process"
1#!/usr/bin/env node
L2: var yO="http://localhost:8787",cs="anyray-placeholder",_e=e=>{let t=e?.trim();return!!(t&&/^ark_[A-Za-z0-9_-]{20,512}$/.test(t))},Ze=e=>{let t=e.trim().replace(/\/+$/,"");return t=...
L3: `;if(a||n.tombstoneAbsent!==!1)try{await Kg(r,s)}catch(i){if(i.code!=="EEXIST")throw i}}let o=`${e}.anyray-tmp-${process.pid}-${Jg()}`;try{await Kg(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 yO="http://localhost:8787",cs="anyray-placeholder",_e=e=>{let t=e?.trim();return!!(t&&/^ark_[A-Za-z0-9_-]{20,512}$/.test(t))},Ze=e=>{let t=e.trim().replace(/\/+$/,"");return t=...
`),await ye(o,e),await vO(e,384),await xO(e)}finally{await Qt(o,{force:!0}).catch(()=>{})}},zg=1,Vg=3e4,RO=5e3,OO=/^[a-f0-9]{64}$/,qg=e=>`${e}.pending`,TO=e=>`${e}.lock`,Xu=e=>{if(...
`)},mn=(e,t={})=>{let n=e.byoUpstream,r=!n&&X(e,"anthropic"),o=ue({...e.metadata,tool:e.metadata.tool??"claude-code"}),a=t.includeClientKey!==!1&&!((r||n)&&e.viaLocalProxy),s=t.inc...
`)){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 122`),!0):!1};var Ft=e=>{if(e.length<=4)return"\u2026";let t=/^([a-z0-9]{2,6}_)/i.exec(e)?.[1]??"";return e.length>t.length+4?`${t}\u2026${e.slice(-4)}`:`\u2026${e.slice(-4)}`};var Ie...
L123: `)):w&&g&&await nf(d,{force:!0}),await ml(n,f)}catch(b){try{y!==void 0&&g?await fe(d,y):g&&await nf(d,{force:!0})}catch{throw new Error("shell environment update failed and credent...
L124: `)?a.slice(0,-2):a.endsWith(`
...
L129: `);bl("sqlite3",[e],{input:o,encoding:"utf-8",maxBuffer:cf,stdio:["pipe","ignore","pipe"]})}finally{try{eP(n,{recursive:!0,force:!0})}catch{}}},cP={kind:"sqlite3-cli",readItem:(e,t...
L130: `,{mode:384}),await ye(n,t)},vP=(e,t)=>e.generation||t.generation?!!(e.generation&&e.generation===t.generation):e.op===t.op&&e.requestedAt===t.requestedAt&&e.watcherPid===t.watcher...
HighCommand Output Exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/index.jsView on unpkg · L122 122Trigger-reachable command-output exfiltration chain: scripts.start -> dist/index.js
L122: `),!0):!1};var Ft=e=>{if(e.length<=4)return"\u2026";let t=/^([a-z0-9]{2,6}_)/i.exec(e)?.[1]??"";return e.length>t.length+4?`${t}\u2026${e.slice(-4)}`:`\u2026${e.slice(-4)}`};var Ie...
L123: `)):w&&g&&await nf(d,{force:!0}),await ml(n,f)}catch(b){try{y!==void 0&&g?await fe(d,y):g&&await nf(d,{force:!0})}catch{throw new Error("shell environment update failed and credent...
L124: `)?a.slice(0,-2):a.endsWith(`
...
L129: `);bl("sqlite3",[e],{input:o,encoding:"utf-8",maxBuffer:cf,stdio:["pipe","ignore","pipe"]})}finally{try{eP(n,{recursive:!0,force:!0})}catch{}}},cP={kind:"sqlite3-cli",readItem:(e,t...
L130: `,{mode:384}),await ye(n,t)},vP=(e,t)=>e.generation||t.generation?!!(e.generation&&e.generation===t.
HighTrigger Reachable Command Output Exfiltration
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
dist/index.jsView on unpkg · L122 1Trigger-reachable persistence chain: scripts.start -> dist/index.js
L1: #!/usr/bin/env node
L2: var yO="http://localhost:8787",cs="anyray-placeholder",_e=e=>{let t=e?.trim();return!!(t&&/^ark_[A-Za-z0-9_-]{20,512}$/.test(t))},Ze=e=>{let t=e.trim().replace(/\/+$/,"");return t=...
L3: `;if(a||n.tombstoneAbsent!==!1)try{await Kg(r,s)}catch(i){if(i.code!=="EEXIST")throw i}}let o=`${e}.anyray-tmp-${process.pid}-${Jg()}`;try{await Kg(o,`${JSON.stringify(t,null,2)}
...
L5: `,{mode:384})}catch(a){throw await Zr(e,{recursive:!0,force:!0}).catch(()=>{}),a}return async()=>{try{JSON.parse(await us(t,"utf-8")).nonce===r&&await Zr(e,{recursive:!0,force:!0})...
L6: `,{mode:384}),await rp(r,384);try{await ye(r,n)}catch(o){throw await Zr(r,{force:!0}).catch(()=>{}),o}},ne=async e=>{let t=await aw();try{awa
HighTrigger Reachable Persistence
A manifest entrypoint or package-local install chain reaches persistence behavior.
dist/index.jsView on unpkg · L1 1#!/usr/bin/env node
L2: var yO="http://localhost:8787",cs="anyray-placeholder",_e=e=>{let t=e?.trim();return!!(t&&/^ark_[A-Za-z0-9_-]{20,512}$/.test(t))},Ze=e=>{let t=e.trim().replace(/\/+$/,"");return t=...
L3: `;if(a||n.tombstoneAbsent!==!1)try{await Kg(r,s)}catch(i){if(i.code!=="EEXIST")throw i}}let o=`${e}.anyray-tmp-${process.pid}-${Jg()}`;try{await Kg(o,`${JSON.stringify(t,null,2)}
...
L5: `,{mode:384})}catch(a){throw await Zr(e,{recursive:!0,force:!0}).catch(()=>{}),a}return async()=>{try{JSON.parse(await us(t,"utf-8")).nonce===r&&await Zr(e,{recursive:!0,force:!0})...
L6: `,{mode:384}),await rp(r,384);try{await ye(r,n)}catch(o){throw await Zr(r,{force:!0}).catch(()=>{}),o}},ne=async e=>{let t=await aw();try{await sw(e)}finally{await t()}},iw=async e...
L7: `)},mn=(e,t={})=>{let
HighBase64 Obscured Url
Source decodes a Base64-obscured HTTP endpoint at runtime.
dist/index.jsView on unpkg · L1 •stage = ast_semantic_analysis; reason = ast_alias_growth_limit_exceeded; limitedFiles = 1
HighSemantic Analysis Limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/index.jsView on unpkg 1#!/usr/bin/env node
L2: var yO="http://localhost:8787",cs="anyray-placeholder",_e=e=>{let t=e?.trim();return!!(t&&/^ark_[A-Za-z0-9_-]{20,512}$/.test(t))},Ze=e=>{let t=e.trim().replace(/\/+$/,"");return t=...
L3: `;if(a||n.tombstoneAbsent!==!1)try{await Kg(r,s)}catch(i){if(i.code!=="EEXIST")throw i}}let o=`${e}.anyray-tmp-${process.pid}-${Jg()}`;try{await Kg(o,`${JSON.stringify(t,null,2)}
...
L5: `,{mode:384})}catch(a){throw await Zr(e,{recursive:!0,force:!0}).catch(()=>{}),a}return async()=>{try{JSON.parse(await us(t,"utf-8")).nonce===r&&await Zr(e,{recursive:!0,force:!0})...
L6: `,{mode:384}),await rp(r,384);try{await ye(r,n)}catch(o){throw await Zr(r,{force:!0}).catch(()=>{}),o}},ne=async e=>{let t=await aw();try{await sw(e)}finally{await t()}},iw=async e...
L7: `)},mn=(e,t={})=>{let
MediumInstall Persistence
Source writes installer persistence such as shell profile or service configuration.
dist/index.jsView on unpkg · L1