MAL-2026-5802 Malicious code in cardano-addresses-docs (npm)
Malicious package
Published
MAL-2026-5802 is a malicious package: cardano-addresses-docs (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-5802/ (Markdown: https://insights.sbomify.com/MAL-2026-5802/index.md)
- 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.