Malicious Code Detected in @schedaero/net-common: Data Exfiltration and Process Termination Risk
Summary
MAL-2026-1229: Malicious code in @schedaero/net-common (npm). Affected versions are not published. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The @schedaero/net-common package is a Node.js library used for various network-related functionalities. It is designed to facilitate communication and data exchange in applications. However, recent findings have revealed that this package contains a malicious preinstall script that poses significant security risks, including data exfiltration and process termination.
Vulnerability Detail
The vulnerability originates from a malicious preinstall script embedded within the @schedaero/net-common package. This script is designed to exfiltrate sensitive data by capturing the User-Agent string and sending it to a suspicious URL. Additionally, the script can terminate processes, potentially disrupting application functionality. The ramifications of this vulnerability include unauthorized data access and application instability, making it critical for users to address this issue promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @schedaero/net-common
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 workaround, users can remove the @schedaero/net-common package from their project until a secure version is released. This can be accomplished by executing the following command: npm uninstall @schedaero/net-common.
Conclusion
The @schedaero/net-common package has been identified as containing malicious code that poses serious security risks, including data exfiltration and process termination. It is crucial for users to update or remove the package to safeguard their applications. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for @schedaero/net-common →
FAQ
The malicious code includes a preinstall script that exfiltrates data and can terminate processes.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.
As a temporary measure, consider uninstalling the package until a secure version is available.
Yes, the vulnerability can lead to unauthorized data access, which may result in data loss or exposure.
Detailed information can be found in the vulnerability report on GitHub or through security advisories related to the package.