CVE-2017-16076: Hijacked Environment Variables in proxy.js

proxy.js Updated 02 Oct 2025

Summary

29/08/2018
No i
Moderate
Not published

CVE-2017-16076: Hijacked Environment Variables in proxy.js. Affects 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The proxy.js package is a JavaScript library used for proxying requests in Node.js applications. It provides functionality to intercept and modify HTTP requests and responses. The package is commonly used in web development projects to handle proxying and routing of network requests. However, versions of proxy.js prior to 1.0.3 have been found to contain malware that steals environment variables and sends them to attacker-controlled locations.

Vulnerability Detail

The vulnerability in proxy.js allows an attacker to hijack environment variables, which can contain sensitive information such as API keys, database credentials, and other sensitive data. The malware present in the affected versions of the package steals these environment variables and sends them to the attacker's servers. This can lead to unauthorized access to sensitive systems and data, potentially resulting in data breaches, unauthorized transactions, or other malicious activities.

How To Fix

No fixed version is published for this vulnerability.

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

Workaround

There is no specific workaround for this vulnerability. It is recommended to follow the steps mentioned in the 'how_to_fix' section to mitigate the risk.

Conclusion

The proxy.js package prior to version 1.0.3 has been found to contain malware that steals environment variables. If you have this package installed in your environment, it is crucial to take immediate action to remove it, clear your npm cache, and regenerate any exposed credentials. Review and secure any services that may have been exposed via the compromised environment variables. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for proxy.js →

Share this vulnerability

FAQ

The malware in proxy.js hooks into the environment variable retrieval process and intercepts the values before they are accessed by the legitimate application. It then sends these stolen values to the attacker's servers.

An attacker can use hijacked environment variables to gain unauthorized access to systems and services that rely on these variables. This can lead to data breaches, unauthorized transactions, and other malicious activities.

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your package-lock.json file and the Vulert Playground will analyze it for any known vulnerabilities, including this one.

Unfortunately, once the environment variables are stolen and sent to the attacker's servers, it is difficult to recover them. It is recommended to regenerate any sensitive credentials or tokens that may have been exposed.

To prevent such vulnerabilities, it is important to regularly update your dependencies to the latest secure versions. Additionally, always verify the integrity and trustworthiness of the packages you use in your projects.

How To Fix

No fixed version is published for this vulnerability.

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