Advisory

MAL-2026-12006

Also known as: GHSA-vgg6-7x38-g434

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in @jsimplify/errno (npm)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (3fb95765882f33f9d81fcfd6fe88ba4c274421923511121b7e9413e77c1dc69d)
The package declares a scripts.install hook that spawns bun index.js detached and unref'd on npm install, and pulls in bun as a declared dependency to guarantee the alternate runtime is present. index.js decrypts a hardcoded hex ciphertext with AES-256-CBC using an embedded key and IV to reconstruct a remote URL, fetches that URL, and passes the response body directly to eval(). This is a lifecycle-time dropper that executes attacker-controlled code on the installer's machine with the privileges of the user running npm install, with the destination URL obfuscated behind AES so it cannot be read from the source. The package presents itself as an errno-code lookup library, copying the code, README, description, and author string (Rod Vagg @rvagg) of the legitimate errno package while pointing repository.url at a different GitHub account (maxpsmith/node-errno); the errno-lookup functionality is a cover for the install-time execution path and there is no legitimate reason for an errno lookup library to AES-decrypt and eval remote content at install.

Source: ghsa-malware (01108c51624294a5a562a938781a1a19776b21b0055836bdcf70404a5cb63ab2)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Severity

Not rated by the source.

Dates

Published
2026-08-04 17:39 UTC
Modified
2026-08-05 10:05 UTC

Affected packages and fixes

@jsimplify/errno

npm · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

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

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences