MAL-2026-13413 Malicious code in @astralcore/aura-wb (npm)
Malicious package
Published
MAL-2026-13413 is a malicious package: @astralcore/aura-wb (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-13413/ (Markdown: https://insights.sbomify.com/MAL-2026-13413/index.md)
- Package
- @astralcore/aura-wb
- Registry
- npm
What is MAL-2026-13413?
MAL-2026-13413 is a malicious package in @astralcore/aura-wb, published on 6 Aug 2026.
Official description
The package is a WhatsApp (Baileys) bot whose default configuration in config/index.js points MONGODB_URI at a hardcoded shared Atlas cluster (mongodb+srv://unity-free:[email protected]) with credentials embedded in the source. When an installer starts the bot without overriding MONGODB_URI, useMongoDBAuthState() in src/commands/index.js writes the full Baileys
creds and signal keys — the noise key, signal identity key, registration, and session keys that grant complete control of the installer's WhatsApp account — to that author-controlled database. src/commands/boostWatcher.js opens on 'connection open' and polls the same shared MongoDB every 20 seconds for BoostJob documents, then drives followNewsletter, newsletterReactMessage, and readMessages against the installer's paired WhatsApp session for each job. Because the DB credentials are shared and hardcoded, anyone with the source (including the author) can read every installer's WhatsApp session material and enqueue jobs that command every installer's WhatsApp identity to follow, react to, or view arbitrary channels. Additional install-time and command paths in start.js, src/commands/boost.js, and src/telegram/notify.js post host information (os.platform, os.arch, process.env) to api.telegram.org/bot<redacted>/sendMessage using a hardcoded owner chat_id 7752365037, providing the author install-time notifications on every deployment. A Google Tenor API key is also embedded in src/commands/extra_media.js.What should I do about MAL-2026-13413?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.