CVE-2017-16062: Hijacked Environment Variables in node-tkinter

node-tkinter Updated 02 Oct 2025

Summary

01/11/2018
Yes i
High
7.5

CVE-2017-16062: node-tkinter is malware. Affects node-tkinter versions < 1.0.3. Fixed in 1.0.3. 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 node-tkinter package is a JavaScript library used for creating graphical user interfaces (GUIs) in Node.js applications. It provides a bridge between Node.js and the Tkinter library, allowing developers to build desktop applications with a familiar Tkinter API. However, all versions of the node-tkinter package have been found to contain malware that steals environment variables and sends them to attacker-controlled locations.

Vulnerability Detail

The vulnerability in the node-tkinter package allows an attacker to hijack environment variables and exfiltrate them to their own servers. This can lead to the compromise of sensitive information such as API keys, database credentials, and other sensitive data stored in environment variables. The malware is designed to run silently in the background, making it difficult to detect. It is crucial to identify how the package was installed in the environment to prevent further security breaches.

How To Fix

Minimum fixed version

1.0.3

This is the first release that contains the fix.

npm install node-tkinter@1.0.3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround for this vulnerability. It is essential to follow the recommended steps to fix the issue and mitigate any potential damage caused by the malware.

Conclusion

The node-tkinter package 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 by deleting the package, clearing your npm cache, and regenerating any sensitive credentials. Additionally, review any services that may have been accessed using the compromised environment variables. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for node-tkinter →

Share this vulnerability

FAQ

You can check if the node-tkinter package is installed by running the command npm ls node-tkinter in your project directory or by inspecting your package.json file.

If you find the node-tkinter package installed, you should immediately delete the package, clear your npm cache, and regenerate any sensitive credentials that may have been exposed.

To prevent the installation of the node-tkinter package, regularly update your package.json file and review the dependencies of your project. Additionally, consider using package-lock.json to lock down the versions of your dependencies.

As of now, all versions of the node-tkinter package have been unpublished from the npm registry. However, it is crucial to stay vigilant and regularly monitor the security of your dependencies to prevent similar incidents in the future.

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

How To Fix

Minimum fixed version

1.0.3

This is the first release that contains the fix.

npm install node-tkinter@1.0.3

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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