@shared-web/assets
Affected
- Versions:
9.9.10
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 @shared-web/assets (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (e8fd9342e97dc9f655a994fe1091125f717cbfa7b89aa6a2333662ad23ad6771)
The package runs an install lifecycle script (node index.js) and also executes ./lib/core.js on require. That code collects os.userInfo().username, os.hostname(), and process.cwd() and issues a DNS resolve4 for a label chain of the form <pkg>.<user>.<host>.<cwd>.<ts>.oob.algamil7x.xyz, exfiltrating installer identity and working-directory information over DNS to an attacker-controlled domain. The destination host and the os/dns/process module names are obfuscated in lib/c5df9a.js and lib/b4ce8f.js using char-code byte arrays (String.fromCharCode) and loaded via module.constructor._load instead of plain require, concealing both the APIs and the C2 destination. The obfuscation and DNS-label-encoded channel are inconsistent with the package's presentation as a shared web assets helper.
Not rated by the source.
9.9.10None 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