MAL-2026-5802 Malicious code in cardano-addresses-docs (npm)

Malicious package Published
Package
cardano-addresses-docs
Registry
npm

What is MAL-2026-5802?

MAL-2026-5802 is a malicious package in cardano-addresses-docs, published on 15 Jun 2026.

Official description

package.json declares a preinstall hook (node index.js) that runs automatically on npm install. index.js collects host identifiers (os.hostname(), os.userInfo(), homedir, DNS servers, __dirname, full package.json) and reads /etc/passwd and /etc/hosts from the installer's machine, then HTTPS-POSTs the JSON payload to swsusmhg43tobo96re8dwn0vomudi46t.oastify.com — a Burp Collaborator out-of-band domain. The package has empty author, empty description, no real functionality, and a name impersonating the legitimate cardano-addresses Cardano library — consistent with a dependency-confusion / typosquat reconnaissance payload.

What should I do about MAL-2026-5802?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2026-5802 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free