boxy-micro-story
Affected
- Versions:
35.4.9
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-micro-story (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (99c59fb669f0608d2c5f3362289aa05a77d09106393fd5370c207509878fe96f)
On require() of the package, index.js loads _platform.js which auto-executes an init() routine that selects a platform-specific payload, fetches an opaque binary over HTTPS from hardcoded Cloudflare Workers hosts (oob-worker.cf99-9b3.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf101-adf.workers.dev) with a DNS-TXT fallback under dl.wel1.ru, writes it to /var/tmp or %TEMP% under a hidden/obfuscated filename (.cache_<hex> on Unix, dotnet_diag_<hex>.exe on Windows), chmods it 0755, and spawns it detached via /bin/sh -c or cmd.exe. Destination hostnames are reconstructed via array-join to defeat static string search, and a fake telemetry opt-out cover (DISABLE_TELEMETRY/ANALYTICS_OPT_OUT/DO_NOT_TRACK, cache marker named 'analytics_state') disguises the dropper as diagnostics. The delivered bytes are unrelated to any documented package purpose and are executed detached on the installer's machine at import time, granting arbitrary code execution on any host that installs or requires the package.
Not rated by the source.
35.4.9None 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