Malicious Code Injection in efficient_asp_0xrequest Package
Summary
MAL-2025-101893: Malicious code in efficient_asp_0xrequest (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 efficient_asp_0xrequest package is part of the npm ecosystem, typically used for handling HTTP requests in JavaScript applications. It is often utilized in web development to streamline communication between clients and servers. However, this package has been identified as part of a malicious campaign that exploits npm's publishing capabilities, leading to significant security risks.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the efficient_asp_0xrequest package. This payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which are then continuously republished to the npm registry. This behavior not only pollutes the npm ecosystem but also compromises the integrity of applications relying on this package, potentially leading to unauthorized access or data breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall efficient_asp_0xrequest
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 efficient_asp_0xrequest package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider locking your dependencies to known safe versions in your package-lock.json file.
Conclusion
The efficient_asp_0xrequest package poses a significant security risk due to its malicious code that alters package configurations and republishing behavior. It is crucial to remove this package from your projects and monitor your dependencies for vulnerabilities to maintain application security.
See every vulnerability recorded for efficient_asp_0xrequest →
FAQ
It is an npm package used for handling HTTP requests in JavaScript applications.
The malicious code can modify your package.json, remove private flags, and republish variants, leading to potential security breaches.
You should uninstall the package immediately and check for alternative solutions or patches.
You can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.