Malicious code in @astralcore/aura-wb (npm)
The npm package @astralcore/aura-wb is a WhatsApp bot that contains malicious code which exfiltrates sensitive WhatsApp session credentials to a hardcoded, author-controlled MongoDB Atlas cluster. The package writes full WhatsApp credentials and signal keys to this shared database, allowing the author or anyone with access to the database to fully control the installer's WhatsApp account. Additionally, the package polls the shared database to receive commands that can manipulate the installer's WhatsApp session to follow, react to, or read arbitrary channels. The package also sends host environment information to a hardcoded Telegram chat ID, providing the author with deployment notifications. A Google Tenor API key is embedded as well. The affected versions are 1.0.0, 1.0.1, and 1.0.4. No patch or remediation information is provided.
AI Analysis
Technical Summary
The @astralcore/aura-wb npm package contains embedded malicious functionality that compromises the security and privacy of users' WhatsApp accounts. Its default configuration uses a hardcoded MongoDB URI with embedded credentials pointing to a shared Atlas cluster controlled by the package author. When the bot is started without overriding this URI, it writes the full Baileys WhatsApp credentials and signal keys (including noise key, identity key, registration, and session keys) to the shared database, effectively exposing complete control over the WhatsApp account to the author or any party with database access. The package also continuously polls the database for commands that can manipulate the WhatsApp session to perform actions such as following, reacting to, or reading messages from arbitrary channels. Furthermore, it sends host system information to a Telegram bot owned by the author, enabling real-time monitoring of deployments. The presence of a Google Tenor API key is noted but its impact is unclear. The affected versions explicitly identified are 1.0.0, 1.0.1, and 1.0.4. There is no indication of an official patch or fix.
Potential Impact
This malicious package compromises user privacy and security by exfiltrating sensitive WhatsApp session credentials and keys to an author-controlled database, enabling full account takeover. It allows the attacker to remotely control the victim's WhatsApp account to perform arbitrary actions such as following channels, reacting to messages, and reading messages without user consent. The package also leaks host environment information to the attacker, potentially aiding further targeted attacks or surveillance. The shared database credentials mean all users of the package are exposed to the same risk. There is no evidence of active exploitation in the wild, but the potential for abuse is significant.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately discontinue use of the @astralcore/aura-wb package versions 1.0.0, 1.0.1, and 1.0.4 due to embedded malicious code. Avoid installing or running this package, and if already installed, remove it and revoke any WhatsApp sessions potentially compromised. Monitor for unauthorized WhatsApp activity and consider resetting WhatsApp credentials. Since the package uses hardcoded credentials to a shared database, overriding the MONGODB_URI configuration to a private, secure database would prevent credential exfiltration, but this does not mitigate the presence of other malicious code. No vendor advisory or patch is available; check for updates from trusted sources before considering reuse.
Malicious code in @astralcore/aura-wb (npm)
Description
The npm package @astralcore/aura-wb is a WhatsApp bot that contains malicious code which exfiltrates sensitive WhatsApp session credentials to a hardcoded, author-controlled MongoDB Atlas cluster. The package writes full WhatsApp credentials and signal keys to this shared database, allowing the author or anyone with access to the database to fully control the installer's WhatsApp account. Additionally, the package polls the shared database to receive commands that can manipulate the installer's WhatsApp session to follow, react to, or read arbitrary channels. The package also sends host environment information to a hardcoded Telegram chat ID, providing the author with deployment notifications. A Google Tenor API key is embedded as well. The affected versions are 1.0.0, 1.0.1, and 1.0.4. No patch or remediation information is provided.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The @astralcore/aura-wb npm package contains embedded malicious functionality that compromises the security and privacy of users' WhatsApp accounts. Its default configuration uses a hardcoded MongoDB URI with embedded credentials pointing to a shared Atlas cluster controlled by the package author. When the bot is started without overriding this URI, it writes the full Baileys WhatsApp credentials and signal keys (including noise key, identity key, registration, and session keys) to the shared database, effectively exposing complete control over the WhatsApp account to the author or any party with database access. The package also continuously polls the database for commands that can manipulate the WhatsApp session to perform actions such as following, reacting to, or reading messages from arbitrary channels. Furthermore, it sends host system information to a Telegram bot owned by the author, enabling real-time monitoring of deployments. The presence of a Google Tenor API key is noted but its impact is unclear. The affected versions explicitly identified are 1.0.0, 1.0.1, and 1.0.4. There is no indication of an official patch or fix.
Potential Impact
This malicious package compromises user privacy and security by exfiltrating sensitive WhatsApp session credentials and keys to an author-controlled database, enabling full account takeover. It allows the attacker to remotely control the victim's WhatsApp account to perform arbitrary actions such as following channels, reacting to messages, and reading messages without user consent. The package also leaks host environment information to the attacker, potentially aiding further targeted attacks or surveillance. The shared database credentials mean all users of the package are exposed to the same risk. There is no evidence of active exploitation in the wild, but the potential for abuse is significant.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately discontinue use of the @astralcore/aura-wb package versions 1.0.0, 1.0.1, and 1.0.4 due to embedded malicious code. Avoid installing or running this package, and if already installed, remove it and revoke any WhatsApp sessions potentially compromised. Monitor for unauthorized WhatsApp activity and consider resetting WhatsApp credentials. Since the package uses hardcoded credentials to a shared database, overriding the MONGODB_URI configuration to a private, secure database would prevent credential exfiltration, but this does not mitigate the presence of other malicious code. No vendor advisory or patch is available; check for updates from trusted sources before considering reuse.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13413
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a74cf8cbf8831d5391ae755
Added to database: 08/06/2026, 18:16:44 UTC
Last enriched: 08/06/2026, 18:34:33 UTC
Last updated: 08/07/2026, 02:09:45 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.