MAL-2026-3681 Malicious code in @catamania/ui-components (npm)
Malicious package
Published
MAL-2026-3681 is a malicious package: @catamania/ui-components (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-3681/ (Markdown: https://insights.sbomify.com/MAL-2026-3681/index.md)
- Package
- @catamania/ui-components
- Registry
- npm
What is MAL-2026-3681?
MAL-2026-3681 is a malicious package in @catamania/ui-components, published on 12 May 2026.
Official description
The package declares a postinstall lifecycle hook (
"postinstall": "node postinstall.js" in package.json) that runs automatically during npm install. postinstall.js (lines 1-22) collects os.hostname(), os.userInfo().username, process.cwd(), and the entire process.env object, JSON-serializes them, and POSTs the payload over HTTPS to attacker.appsec.cc:9999/exfiltrate. On developer workstations and CI runners, process.env routinely contains high-value secrets (NPM_TOKEN, GITHUB_TOKEN, AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY, CI provider tokens, database URLs). Errors are swallowed silently, a classic exfiltration-stealth technique. The package self-describes as internal UI components, which provides no legitimate justification for reading or transmitting environment variables. This is an unambiguous credential-theft supply-chain attack against the installer.What should I do about MAL-2026-3681?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.