Malicious Code in httpsearch (npm)
Summary
MAL-2024-7894: Malicious code in httpsearch (npm). Affects httpsearch versions 1.0.2 – 1.0.3. 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 'httpsearch' package is an npm package that provides functionality for searching HTTP requests. It is commonly used in web development projects to analyze and debug network traffic. However, the package has been identified as malicious by the OpenSSF Package Analysis project.
Vulnerability Detail
The 'httpsearch' package has been flagged as malicious due to the following reasons:
- The package communicates with a domain associated with malicious activity.
- The package executes one or more commands associated with malicious behavior.
This malicious code poses a significant security risk to any project that includes the 'httpsearch' package. It can potentially compromise the confidentiality, integrity, and availability of the system.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall httpsearch
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
There is no known workaround for this vulnerability. Removing the 'httpsearch' package is the only recommended solution.
Conclusion
The 'httpsearch' package has been flagged as malicious due to its communication with a domain associated with malicious activity and execution of commands linked to malicious behavior. To ensure the security of your project, it is crucial to remove the 'httpsearch' package and find a trusted alternative. Regularly reviewing and updating project dependencies is also recommended.
See every vulnerability recorded for httpsearch →
FAQ
This vulnerability can lead to unauthorized access, data breaches, and potential compromise of the entire system.
You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it in real-time.
Specific exploits targeting this vulnerability have not been disclosed at this time. However, it is crucial to address the issue promptly to mitigate any potential risks.
No, it is not recommended to use any version of the 'httpsearch' package as it has been identified as malicious. Upgrading to a trusted alternative is strongly advised.
You can search for alternative packages on npm's official website (https://www.npmjs.com/) and consider packages with a large user base, active maintenance, and positive community feedback.