Skip to main content

Malicious code in diezyyasha-baileys (npm)

0
Critical
Published: 08/06/2026 (08/06/2026, 14:23:02 UTC)
Source: GCVE Database
Product: diezyyasha-baileys

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (1a8260f399be3238031864bd71945720155775a2de8e952a25225337257fd745) diezyyasha-baileys is a fork of the Baileys WhatsApp library that contains an obfuscated network destination in lib/Socket/messages-send.js. At lines 425 and 436 the code constructs a URL via String.fromCharCode(104,116,116,112,115,58,47,47,102,105,111,114,97,46,110,105,120,101,108,46,109,121,46,105,100,47) which decodes to https://fiora.nixel.my.id/ — a hardcoded third-party host reconstructed from a char-code array rather than a plain string. This destination is embedded inside the message-sending code path of a WhatsApp session library, where the caller has already provided authenticated session credentials and where message content, contacts, and session identifiers are handled. The obfuscated-destination pattern (char-code reconstruction) inside a wallet/messaging-session code path is the exfiltration fingerprint: a first-party integration would use a plain, configurable URL, not a fromCharCode-reconstructed hardcoded host in a fork of an upstream library. ## Source: ghsa-malware (d60ca6b8b819cd26dec799a772e0dfcac120666bffee2f4d686291b2d4e5a3dc) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Affected software

npmghsa
diezyyasha-baileys
Affected versions
=9.0.0=8.6.59=8.6.58=8.6.62=9.1.3=8.6.61=9.1.5=9.2.0=8.6.57

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

AILast updated: 08/07/2026, 07:43:52 UTC

Technical Analysis

The diezyyasha-baileys package includes obfuscated code that constructs a hardcoded URL (https://fiora.nixel.my.id/) using character code reconstruction in its message sending module. This URL is embedded in the code path that handles authenticated WhatsApp session credentials and message data, indicating a deliberate attempt to exfiltrate sensitive information. The obfuscation technique and the use of a third-party host in a forked library strongly suggest malicious intent. The package compromises any system it is installed on, with a high risk that secrets and keys stored on the system are exposed to an external attacker.

Potential Impact

Any system with this package installed or running is considered fully compromised. Attackers may have obtained full control over the system and access to all secrets and keys stored on it. Removal of the package alone does not guarantee elimination of all malicious components or backdoors introduced by the package. Immediate secret and key rotation from a different, uncompromised system is necessary.

Mitigation Recommendations

Remove the diezyyasha-baileys package immediately from all affected systems. Rotate all secrets, keys, and credentials that were stored or used on the compromised systems from a secure, unaffected environment. Because the package may have granted attackers full control, conduct a thorough system investigation and consider rebuilding affected systems to ensure complete remediation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-13443
Osv Schema Version
1.7.4
Aliases
["GHSA-78fc-2672-hcjg"]
Ecosystems
["npm"]

Threat ID: 6a7573b5bf8831d539d93a99

Added to database: 08/07/2026, 05:57:09 UTC

Last enriched: 08/07/2026, 07:43:52 UTC

Last updated: 09/21/2026, 23:08:02 UTC

Views: 28

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses