Critical Malicious Activity Detected in nio4r Package - MAL-2025-6738

nio4r Updated 02 Oct 2025

Summary

28/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6738: Malicious code in nio4r (npm). Affects nio4r versions >= 2.0.0. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The nio4r package is a Node.js library that provides an interface for asynchronous I/O operations. It is commonly used in applications that require non-blocking I/O, allowing developers to handle multiple connections efficiently. However, this package has been identified to communicate with a domain associated with malicious activity, raising significant security concerns.

Vulnerability Detail

The vulnerability stems from the nio4r package's ability to connect to a malicious domain, which can lead to unauthorized data access, data exfiltration, or other malicious actions. This issue was introduced in version 2.0.0 of the package. The ramifications of this vulnerability can be severe, potentially compromising the integrity and confidentiality of applications that rely on nio4r for I/O operations.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall nio4r

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary measure, you can restrict network access for the application using nio4r to prevent it from communicating with the malicious domain. This can be done by configuring firewall rules or using network security groups to block outbound connections.

Conclusion

The nio4r package has a critical vulnerability that allows communication with a malicious domain, posing significant risks to applications using it. Immediate action is required to update the package and mitigate potential threats. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.

See every vulnerability recorded for nio4r →

Share this vulnerability

FAQ

The nio4r package is used in Node.js applications to handle asynchronous I/O operations efficiently.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.

The risks include unauthorized access to sensitive data, data exfiltration, and the potential for malicious actions within your application.

Yes, updating the nio4r package to the latest version will address the vulnerability.

Consider implementing network restrictions to block access to the malicious domain as a temporary workaround.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall nio4r

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback