CVE-2017-16078: Hijacked Environment Variables in shadowsock

shadowsock Updated 02 Oct 2025

Summary

27/08/2018
No i
Moderate
Not published

CVE-2017-16078: Shadowsock is malware. Affected versions are not published. 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 shadowsock package is a popular npm package used for secure communication over the internet. It provides a proxy server that allows users to bypass firewalls and access restricted websites. The package is widely used in various applications and systems.

Vulnerability Detail

The shadowsock 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 compromise of sensitive information and credentials. 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.

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

Conclusion

The shadowsock package has been found to contain malware that steals environment variables. If you have this package installed, it is crucial to remove it immediately and take steps to secure your environment. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for shadowsock →

Share this vulnerability

FAQ

You can check if the shadowsock package is installed by running the command npm list shadowsock in your terminal or command prompt. If the package is installed, it will be listed in the output.

If you find the shadowsock package installed, it is recommended to follow the steps mentioned in the 'How to Fix' section of this report to remove the package and mitigate the security risk.

Yes, the hijacked environment variables can contain sensitive information such as credentials, tokens, and registry credentials. It is crucial to take immediate action to remove the shadowsock package and regenerate any exposed credentials.

To secure services that may have been exposed, review the configuration of these services and ensure that sensitive credentials are not stored in environment variables. Consider using secure storage mechanisms and access controls to protect sensitive information.

While it is challenging to completely prevent the installation of malicious packages, you can minimize the risk by following best practices such as regularly updating your packages, reviewing package dependencies, and using reputable sources for package installation.

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