@tuluax/errb
Affected
- Versions:
3.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 @tuluax/errb (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (561541f6fdbe9bd25716c6fb8a3326df9cbe7a78e7c972d89e36a1c9afc7a186)
package.json scripts.install runs node -e "require('child_process').spawn('node', ['index.js'], { detached: true, stdio: 'ignore' }).unref()", causing npm install to spawn index.js as a detached background process. index.js reconstructs a network destination at runtime by AES-256-CBC-decrypting a hardcoded hex ciphertext with a hardcoded key and IV via createDecipheriv, then fetches the resulting URL and passes the response body to eval(). The endpoint controller therefore executes arbitrary JavaScript on the installer's machine at install time. The destination is hidden via cryptographic reconstruction rather than appearing as a plain string, defeating static URL scanning. The package impersonates the widely-used errno package by Rod Vagg: the tarball name is @tuluax/errb, package.json lists Rod Vagg @rvagg <[email protected]> as author despite publication under the unrelated @tuluax scope, and the README is titled node-errno and states Available in npm as errno.
Not rated by the source.
3.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