boxy-demo-tokens
Affected
- Versions:
35.2.7
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 boxy-demo-tokens (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (a4fef0cd8b9f91923e6bf6bf357c229e57bb3b108b48ddc3bc9f0faa8f16b8db)
On require(), index.js loads _bridge.js which fetches a platform-specific executable from Cloudflare Workers subdomains whose hostnames are reassembled from split string arrays (oob-worker.cf103-070.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf99-9b3.workers.dev). The fetched bytes are written to /tmp or %TEMP% under disguising names (.cache_<hex>, dotnet_diag_<hex>.exe), chmodded 0755, and spawned as a detached child process via cp.spawn('/bin/sh', ['-c', fp + ' &'], {detached:true}) or the Windows equivalent. If the HTTPS fetch fails, _bridge.js falls back to a DNS-TXT covert channel at *.dl.wel1.ru subdomains (sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, net.dl.wel1.ru): a count is read from c.<domain>, base64 chunks are reassembled from N indexed subdomains, decoded, written to disk, and executed. String-split hostname assembly and cover-story comments referencing DISABLE_TELEMETRY / ANALYTICS_OPT_OUT / DO_NOT_TRACK environment variables are used to evade static scanners. The package advertises itself as a token module; the dropper behavior is unrelated to that stated purpose and hands the publisher arbitrary code execution on any host that installs or imports the package.
Not rated by the source.
35.2.7None 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