MAL-2026-6239 Malicious code in atlasora-config (npm)
Malicious package
Published
MAL-2026-6239 is a malicious package: atlasora-config (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-6239/ (Markdown: https://insights.sbomify.com/MAL-2026-6239/index.md)
- Package
- atlasora-config
- Registry
- npm
What is MAL-2026-6239?
MAL-2026-6239 is a malicious package in atlasora-config, published on 20 Jun 2026.
Official description
The package declares a postinstall hook in package.json ("postinstall": "node install.js") that auto-executes install.js on every npm install. install.js imports https, fs, os, and child_process; collects host identity via os.hostname() and os.userInfo() (line 16, 18); reads filesystem state with fs.existsSync (lines 53, 62, 83); shells out via execSync (line 77); and POSTs the collected data over an https.request to a remote endpoint (lines 96, 104, 113). The combination of host/user identity collection, filesystem probing, command execution, and outbound HTTPS POST inside a postinstall script is the canonical install-time exfiltration shape. Installing the package causes the installer's machine identity and environment data to be transmitted to a remote endpoint without consent.
What should I do about MAL-2026-6239?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.