Skip to content
OpenAdvisories
Malicious MAL-2026-11993

@tuluax/errb

npm package · versions 3.0.1

Reported Aug 4, 2026 · Updated Aug 5, 2026

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

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 <rod@vagg.org>` as author despite publication under the unrelated `@tuluax` scope, and the README is titled `node-errno` and states `Available in npm as errno`.