CVE-2017-16075: Hijacked Environment Variables in http-proxy.js

http-proxy.js Updated 02 Oct 2025

Summary

29/08/2018
No i
High
7.5

CVE-2017-16075: http-proxy.js is malware. Affects http-proxy.js versions < 1.0.2. 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 http-proxy.js package is an npm package that provides functionality for creating HTTP proxies. It allows users to easily set up a proxy server to forward HTTP requests to other servers. The package is widely used in various applications and environments.

Vulnerability Detail

The http-proxy.js package was found to contain malware that steals environment variables and sends them to attacker-controlled locations. This vulnerability poses a significant security risk as it can lead to the exposure of sensitive information such as credentials and tokens. All versions of the package have been unpublished from the npm registry to prevent further distribution.

How To Fix

No fixed version is published for this vulnerability.

If you find the http-proxy.js package installed in your environment, it is crucial to determine how it got there. To remediate the vulnerability, follow these steps:

  1. Delete the package from your system.
  2. Clear your npm cache to ensure no traces of the package remain.
  3. Check all package.json files on your system to ensure the package is not present in any other dependencies.
  4. Regenerate any sensitive credentials, tokens, or registry credentials that may have been exposed.
  5. Review any services that may have been exposed via credentials in your environment variables, such as databases, for indicators of compromise.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Conclusion

The http-proxy.js package has been found to contain malware that steals environment variables. If you have this package installed in your environment, it is essential to follow the recommended steps to remove it and mitigate the potential security risks. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for http-proxy.js →

Share this vulnerability

FAQ

You can check if the http-proxy.js package is installed by running the command npm ls http-proxy.js in your terminal. If the package is listed, it is installed in your environment.

If you find the http-proxy.js package installed, it is crucial to take immediate action. Follow the recommended steps provided in the 'how_to_fix' section of this report to remediate the vulnerability.

Yes, this vulnerability can be exploited remotely if an attacker manages to install the malicious version of the http-proxy.js package in a target environment.

The best mitigation is to ensure that the http-proxy.js package is not installed in your environment. Regularly check for any unauthorized or suspicious packages and follow secure development practices to minimize the risk of such vulnerabilities.

There is no specific evidence of this vulnerability being actively exploited. However, it is crucial to take immediate action if you find the http-proxy.js package installed in your environment to prevent any potential compromise.

How To Fix

No fixed version is published for this vulnerability.

If you find the http-proxy.js package installed in your environment, it is crucial to determine how it got there. To remediate the vulnerability, follow these steps:

  1. Delete the package from your system.
  2. Clear your npm cache to ensure no traces of the package remain.
  3. Check all package.json files on your system to ensure the package is not present in any other dependencies.
  4. Regenerate any sensitive credentials, tokens, or registry credentials that may have been exposed.
  5. Review any services that may have been exposed via credentials in your environment variables, such as databases, for indicators of compromise.

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.