net-util-y8
Affected
- Versions:
1.1788432509.0
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 net-util-y8 (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (d1e81ce327647324756e0ea15d1016d45cd5bb092dd0099418ba2db59eca98a7)
The package has no real functionality: index.js contains only an empty comment and package.json declares no exports or lifecycle scripts. The description field in package.json is a ~56KB base64 blob that decodes to a ~42KB POSIX shell script implementing an XMRig Monero miner dropper. The decoded script preflights curl/wget/openssl and perl (installing them via the system package manager with root privileges if missing), fetches XMRig binaries from gitlab.com/albertotrindade131/al and a ghfast.top proxy in front of github.com/lucas77335/xmrig-amd releases, points the miner at the pool xmr.kryptex.network:8029 with a hardcoded Monero wallet address (883kAB7Ufo...gBCFH), and includes routines to kill competing miners and mask its process name. The script also references a sibling package net-util-x7 and a registry-latest lookup at registry.npmjs.org/cbc97b7a/latest, indicating this is a staging component of a multi-package cryptomining campaign. Encoding an executable payload inside the manifest description field is a smuggling technique to keep the payload off code-scanning paths while still shipping it in the published tarball.
Not rated by the source.
1.1788432509.0None 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