twilio-hackerone-poc-b8f21a
Affected
- Versions:
1.0.0,1.0.1
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in twilio-hackerone-poc-b8f21a (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (09b67e9bd1be2e2e13aae83616afffcbfdc3fb888b304dc7210be0ee39832aac)
On npm install, postinstall.js automatically executes and performs host reconnaissance and exfiltration to a hardcoded ephemeral Cloudflare Quick Tunnel at https://encryption-watch-tubes-finger.trycloudflare.com/poc-v101-escape. The script runs id, whoami, and uname; enumerates /, $HOME, and /tmp; reads /proc/self/cgroup and /proc/mounts; probes the AWS instance-metadata service at 169.254.169.254 and the ECS task-metadata agent at 127.0.0.1:51678 and reports reachability; enumerates other AC[0-9a-f]{32} Twilio account SID directories present in /tmp (excluding one hardcoded SID) to enumerate co-tenants on shared build workers; and collects Object.keys(process.env). All of the above is POSTed as JSON to the trycloudflare.com tunnel. The tunnel host is anonymous, ephemeral, and unrelated to any legitimate publisher; the package name and self-labeling as a 'HackerOne PoC' do not change the observed installer-side data-exfiltration behavior.
Not rated by the source.
1.0.0, 1.0.1None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0