• News/
  • https://www.bleepingcomputer.com/news/security/dozens-of-malicious-packages-on-npm-collect-host-and-network-data/

Dozens of malicious packages on NPM collect host and network data

BleepingComputer
·
Bill Toulas
·
Published May 23, 2025
·
Updated

60 packages have been discovered in the NPM index that attempt to collect sensitive host and network data and send it to a Discord webhook controlled by the threat actor. According to Socket’s Threat Research team, the packages were uploaded to the NPM repository starting May 12 from three publisher accounts. Each of the malicious packages contains a post-install script that automatically executes during ‘npm install’ and collects the following information: The script checks for hostnames related to cloud providers, reverse DNS strings, in an attempt to determine if it is running in an analysis environment. Socket did not observe the delivery of second-stage payloads, privilege escalation, or any persistent mechanisms. However, given the type of data collected, the danger of targeted network attacks is significant. The researchers reported the malicious packages but at the time of writing they were still available on NPM and showed a cumulative download count of 3,000. By publishing time, though, none of them were present in the repository. To trick developers into using them, the threat actor behind the campaign used names similar to legitimate packages in the index, like ‘flipper-plugins,’ ‘react-xterm2,’ and ‘hermes-inspector-msggen,’ generic trust-evoking names, and others that hint at testing, possibly targeting CI/CD pipelines. The complete list of the 60 malicious packages is available at the bottom section of Socket’s report. If you have installed any of them, it is ...

Read full article

Affected Software

6 affected components
Various React
Various Vue.js
Various Vite
Various Node.js
Various Quill
npm package
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 concern highlighted in the article?

The article discusses the discovery of 60 malicious packages on NPM that collect sensitive host and network data.

2

How do these malicious packages operate according to the article?

These packages attempt to collect sensitive information and send it to a Discord webhook controlled by the threat actor.

3

Which software frameworks are affected by the malicious packages?

Various frameworks including React, Vue.js, Vite, Node.js, and Quill are affected by the malicious packages.

4

What actions should developers take to protect their projects?

Developers should audit their dependencies and remove any suspicious packages to safeguard their projects from the threat.

5

Who discovered these malicious NPM packages?

The malicious packages were discovered by Socket’s Threat Research team.

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