Malicious Code in httpsearch (npm)

httpsearch Updated 02 Oct 2025

Summary

05/08/2024
CRITICAL
No i
Critical
Not published

MAL-2024-7894: Malicious code in httpsearch (npm). Affects httpsearch versions 1.0.2 – 1.0.3. 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

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 →

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