• News/
  • https://www.bleepingcomputer.com/news/security/fake-whatsapp-developer-libraries-hide-destructive-data-wiping-code/

Fake WhatsApp developer libraries hide destructive data-wiping code

BleepingComputer
·
Bill Toulas
·
Published Aug 7, 2025
·
Updated

Two malicious NPM packages posing as WhatsApp development tools have been discovered deploying destructive data-wiping code that recursively deletes files on a developer's computers. Two malicious NPM packages currently available in the registry target WhatsApp developers with destructive data-wiping code. The packages, discovered by researchers at Socket, masquerade as WhatsApp socket libraries and were downloaded over 1,100 times since their publication last month. Despite Socket having filed takedown requests and flagging the publisher, nayflore, both remain available at the time of writing. The names of the two malicious packages are naya-flore and nvlore-hsc, though the same publisher has submitted more on NPM, like nouku-search, very-nay, naya-clone, node-smsk, and @veryflore/disc. Although these additional five packages are not currently malicious, extreme caution is advised, as an update pushed at any time could inject dangerous code. All these packages mimic legitimate WhatsApp developer libraries used for building bots and automation tools around the WhatsApp Business API. Socket notes that these libraries have recently experienced a significant surge in demand, as more businesses utilize WhatsApp's Cloud API for customer communication. Both naya-flore and nvlore-hs contain a function called 'requestPairingCode,' that is supposed to handle WhatsApp pairing, but which retrieves a base64 JSON file from a GitHub address. The JSON file contains a list of Indonesian pho...

Read full article

Affected Software

7 affected components
npm naya-flore
npm nvlore-hsc
npm nouku-search
npm very-nay
npm naya-clone
npm node-smsk
npm @veryflore/disc
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the main topic of this article?

The article discusses the discovery of fake WhatsApp developer libraries that contain destructive code for wiping data.

2

What security implications are discussed in the article?

The implications include potential data loss and compromised systems for developers using the malicious NPM packages.

3

What products or software are affected by this security issue?

The affected products include NPM packages such as naya-flore, nvlore-hsc, and nouku-search.

4

How does the malicious code function in these developer libraries?

The malicious code recursively deletes files from the computers of developers who install the fake libraries.

5

What steps should developers take to protect themselves from this threat?

Developers should be cautious when installing packages, verify the source of NPM packages, and regularly backup their work to prevent data loss.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203