Malicious Code Injection in edunway Package: npm Vulnerability Overview
Summary
MAL-2025-171133: Malicious code in edunway (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 edunway package is part of the npm ecosystem, primarily used for various JavaScript applications. It is designed to facilitate certain functionalities within the npm framework. However, it has been identified as part of a malicious campaign that exploits the npm registry, leading to significant security concerns for developers using this package.
Vulnerability Detail
The vulnerability stems from the edunway package being associated with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts that automatically modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only inflates developer reputation scores for token rewards but also pollutes the npm registry, potentially leading to further security risks and instability in the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall edunway
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, you can avoid using the edunway package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly monitor your package-lock.json file for any vulnerabilities using tools like Vulert.
Conclusion
The edunway package poses a significant security risk due to its association with a malicious campaign that alters package metadata and floods the npm registry. It is essential for developers to remove this package and monitor their projects for vulnerabilities to ensure the integrity and security of their applications.
See every vulnerability recorded for edunway →
FAQ
The edunway package is an npm package used in JavaScript applications, but it has been compromised and is part of a malicious campaign.
The vulnerability can lead to unauthorized modifications in your package.json file, potentially compromising your application's integrity and security.
You should uninstall the edunway package immediately and monitor your project for any unusual behavior.
Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software by analyzing your package-lock.json file.
Regularly update your dependencies, monitor your packages for vulnerabilities, and consider using tools like Vulert for real-time alerts.